Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src/include/protocols Pull up following revision(s) (requeste...



details:   https://anonhg.NetBSD.org/src/rev/5ceeb09fa697
branches:  netbsd-7
changeset: 799767:5ceeb09fa697
user:      riz <riz%NetBSD.org@localhost>
date:      Tue Jan 26 04:53:42 2016 +0000

description:
Pull up following revision(s) (requested by christos in ticket #1068):
        include/protocols/dumprestore.h: revision 1.17
PR/50434: Louis Guillaume: Bump the in and out formats to 511 (NAME_MAX)

diffstat:

 include/protocols/dumprestore.h |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r d5e8ce101058 -r 5ceeb09fa697 include/protocols/dumprestore.h
--- a/include/protocols/dumprestore.h   Tue Jan 26 04:50:22 2016 +0000
+++ b/include/protocols/dumprestore.h   Tue Jan 26 04:53:42 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dumprestore.h,v 1.16 2009/01/11 03:04:12 christos Exp $        */
+/*     $NetBSD: dumprestore.h,v 1.16.28.1 2016/01/26 04:53:42 riz Exp $        */
 
 /*
  * Copyright (c) 1980, 1993
@@ -152,8 +152,9 @@
 #define DR_NEWINODEFMT 0x0002  /* new format inodes on tape */
 #define DR_EXTATTRIBUTES 0x8000        /* linux: extended attributes */
 
-#define        DUMPOUTFMT      "%-16s %c %s"           /* for printf */
+/* 511 == NAME_MAX */
+#define        DUMPOUTFMT      "%-511s %c %s"          /* for printf */
                                                /* name, level, ctime(date) */
-#define        DUMPINFMT       "%16s %c %[^\n]\n"      /* inverse for scanf */
+#define        DUMPINFMT       "%511s %c %[^\n]\n"     /* inverse for scanf */
 
 #endif /* !_PROTOCOLS_DUMPRESTORE_H_ */



Home | Main Index | Thread Index | Old Index