+++ /dev/null
---- util-linux-2.10m/login-utils/chfn.c Sun May 14 19:27:59 2000
-+++ util-linux-2.10m/login-utils/chfn.c Thu Jun 1 06:24:25 2000
-@@ -84,7 +84,7 @@
- #define memzero(ptr, size) memset((char *) ptr, 0, size)
-
- /* we do not accept gecos field sizes longer than MAX_FIELD_SIZE */
--#define MAX_FIELD_SIZE 256
-+#define MAX_FIELD_SIZE 64
-
- int main (int argc, char **argv) {
- char *cp;
-@@ -408,6 +408,12 @@
- return -1;
- }
-
-+ if (strlen(gecos) > MAX_FIELD_SIZE) {
-+ if (msg != NULL)
-+ printf("%s: ", msg);
-+ printf("field is too long.\n");
-+ return -1;
-+ }
- for (i = 0; i < strlen (gecos); i++) {
- c = gecos[i];
- if (c == ',' || c == ':' || c == '=' || c == '"' || c == '\n') {
+++ /dev/null
---- util-linux-2.10k/sys-utils/ipcs.c.glibc Sun Nov 21 18:36:03 1999
-+++ util-linux-2.10k/sys-utils/ipcs.c Mon Apr 17 05:07:05 2000
-@@ -31,6 +31,8 @@
- /* X/OPEN tells us to use <sys/{types,ipc,sem}.h> for semctl() */
- /* X/OPEN tells us to use <sys/{types,ipc,msg}.h> for msgctl() */
- /* X/OPEN tells us to use <sys/{types,ipc,shm}.h> for shmctl() */
-+#define _GNU_SOURCE 1
-+#define __USE_GNU 1
- #include <sys/types.h>
- #include <sys/ipc.h>
- #include <sys/sem.h>
+++ /dev/null
-diff -urN util-linux-2.11d.org/login-utils/login.c util-linux-2.11d/login-utils/login.c
---- util-linux-2.11d.org/login-utils/login.c Sun May 20 22:27:44 2001
-+++ util-linux-2.11d/login-utils/login.c Sun Jun 3 21:49:55 2001
-@@ -156,7 +156,7 @@
-
- #define SLEEP_EXIT_TIMEOUT 5
-
--#ifdef __linux__
-+#ifndef __linux__
- #define DO_PS_FIDDLING
- #endif
-
-@@ -515,8 +515,6 @@
- tcsetattr(0,TCSAFLUSH,&tt);
- }
-
-- openlog("login", LOG_ODELAY, LOG_AUTHPRIV);
--
- #if 0
- /* other than iso-8859-1 */
- printf("\033(K");
-@@ -646,8 +644,12 @@
- retcode = pam_setcred(pamh, PAM_ESTABLISH_CRED);
- PAM_FAIL_CHECK;
-
-+ openlog("login", LOG_ODELAY, LOG_AUTHPRIV);
-+
- #else /* ! USE_PAM */
-
-+ openlog("login", LOG_ODELAY, LOG_AUTHPRIV);
-+
- for (cnt = 0;; ask = 1) {
- # ifndef __linux__
- ioctlval = 0;
-@@ -866,7 +868,9 @@
- /* If we can't find a pre-existing entry by pid, try by line.
- BSD network daemons may rely on this. (anonymous) */
- if (utp == NULL) {
-- setutent();
-+ endutent();
-+ setutent();
-+ memset(&ut, 0, sizeof(ut));
- ut.ut_type = LOGIN_PROCESS;
- strncpy(ut.ut_id, tty_number, sizeof(ut.ut_id));
- strncpy(ut.ut_line, tty_name, sizeof(ut.ut_line));
-@@ -1103,6 +1107,8 @@
- #endif
- signal(SIGINT, SIG_DFL);
-
-+ openlog("login", LOG_ODELAY, LOG_AUTHPRIV);
-+
- /* discard permissions last so can't get killed and drop core */
- if(setuid(pwd->pw_uid) < 0 && pwd->pw_uid) {
- syslog(LOG_ALERT, _("setuid() failed"));
+++ /dev/null
---- configure~ Thu Jun 26 21:10:07 2003
-+++ configure Thu Jun 26 21:11:17 2003
-@@ -470,7 +470,7 @@
- #include <libintl.h>
- int main(int a, char **v){
- if (a == -1) /* false */
-- gettext("There is no gettext man page\n");
-+ gettext("There is no gettext man page\\n");
- exit(0);
- }
- ' > conftest.c