GNU bug report logs - #70473
[PATCH] tests: fix stdin tests

Previous Next

Package: diffutils;

Reported by: Tanmay <tanmaynpatil105 <at> gmail.com>

Date: Fri, 19 Apr 2024 12:11:02 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Tanmay <tanmaynpatil105 <at> gmail.com>
Cc: 70473 <at> debbugs.gnu.org
Subject: bug#70473: [bug-diffutils] bug#70473: [PATCH] tests: fix stdin tests
Date: Fri, 19 Apr 2024 11:28:54 -0700
On 4/19/24 11:17, Tanmay wrote:
> I've grown more curious about how this feature is implemented to handle 
> stdin.

Oh, that's one big advantage of free software: you can read the source 
code, and change it if it doesn't meet your needs. GNU diff implements 
this feature by using openat. See:

https://git.savannah.gnu.org/cgit/diffutils.git/tree/src/diff.c#n1541




This bug report was last modified 1 year and 34 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.