Forced-removing of a non-existing directory breaks the build.
Noticed by "Andy Johnson" <ajohnson@aecno.com>, who provided a patch that I adapted.
/trunk/scripts/functions | 13 10 3 0 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
1 --- glibc-2.7/sysdeps/unix/sysv/linux/dl-osinfo.h.orig 2007-09-15 23:54:08.000000000 +0100
2 +++ glibc-2.7/sysdeps/unix/sysv/linux/dl-osinfo.h 2008-08-20 09:26:26.000000000 +0100
8 + int versionindex = 0;
12 /* Try the uname system call. */
18 + /* We are only interested in the first three kernel numbers, so */
19 + /* chop off anything past that: */
25 + if (versionindex == 63) break;
26 + if (*choppoint == '.') dotsfound++;
30 + if (*choppoint == '0' || *choppoint == '1'
31 + || *choppoint == '2' || *choppoint == '3'
32 + || *choppoint == '4' || *choppoint == '5'
33 + || *choppoint == '6' || *choppoint == '7'
34 + || *choppoint == '8' || *choppoint == '9')
44 /* Now convert it into a number. The string consists of at most
46 + three parts. Now it does, anyway. ;-) */