[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r2136 - in /branches/eglibc-2_5/libc: ChangeLog.eglibc sysdeps/unix/sysv/linux/dl-osinfo.h
- To: commits@xxxxxxxxxx
- Subject: [commits] r2136 - in /branches/eglibc-2_5/libc: ChangeLog.eglibc sysdeps/unix/sysv/linux/dl-osinfo.h
- From: joseph@xxxxxxxxxx
- Date: Tue, 01 May 2007 20:37:00 -0000
Author: joseph
Date: Tue May 1 13:37:00 2007
New Revision: 2136
Log:
* sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion):
Don't parse more than three parts of the version number.
Modified:
branches/eglibc-2_5/libc/ChangeLog.eglibc
branches/eglibc-2_5/libc/sysdeps/unix/sysv/linux/dl-osinfo.h
Modified: branches/eglibc-2_5/libc/ChangeLog.eglibc
==============================================================================
--- branches/eglibc-2_5/libc/ChangeLog.eglibc (original)
+++ branches/eglibc-2_5/libc/ChangeLog.eglibc Tue May 1 13:37:00 2007
@@ -1,3 +1,8 @@
+2007-05-01 Daniel Jacobowitz <dan@xxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion):
+ Don't parse more than three parts of the version number.
+
2007-04-30 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
* soft-fp/op-common.h (FP_TRUNC): Correct off-by-one error in
Modified: branches/eglibc-2_5/libc/sysdeps/unix/sysv/linux/dl-osinfo.h
==============================================================================
--- branches/eglibc-2_5/libc/sysdeps/unix/sysv/linux/dl-osinfo.h (original)
+++ branches/eglibc-2_5/libc/sysdeps/unix/sysv/linux/dl-osinfo.h Tue May 1 13:37:00 2007
@@ -126,7 +126,7 @@
version <<= 8;
version |= here;
- if (*cp++ != '.')
+ if (*cp++ != '.' || parts == 3)
/* Another part following? */
break;
}