r3494 - in glibc-package/branches/eglibc-2.10/debian: . patches/powerpc
Author: aurel32
Date: 2009-05-11 21:53:15 +0000 (Mon, 11 May 2009)
New Revision: 3494
Modified:
glibc-package/branches/eglibc-2.10/debian/changelog
glibc-package/branches/eglibc-2.10/debian/patches/powerpc/local-sysconf.diff
Log:
- Update patches/powerpc/local-sysconf.diff.
Modified: glibc-package/branches/eglibc-2.10/debian/changelog
===================================================================
--- glibc-package/branches/eglibc-2.10/debian/changelog 2009-05-11 14:34:24 UTC (rev 3493)
+++ glibc-package/branches/eglibc-2.10/debian/changelog 2009-05-11 21:53:15 UTC (rev 3494)
@@ -23,6 +23,7 @@
- Update patches/hurd-i386/local-tls-support.diff.
- Update patches/hurd-i386/submitted-extern_inline.diff.
- Remove debian/patches/mips/cvs-context.diff (merged).
+ - Update debian/patches/powerpc/local-sysconf.diff.
- Remove debian/patches/all/submitted-readme-version.diff (merged).
- Remove debian/patches/any/submitted-install-map-files.diff (merged).
- Remove debian/patches/any/cvs-pthread_h.diff (merged).
Modified: glibc-package/branches/eglibc-2.10/debian/patches/powerpc/local-sysconf.diff
===================================================================
--- glibc-package/branches/eglibc-2.10/debian/patches/powerpc/local-sysconf.diff 2009-05-11 14:34:24 UTC (rev 3493)
+++ glibc-package/branches/eglibc-2.10/debian/patches/powerpc/local-sysconf.diff 2009-05-11 21:53:15 UTC (rev 3494)
@@ -36,7 +36,8 @@
+ "cpu model". We don't have to fear extremely long lines since \
+ the kernel will not generate them. 8192 bytes are really \
+ enough. */ \
-+ while (fgets_unlocked (BUFFER, sizeof (BUFFER), FP) != NULL) \
++ char *l; \
++ while ((l = next_line (FD, BUFFER, &CP, &RE, BUFFER_END)) != NULL) \
+ if (strncmp (BUFFER, "cpu\t\t:", 6) == 0) \
+ ++(RESULT); \
+ } \
Reply to: