]> git.pld-linux.org Git - packages/glibc.git/blob - glibc-getconf.patch
- release 4: more work on speed patch (wiget).
[packages/glibc.git] / glibc-getconf.patch
1 diff -urN glibc-2.2.3.org/posix/confstr.c glibc-2.2.3/posix/confstr.c
2 --- glibc-2.2.3.org/posix/confstr.c     Tue May  8 23:52:57 2001
3 +++ glibc-2.2.3/posix/confstr.c Tue May  8 23:53:10 2001
4 @@ -44,19 +44,6 @@
5        }
6        break;
7  
8 -    case _CS_XBS5_ILP32_OFFBIG_CFLAGS:
9 -    case _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS:
10 -    case _CS_LFS_CFLAGS:
11 -#if _XBS5_LP64_OFF64 == -1 && _XBS5_LPBIG_OFFBIG == -1 && _XBS5_ILP32_OFFBIG == 1
12 -      /* Signal that we want the new ABI.  */
13 -      {
14 -       static const char file_offset[] = "-D_FILE_OFFSET_BITS=64";
15 -       string = file_offset;
16 -       string_len = sizeof (file_offset);
17 -      }
18 -      break;
19 -#endif
20 -
21      case _CS_V6_WIDTH_RESTRICTED_ENVS:
22        /* We have to return a newline-separated list of named of
23          programming environements in which the widths of blksize_t,
24 @@ -94,6 +81,20 @@
25         string_len = sizeof (restenvs);
26        }
27        break;
28 +
29 +    case _CS_XBS5_ILP32_OFFBIG_CFLAGS:
30 +    case _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS:
31 +    case _CS_LFS_CFLAGS:
32 +#if _XBS5_LP64_OFF64 == -1 && _XBS5_LPBIG_OFFBIG == -1 && _XBS5_ILP32_OFFBIG == 1
33 +      /* Signal that we want the new ABI.  */
34 +      {
35 +       static const char file_offset[] = "-D_FILE_OFFSET_BITS=64";
36 +       string = file_offset;
37 +       string_len = sizeof (file_offset);
38 +      }
39 +      break;
40 +#endif
41 +      /* FALLTHROUGH */
42  
43      case _CS_LFS_LINTFLAGS:
44      case _CS_LFS_LDFLAGS:
This page took 0.022011 seconds and 3 git commands to generate.