about summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/confname.h10
-rw-r--r--sysdeps/generic/stpncpy.c4
2 files changed, 11 insertions, 3 deletions
diff --git a/sysdeps/generic/confname.h b/sysdeps/generic/confname.h
index da189fb5c4..6c58410b10 100644
--- a/sysdeps/generic/confname.h
+++ b/sysdeps/generic/confname.h
@@ -36,7 +36,13 @@ enum
 #define	_PC_CHOWN_RESTRICTED	_PC_CHOWN_RESTRICTED
     _PC_NO_TRUNC,
 #define	_PC_NO_TRUNC		_PC_NO_TRUNC
-    _PC_VDISABLE
+    _PC_VDISABLE,
+    _PC_SYNC_IO,
+#define	_PC_SYNC_IO		_PC_SYNC_IO
+    _PC_ASYNC_IO,
+#define	_PC_ASYNC_IO		_PC_ASYNC_IO
+    _PC_PRIO_IO
+#define	_PC_PRIO_IO		_PC_PRIO_IO
   };
 
 /* Values for the argument to `sysconf'.  */
@@ -113,6 +119,8 @@ enum
 #define	_SC_LINE_MAX		_SC_LINE_MAX
     _SC_RE_DUP_MAX,
 #define	_SC_RE_DUP_MAX		_SC_RE_DUP_MAX
+    _SC_CHARCLASS_NAME_MAX,
+#define	_SC_CHARCLASS_NAME_MAX	_SC_CHARCLASS_NAME_MAX
 
     _SC_2_VERSION,
 #define	_SC_2_VERSION		_SC_2_VERSION
diff --git a/sysdeps/generic/stpncpy.c b/sysdeps/generic/stpncpy.c
index d4a524086c..5cdd93d19e 100644
--- a/sysdeps/generic/stpncpy.c
+++ b/sysdeps/generic/stpncpy.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1995 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995, 1996 Free Software Foundation, Inc.
 This file is part of the GNU C Library.
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -67,7 +67,7 @@ DEFUN(__stpncpy, (dest, src, n), char *dest AND CONST char *src AND size_t n)
  last_chars:
   n &= 3;
   if (n == 0)
-    return s;
+    return dest;
 
   do
     {