Source-Changes-HG archive

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

[src/trunk]: src Back out previous - I was confused.



details:   https://anonhg.NetBSD.org/src/rev/6a2102a214e3
branches:  trunk
changeset: 534857:6a2102a214e3
user:      soren <soren%NetBSD.org@localhost>
date:      Sun Aug 04 18:06:54 2002 +0000

description:
Back out previous - I was confused.

diffstat:

 include/limits.h          |  5 ++++-
 usr.bin/getconf/getconf.c |  7 +++++--
 2 files changed, 9 insertions(+), 3 deletions(-)

diffs (56 lines):

diff -r 142fc817410b -r 6a2102a214e3 include/limits.h
--- a/include/limits.h  Sun Aug 04 17:52:46 2002 +0000
+++ b/include/limits.h  Sun Aug 04 18:06:54 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: limits.h,v 1.15 2002/08/04 05:41:58 soren Exp $        */
+/*     $NetBSD: limits.h,v 1.16 2002/08/04 18:06:54 soren Exp $        */
 
 /*
  * Copyright (c) 1988, 1993
@@ -41,11 +41,14 @@
 #if !defined(_ANSI_SOURCE)
 #define        _POSIX_ARG_MAX          4096
 #define        _POSIX_CHILD_MAX        6
+#define        _POSIX_LINK_MAX         8
 #define        _POSIX_LOGIN_NAME_MAX   9
 #define        _POSIX_MAX_CANON        255
 #define        _POSIX_MAX_INPUT        255
+#define        _POSIX_NAME_MAX         14
 #define        _POSIX_NGROUPS_MAX      0
 #define        _POSIX_OPEN_MAX         16
+#define        _POSIX_PATH_MAX         256
 #define        _POSIX_PIPE_BUF         512
 #define        _POSIX_SSIZE_MAX        32767
 #define        _POSIX_STREAM_MAX       8
diff -r 142fc817410b -r 6a2102a214e3 usr.bin/getconf/getconf.c
--- a/usr.bin/getconf/getconf.c Sun Aug 04 17:52:46 2002 +0000
+++ b/usr.bin/getconf/getconf.c Sun Aug 04 18:06:54 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: getconf.c,v 1.15 2002/08/04 12:59:13 tron Exp $        */
+/*     $NetBSD: getconf.c,v 1.16 2002/08/04 18:06:54 soren Exp $       */
 
 /*-
  * Copyright (c) 1996, 1998 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: getconf.c,v 1.15 2002/08/04 12:59:13 tron Exp $");
+__RCSID("$NetBSD: getconf.c,v 1.16 2002/08/04 18:06:54 soren Exp $");
 #endif /* not lint */
 
 #include <err.h>
@@ -78,10 +78,13 @@
   /* POSIX.1 Minimum Values */
   { "_POSIX_ARG_MAX",          CONSTANT,       _POSIX_ARG_MAX          },
   { "_POSIX_CHILD_MAX",                CONSTANT,       _POSIX_CHILD_MAX        },
+  { "_POSIX_LINK_MAX",         CONSTANT,       _POSIX_LINK_MAX         },
   { "_POSIX_MAX_CANON",                CONSTANT,       _POSIX_MAX_CANON        },
   { "_POSIX_MAX_INPUT",                CONSTANT,       _POSIX_MAX_INPUT        },
+  { "_POSIX_NAME_MAX",         CONSTANT,       _POSIX_NAME_MAX         },
   { "_POSIX_NGROUPS_MAX",      CONSTANT,       _POSIX_NGROUPS_MAX      },
   { "_POSIX_OPEN_MAX",         CONSTANT,       _POSIX_OPEN_MAX         },
+  { "_POSIX_PATH_MAX",         CONSTANT,       _POSIX_PIPE_BUF         },
   { "_POSIX_PIPE_BUF",         CONSTANT,       _POSIX_PIPE_BUF         },
   { "_POSIX_SSIZE_MAX",                CONSTANT,       _POSIX_SSIZE_MAX        },
   { "_POSIX_STREAM_MAX",       CONSTANT,       _POSIX_STREAM_MAX       },



Home | Main Index | Thread Index | Old Index