summaryrefslogtreecommitdiff
path: root/recipes/glibc/glibc-2.3.2/glibc23-version-sanity.patch
blob: 39d72de726a9eebeea49fdf14b224bbd795260b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- glibc-2.3.2/sysdeps/unix/sysv/linux/dl-osinfo.h.orig	2003-11-01 14:20:45.000000000 -0500
+++ glibc-2.3.2/sysdeps/unix/sysv/linux/dl-osinfo.h	2003-11-01 14:21:32.000000000 -0500
@@ -91,7 +91,7 @@
 	    version <<= 8;						      \
 	    version |= here;						      \
 									      \
-	    if (*cp++ != '.')						      \
+	    if (*cp++ != '.' || parts == 3)				      \
 	      /* Another part following?  */				      \
 	      break;							      \
 	  }								      \