Ondřej Bílka
a471e96a53
When glob pattern contains a trailing slash match only directories. Fixes bug 10278.
2013-10-20 10:03:19 +02:00
Eric Blake
e833b53fe6
glob: silence -Wattribute warnings
...
Colin Watson reported that some versions of gcc warn about
attribute leaf used on a static function, since it has no
effect on anything but external functions.
* posix/glob.c (next_brace_sub, prefix_array, collated_compare):
Use __THROWNL rather than __THROW on static functions.
Signed-off-by: Eric Blake <eblake@redhat.com>
2013-10-01 13:50:29 -06:00
Roland McGrath
a58ad3f801
Fix raciness in waitid test.
2013-06-13 15:09:29 -07:00
Joseph Myers
60d2f8f3c7
Use (void) in no-arguments function definitions.
2013-06-08 00:22:23 +00:00
Joseph Myers
2e09a79ada
Avoid use of "register" as optimization hint.
2013-06-07 22:24:35 +00:00
Ondrej Bilka
44a988afd8
Fix executable mode.
2013-06-06 02:15:33 +02:00
Joseph Myers
9c84384cc1
Remove trailing whitespace.
2013-06-05 20:44:03 +00:00
Siddhesh Poyarekar
d180203e97
Increase test case timeout
2013-06-04 11:23:54 +05:30
Dmitry V. Levin
47c22455d4
Test getaddrinfo return value
...
This helps testing for regression of BZ#15339. Creation of network
isolated environments is a privileged operation and therefore is not
included to the test.
2013-05-21 17:21:05 +00:00
Ryan S. Arnold
e054f49430
Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).
2013-05-16 11:32:54 -05:00
Roland McGrath
8fb16a04e6
Move getlogin, getlogin_r, setlogin to login/ subdir.
2013-05-06 15:10:09 -07:00
Paul Pluzhnikov
3e6bd4b198
Set LC_ALL=C before sed.
2013-03-08 20:31:23 -08:00
Siddhesh Poyarekar
adbb8027be
Remove PIPE_BUF Linux-specific code
...
Fixes BZ #12723
The variable pipe buffer size does nothing to the value of PIPE_BUF,
since the number of bytes that are atomically written is still
PIPE_BUF on Linux.
2013-03-07 12:15:08 +05:30
Paul Eggert
b7688c42e7
Bring back definition of __attribute__ for non-gcc and older gcc
...
gnulib copies this file over and needs it.
2013-02-26 14:17:12 +05:30
Siddhesh Poyarekar
53a5c423fb
Fix some build warnings
2013-02-26 10:40:19 +05:30
Andreas Jaeger
f238fd190b
Sort Versions files
2013-02-17 16:34:04 +01:00
Andreas Schwab
a445af0bc7
Fix buffer overrun in regexp matcher
2013-02-12 09:30:34 +01:00
Andreas Schwab
7e2f0d2d77
Fix handling of collating symbols in regexps
2013-02-12 09:25:34 +01:00
Roland McGrath
f1d70dad53
Remove lots of inline keywords.
2013-02-07 14:44:18 -08:00
Andreas Schwab
ab087e0aa4
Avoid busy loop in wordexp when substituted command closed its stdout
2013-01-21 10:40:04 +01:00
Joseph Myers
6a57d93130
Remove __GLIBC_HAVE_LONG_LONG.
2013-01-11 21:13:25 +00:00
H.J. Lu
740b3dbee8
Add --enable-hardcoded-path-in-tests configure option
2013-01-11 07:14:18 -08:00
H.J. Lu
4cf8f2098f
Support run tst-exec and tst-spawn directly
2013-01-10 14:14:55 -08:00
Roland McGrath
ad98e30c90
Force getconf.speclist to be generated in the others pass.
2013-01-09 16:05:32 -08:00
Joseph Myers
568035b787
Update copyright notices with scripts/update-copyrights.
2013-01-02 19:05:09 +00:00
Joseph Myers
f4cf5f2d8b
Add script to update copyright notices and reformat some to facilitate its use.
2013-01-01 16:29:10 +00:00
David S. Miller
0549fbba96
Update copyright years.
...
* catgets/gencat.c: Update copyright year.
* csu/version.c: Likewise.
* debug/catchsegv.sh: Likewise.
* debug/pcprofiledump.c: Likewise.
* debug/xtrace.sh: Likewise.
* elf/ldconfig.c: Likewise.
* elf/ldd.bash.in: Likewise.
* elf/pldd.c: Likewise.
* elf/sotruss.ksh: Likewise.
* elf/sprof.c: Likewise.
* iconv/iconv_prog.c: Likewise.
* iconv/iconvconfig.c: Likewise.
* locale/programs/locale.c: Likewise.
* locale/programs/localedef.c: Likewise.
* login/programs/pt_chown.c: Likewise.
* malloc/memusage.sh: Likewise.
* malloc/memusagestat.c: Likewise.
* malloc/mtrace.pl: Likewise.
* nscd/nscd.c: Likewise.
* nss/getent.c: Likewise.
* nss/makedb.c: Likewise.
* posix/getconf.c: Likewise.
2013-01-01 00:11:43 -08:00
Joseph Myers
877f2d8e8d
Fix _POSIX_TZNAME_MAX for older POSIX (bug 14856).
2012-11-19 23:36:20 +00:00
Joseph Myers
531f1ae0a7
Generate /usr/libexec/getconf files when cross-compiling.
2012-11-17 01:49:19 +00:00
Marcus Shawcroft
c485e4d2cc
Adding missing -fexception CFLAGS
2012-11-14 12:35:10 +00:00
Joseph Myers
8b748aed2a
Support --with-pkgversion and --with-bugurl.
2012-11-09 22:13:45 +00:00
Thomas Schwinge
b830319d49
[BZ #157 ] Remove include/stub-tag.h for good.
2012-11-04 19:59:40 +01:00
Joseph Myers
cc1290d07e
Support cross-testing.
2012-10-24 21:59:01 +00:00
Roland McGrath
6e6249d0b4
BZ#14743: Move clock_* symbols from librt to libc.
2012-10-24 14:50:46 -07:00
Joseph Myers
0708a7d1f0
Use build directory instead of /tmp in globtest.sh.
2012-10-24 11:47:16 +00:00
Joseph Myers
03ac099f6b
Define and use $(run-built-tests).
2012-10-24 00:08:46 +00:00
Joseph Myers
ebfd1bbd04
Use $(run-program-prefix) in posix/globtest.sh.
2012-10-23 23:32:14 +00:00
Jim Blandy
166bca2480
Add and use $(host-built-program-cmd).
2012-10-23 22:49:59 +00:00
Jim Blandy
6fb54a2254
Don't pass shell loops' stdin to programs run on glibc's host.
2012-10-22 17:12:17 +00:00
Joseph Myers
e40a0d2113
Use $(run-program-prefix) in more shell script tests.
2012-10-19 23:30:43 +00:00
Joseph Myers
135948bd50
Use $(built-program-cmd) in posix/tst-getconf.sh.
2012-10-19 20:00:43 +00:00
Roland McGrath
848917f9ee
Add a missing $(make-target-directory).
2012-09-28 14:48:17 -07:00
Jeff Law
115411772b
[BZ #11438 ]
...
* sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918
* addresses
to global scope.
* posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
addresses are in the same scope as 192.0.2/24.
* posix/gai.conf: Document new scope table defaults.
2012-09-28 10:15:05 -06:00
Joseph Myers
b87c4b24d9
Use size_t instead of int for internal variables in glob (bug 14621).
2012-09-25 19:38:15 +00:00
Dmitry V. Levin
57c69bef13
Set "fail on error" mode directly in testsuite shell scripts
2012-09-25 02:48:31 +00:00
Dmitry V. Levin
9a9028b1fe
Add copyright notices to testsuite shell scripts
2012-09-25 02:48:13 +00:00
Roland McGrath
59a629f121
Fix tst-rfc3484* build failures from USE_NSCD move to config.h.
2012-08-23 16:55:40 -07:00
Roland McGrath
3cc3ef96d6
BZ#13696: Add --disable-nscd configure option.
2012-08-22 13:31:12 -07:00
Roland McGrath
329bc01868
Suppress regcomp.c warnings in 32-bit builds.
2012-08-15 16:03:58 -07:00
Florian Weimer
7e66ee5142
* posix/unistd.h (setuid, setreuid, seteuid, setresuid):
...
Declare with warn_unused_result.
(setgid, setregid, setegid, setresgid): Likewise.
* sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
Likewise.
* WUR-REPORT: Remove set*id functions.
2012-08-01 18:12:58 +02:00