Module Name: src
Committed By: christos
Date: Mon Nov 16 17:06:47 UTC 2015
Modified Files:
src/sbin/dump: dump.h
Log Message:
- update NAME_MAX to match the kernel.
- add a comment about where the constant is used.
To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sbin/dump/dump.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/dump/dump.h
diff -u src/sbin/dump/dump.h:1.53 src/sbin/dump/dump.h:1.54
--- src/sbin/dump/dump.h:1.53 Wed Aug 12 14:28:00 2015
+++ src/sbin/dump/dump.h Mon Nov 16 12:06:47 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: dump.h,v 1.53 2015/08/12 18:28:00 dholland Exp $ */
+/* $NetBSD: dump.h,v 1.54 2015/11/16 17:06:47 christos Exp $ */
/*-
* Copyright (c) 1980, 1993
@@ -267,7 +267,7 @@ struct fstab *fstabsearch(const char *);
struct statvfs *mntinfosearch(const char *key);
#ifndef NAME_MAX
-#define NAME_MAX 255
+#define NAME_MAX 511
#endif
/*
@@ -275,6 +275,7 @@ struct statvfs *mntinfosearch(const char
* a linked list, and then (eventually) arrayified.
*/
struct dumpdates {
+ /* see DUMP{IN,OUT}FMT in <protocols/dumprestore.h> */
char dd_name[NAME_MAX+3];
char dd_level;
time_t dd_ddate;