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 Pullup rev 1.45 (requested by christos in ticke...



details:   https://anonhg.NetBSD.org/src/rev/5429eb4857e9
branches:  netbsd-2-0
changeset: 562799:5429eb4857e9
user:      jmc <jmc%NetBSD.org@localhost>
date:      Fri Nov 12 05:02:16 2004 +0000

description:
Pullup rev 1.45 (requested by christos in ticket #921)

Keep track of the length of the gnu long name/link hack, so that
we can append to it. Modify the code so that file_write is re-entrant,
even in the gnu long name/link hack.

diffstat:

 bin/pax/extern.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 679137593b1c -r 5429eb4857e9 bin/pax/extern.h
--- a/bin/pax/extern.h  Fri Nov 12 05:02:13 2004 +0000
+++ b/bin/pax/extern.h  Fri Nov 12 05:02:16 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: extern.h,v 1.41.2.1 2004/08/25 02:44:49 jmc Exp $      */
+/*     $NetBSD: extern.h,v 1.41.2.2 2004/11/12 05:02:16 jmc Exp $      */
 
 /*-
  * Copyright (c) 1992 Keith Muller.
@@ -143,6 +143,7 @@
  * file_subs.c
  */
 extern char *gnu_name_string, *gnu_link_string;
+extern size_t gnu_name_length, gnu_link_length;
 extern char *xtmp_name;
 int file_creat(ARCHD *, int);
 void file_close(ARCHD *, int);



Home | Main Index | Thread Index | Old Index