[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r2135 - in /trunk/libc: ChangeLog.eglibc sysdeps/unix/sysv/linux/dl-osinfo.h
- To: commits@xxxxxxxxxx
- Subject: [commits] r2135 - in /trunk/libc: ChangeLog.eglibc sysdeps/unix/sysv/linux/dl-osinfo.h
- From: joseph@xxxxxxxxxx
- Date: Tue, 01 May 2007 20:36:09 -0000
Author: joseph
Date: Tue May 1 13:36:09 2007
New Revision: 2135
Log:
* sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion):
Don't parse more than three parts of the version number.
Modified:
trunk/libc/ChangeLog.eglibc
trunk/libc/sysdeps/unix/sysv/linux/dl-osinfo.h
Modified: trunk/libc/ChangeLog.eglibc
==============================================================================
--- trunk/libc/ChangeLog.eglibc (original)
+++ trunk/libc/ChangeLog.eglibc Tue May 1 13:36:09 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: trunk/libc/sysdeps/unix/sysv/linux/dl-osinfo.h
==============================================================================
--- trunk/libc/sysdeps/unix/sysv/linux/dl-osinfo.h (original)
+++ trunk/libc/sysdeps/unix/sysv/linux/dl-osinfo.h Tue May 1 13:36:09 2007
@@ -126,7 +126,7 @@
version <<= 8;
version |= here;
- if (*cp++ != '.')
+ if (*cp++ != '.' || parts == 3)
/* Another part following? */
break;
}