Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/bin/pax Pull up revision 1.24 (requested by dillo in ti...
details: https://anonhg.NetBSD.org/src/rev/9f067447fe09
branches: netbsd-2-0
changeset: 561457:9f067447fe09
user: tron <tron%NetBSD.org@localhost>
date: Fri Jun 18 09:07:20 2004 +0000
description:
Pull up revision 1.24 (requested by dillo in ticket #507):
do the special symlink treatment with all negative fd's.
diffstat:
bin/pax/buf_subs.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0b907d12975a -r 9f067447fe09 bin/pax/buf_subs.c
--- a/bin/pax/buf_subs.c Thu Jun 17 20:08:39 2004 +0000
+++ b/bin/pax/buf_subs.c Fri Jun 18 09:07:20 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: buf_subs.c,v 1.23 2003/10/27 00:12:41 lukem Exp $ */
+/* $NetBSD: buf_subs.c,v 1.23.2.1 2004/06/18 09:07:20 tron Exp $ */
/*-
* Copyright (c) 1992 Keith Muller.
@@ -42,7 +42,7 @@
#if 0
static char sccsid[] = "@(#)buf_subs.c 8.2 (Berkeley) 4/18/94";
#else
-__RCSID("$NetBSD: buf_subs.c,v 1.23 2003/10/27 00:12:41 lukem Exp $");
+__RCSID("$NetBSD: buf_subs.c,v 1.23.2.1 2004/06/18 09:07:20 tron Exp $");
#endif
#endif /* not lint */
@@ -696,7 +696,7 @@
* pass the blocksize of the file being written to the write routine,
* if the size is zero, use the default MINFBSZ
*/
- if (ofd == -1)
+ if (ofd < 0)
sz = PAXPATHLEN+1;
else if (fstat(ofd, &sb) == 0) {
if (sb.st_blksize > 0)
Home |
Main Index |
Thread Index |
Old Index