Module Name: src
Committed By: riz
Date: Tue Jan 26 04:53:42 UTC 2016
Modified Files:
src/include/protocols [netbsd-7]: dumprestore.h
Log Message:
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)
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.16.28.1 src/include/protocols/dumprestore.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/include/protocols/dumprestore.h
diff -u src/include/protocols/dumprestore.h:1.16 src/include/protocols/dumprestore.h:1.16.28.1
--- src/include/protocols/dumprestore.h:1.16 Sun Jan 11 03:04:12 2009
+++ src/include/protocols/dumprestore.h Tue Jan 26 04:53:42 2016
@@ -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 @@ union u_spcl {
#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_ */