r5794 - in glibc-package/branches/eglibc-2.18/debian: . patches/kfreebsd
Author: ps-guest
Date: 2013-11-28 12:27:03 +0000 (Thu, 28 Nov 2013)
New Revision: 5794
Modified:
glibc-package/branches/eglibc-2.18/debian/changelog
glibc-package/branches/eglibc-2.18/debian/patches/kfreebsd/local-sysdeps.diff
Log:
kfreebsd/local-sysdeps.diff: update to revision 5173 (from glibc-bsd).
Modified: glibc-package/branches/eglibc-2.18/debian/changelog
===================================================================
--- glibc-package/branches/eglibc-2.18/debian/changelog 2013-11-28 09:40:49 UTC (rev 5793)
+++ glibc-package/branches/eglibc-2.18/debian/changelog 2013-11-28 12:27:03 UTC (rev 5794)
@@ -102,7 +102,7 @@
[ Petr Salinger ]
* debian/*: change version occurences from 2.17 to 2.18 for upgrades/deps.
- * kfreebsd/local-sysdeps.diff: update to revision 5148 (from glibc-bsd).
+ * kfreebsd/local-sysdeps.diff: update to revision 5173 (from glibc-bsd).
* kfreebsd/local-fbtl.diff: likewise
* sysdeps/kfreebsd.mk: pt_chown is mandatory
* update symbols file for kfreebsd
Modified: glibc-package/branches/eglibc-2.18/debian/patches/kfreebsd/local-sysdeps.diff
===================================================================
--- glibc-package/branches/eglibc-2.18/debian/patches/kfreebsd/local-sysdeps.diff 2013-11-28 09:40:49 UTC (rev 5793)
+++ glibc-package/branches/eglibc-2.18/debian/patches/kfreebsd/local-sysdeps.diff 2013-11-28 12:27:03 UTC (rev 5794)
@@ -1945,9 +1945,9 @@
+
+#define MAXCOMLEN 19 /* max command name remembered */
+#define MAXINTERP 32 /* max interpreter file name length */
-+#define MAXLOGNAME 17 /* max login name length (incl. NUL) */
++#define MAXLOGNAME 33 /* max login name length (incl. NUL) */
+#define MAXUPRC CHILD_MAX /* max simultaneous processes */
-+#define NGROUPS NGROUPS_MAX /* max number groups */
++#define NGROUPS (NGROUPS_MAX+1) /* max number groups */
+#define MAXHOSTNAMELEN 256 /* max hostname size */
+#define SPECNAMELEN 63 /* max length of devicename */
+#define TTY_NAME_MAX SPECNAMELEN
@@ -13623,7 +13623,7 @@
+ if (__getlogin_cache == NULL)
+ {
+ if (INLINE_SYSCALL (getlogin, 2, __getlogin_cache_room, MAXLOGNAME) < 0)
-+ return -1;
++ return errno;
+ /* The system call should return a NULL terminated name. */
+ if (__memchr (__getlogin_cache_room, '\0', MAXLOGNAME) == NULL)
+ abort ();
@@ -13639,7 +13639,7 @@
+ else
+ {
+ __set_errno (ERANGE);
-+ return -1;
++ return ERANGE;
+ }
+}
+libc_hidden_def (getlogin_r)
Reply to: