rpms/coreutils/devel coreutils-tee.patch,NONE,1.1
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Wed Apr 26 11:23:00 UTC 2006
Author: twaugh
Update of /cvs/dist/rpms/coreutils/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv31529
Added Files:
coreutils-tee.patch
Log Message:
Add the patch.
coreutils-tee.patch:
tee.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
--- NEW FILE coreutils-tee.patch ---
--- coreutils-5.94/src/tee.c.tee 2006-04-26 12:20:43.000000000 +0100
+++ coreutils-5.94/src/tee.c 2006-04-26 12:20:44.000000000 +0100
@@ -31,7 +31,7 @@
#define AUTHORS "Mike Parker", "Richard M. Stallman", "David MacKenzie"
-static bool tee (int nfiles, const char **files);
+static bool do_tee (int nfiles, const char **files);
/* If true, append to output files rather than truncating them. */
static bool append;
@@ -121,7 +121,7 @@
/* Do *not* warn if tee is given no file arguments.
POSIX requires that it work when given no arguments. */
- ok = tee (argc - optind, (const char **) &argv[optind]);
+ ok = do_tee (argc - optind, (const char **) &argv[optind]);
if (close (STDIN_FILENO) != 0)
error (EXIT_FAILURE, errno, _("standard input"));
@@ -133,7 +133,7 @@
Return true if successful. */
static bool
-tee (int nfiles, const char **files)
+do_tee (int nfiles, const char **files)
{
FILE **descriptors;
char buffer[BUFSIZ];
More information about the fedora-cvs-commits
mailing list