]> git.ipfire.org Git - thirdparty/glibc.git/log
thirdparty/glibc.git
15 years agoMerge commit 'glibc-2.11.2' into fedora/2.11/master
Andreas Schwab [Thu, 20 May 2010 08:27:56 +0000 (10:27 +0200)] 
Merge commit 'glibc-2.11.2' into fedora/2.11/master

15 years agoglibc 2.11.2 release glibc-2.11.2
Petr Baudis [Wed, 19 May 2010 20:31:55 +0000 (22:31 +0200)] 
glibc 2.11.2 release

15 years agoFix FP exception control.
Andrew Stubbs [Wed, 12 May 2010 17:18:26 +0000 (10:18 -0700)] 
Fix FP exception control.

(cherry picked from commit 21a2b1aeeb9bbf49d76bac632327c19bc937d2d7)

15 years ago2.11.1-7 fedora/glibc-2.11.1-7
Andreas Schwab [Fri, 14 May 2010 09:28:34 +0000 (11:28 +0200)] 
2.11.1-7

15 years agoMerge remote branch 'origin/release/2.11/master' into fedora/2.11/master
Andreas Schwab [Fri, 14 May 2010 09:15:22 +0000 (11:15 +0200)] 
Merge remote branch 'origin/release/2.11/master' into fedora/2.11/master

15 years agoFix typos I added in malloc.c
Ulrich Drepper [Thu, 25 Feb 2010 03:47:09 +0000 (19:47 -0800)] 
Fix typos I added in malloc.c

(cherry picked from commit 9d2569846c520933546353856aafea86a80d9638)

15 years agoFix a const warning in ldconfig.
Roland McGrath [Fri, 7 May 2010 23:23:03 +0000 (16:23 -0700)] 
Fix a const warning in ldconfig.

(cherry picked from commit 3f7dcb2b0f9f2e771f2fd0139f032198c2d01ba9)

15 years agoFix lookup of collation sequence value during regexp matching
Andreas Schwab [Wed, 5 May 2010 16:59:25 +0000 (09:59 -0700)] 
Fix lookup of collation sequence value during regexp matching

(cherry picked from commit d84acf388ed8b3f162dda0512139095bfc268beb)

15 years agoFix ldconfig to handle symlinks in chroot correctly.
Ulrich Drepper [Mon, 3 May 2010 21:04:52 +0000 (14:04 -0700)] 
Fix ldconfig to handle symlinks in chroot correctly.

(cherry picked from commit 7dee26605bf8627f0673f81635c38c8a565dd2b7)

15 years agoSimplify OOM handling in ldconfig.
Ulrich Drepper [Mon, 3 May 2010 20:33:13 +0000 (13:33 -0700)] 
Simplify OOM handling in ldconfig.

(cherry picked from commit f2976023940a8ef3bbe0c7e593897e1b612370f1)

15 years agoOne more bug in ldconfig -r handling.
Ulrich Drepper [Mon, 3 May 2010 17:40:30 +0000 (10:40 -0700)] 
One more bug in ldconfig -r handling.

(cherry picked from commit 49bd556d43f55d0bb6d76d57e846af85f0c986c9)

15 years agoFix handling if newline in addmntent.
Ulrich Drepper [Sun, 2 May 2010 19:12:55 +0000 (12:12 -0700)] 
Fix handling if newline in addmntent.

(cherry picked from commit ab00f4eac8f4932211259ff87be83144f5211540)

15 years agoBZ #11538: Fix ttyname_r callers not to expect errno was set.
Bruno Haible [Wed, 28 Apr 2010 22:00:14 +0000 (15:00 -0700)] 
BZ #11538: Fix ttyname_r callers not to expect errno was set.

(cherry picked from commit 8c0677fe5d91b7269364ca08fa08ed09e4c2d8c9)

15 years agoBZ #11537: Hurd: Fix ttyname_r error return value.
Bruno Haible [Mon, 26 Apr 2010 17:07:15 +0000 (10:07 -0700)] 
BZ #11537: Hurd: Fix ttyname_r error return value.

(cherry picked from commit 6cffee3611f324326ae46bb02d2baeb62c0db6a4)

15 years agoHurd: Fix file_name_lookup_at error case return value.
Emilio Pozuelo Monfort [Mon, 26 Apr 2010 16:59:30 +0000 (09:59 -0700)] 
Hurd: Fix file_name_lookup_at error case return value.

(cherry picked from commit 67481400c51229de3efa2eb3dddc8429b6f9e9f4)

15 years agoDon't crash in trace mode when dependencies are missing
Andreas Schwab [Thu, 15 Apr 2010 05:16:06 +0000 (22:16 -0700)] 
Don't crash in trace mode when dependencies are missing

(cherry picked from commit 18a26b301b6ab0d68474fbfffb0d17adf69e8824)

15 years agoFix crash on reloading of gai data in nscd.
Ulrich Drepper [Sat, 10 Apr 2010 04:38:20 +0000 (21:38 -0700)] 
Fix crash on reloading of gai data in nscd.

(cherry picked from commit ea42a20caed5b343ff20a0d4622ae6c17b77161b)

15 years agoFix fallocate error return on i386.
Andreas Schwab [Thu, 8 Apr 2010 22:44:55 +0000 (15:44 -0700)] 
Fix fallocate error return on i386.

(cherry picked from commit de240a05b3638879af2f9ab663c56ad8b26b1ad3)

15 years agogetopt mishandles optstring of "+:"
Eric Blake [Thu, 8 Apr 2010 00:56:20 +0000 (17:56 -0700)] 
getopt mishandles optstring of "+:"

(cherry picked from commit 66b93be793af309fb78d54199aed2306650079d0)

15 years agogetopt mistakenly allows '-;' as short option
Eric Blake [Thu, 8 Apr 2010 00:28:36 +0000 (17:28 -0700)] 
getopt mistakenly allows '-;' as short option

(cherry picked from commit cf0b68196c837ad591f0e7fc0f8e8a0f690b847c)

15 years agoFix -W with optional parameters in getopt.
Eric Blake [Thu, 8 Apr 2010 00:16:27 +0000 (17:16 -0700)] 
Fix -W with optional parameters in getopt.

According to the getopt documentation, if "W;" is part of optstring, then '-W
foo' should behave like '--foo'.  But if "foo" uses an optional_argument, this
is not the case, since optarg is not NULL when using -W.

(cherry picked from commit aa7f642769abcfbce658aeaaffdc9fb4790cd905)

15 years agoHandle DNS timeouts in old-style lookkup code.
Ulrich Drepper [Mon, 5 Apr 2010 19:21:20 +0000 (12:21 -0700)] 
Handle DNS timeouts in old-style lookkup code.

(cherry picked from commit 4535680d03d15dc9ce19d97b9d242a10941d5016)

15 years agoFix aux cache handling in ldconfig with chroot.
Ulrich Drepper [Mon, 5 Apr 2010 18:26:43 +0000 (11:26 -0700)] 
Fix aux cache handling in ldconfig with chroot.

(cherry picked from commit 4bc2bcba67e870778fb9397f29435ee1b66bebf3)

15 years agoFix printing error messages in getopt.
Ulrich Drepper [Mon, 5 Apr 2010 05:48:55 +0000 (22:48 -0700)] 
Fix printing error messages in getopt.

(cherry picked from commit 247fdc8ee68cf49cd808becce56b2e923b4f776b)

15 years agoDeclare iruserok and iruserok_af.
Ulrich Drepper [Mon, 5 Apr 2010 05:01:52 +0000 (22:01 -0700)] 
Declare iruserok and iruserok_af.

(cherry picked from commit 2cd9670885d32eed6f4de12ddbeb2a9d049f198e)

15 years agoAdd test case for last argp bug.
Ulrich Drepper [Sun, 4 Apr 2010 18:28:36 +0000 (11:28 -0700)] 
Add test case for last argp bug.

(cherry picked from commit 7ebaec64a0171a54dbe9aedd95497b130458060e)

15 years agoFix option aliasing in argp.
Sergey Poznyakoff [Sun, 4 Apr 2010 17:04:55 +0000 (10:04 -0700)] 
Fix option aliasing in argp.

(cherry picked from commit 8c6de69d00c6be60657ca0d763dda803172c6aab)

15 years agoFix retrieving of kernel header version.
Ulrich Drepper [Sun, 4 Apr 2010 08:02:09 +0000 (01:02 -0700)] 
Fix retrieving of kernel header version.
(cherry picked from commit 9e37946dba22b53c5108eef777e867f93c894502)

15 years agoFix concurrent handling of __cpu_features.
Ulrich Drepper [Sun, 4 Apr 2010 07:25:46 +0000 (00:25 -0700)] 
Fix concurrent handling of __cpu_features.

(cherry picked from commit 22f4f44b6727887957aa1d4039eba290b064da63)

15 years agoHandle unnecessary padding in getdents64.
Ulrich Drepper [Sun, 4 Apr 2010 06:51:40 +0000 (23:51 -0700)] 
Handle unnecessary padding in getdents64.

The getdents64 syscall adds on 32-but platforms padding which isn't needed
and not included in the userlevel data structure definition.  We have to
avoid copying those padding bytes in the readdir64_r function.

(cherry picked from commit 1a81139728494810f65aaa0d0c538ff8c2783dd5)

15 years agoAdd missing include.
Ulrich Drepper [Sun, 4 Apr 2010 06:10:16 +0000 (23:10 -0700)] 
Add missing include.

(cherry picked from commit 3fedf0feb75457f7098a0119ca4203ff449546b6)

15 years agoFix changes to interface list during getifaddrs calls.
Ulrich Drepper [Sun, 4 Apr 2010 03:36:59 +0000 (20:36 -0700)] 
Fix changes to interface list during getifaddrs calls.

(cherry picked from commit b8b14c4cc38883032b8ebae50c9a8b3efd256483)

15 years agoDocument problem with NATs in getaddrinfo.
Ulrich Drepper [Sun, 4 Apr 2010 00:56:51 +0000 (17:56 -0700)] 
Document problem with NATs in getaddrinfo.

(cherry picked from commit ed0874085976531bda8a05540b0816e8bf711b71)

15 years agoMissing memory barrier in DES initialization.
Ulrich Drepper [Sat, 3 Apr 2010 20:45:02 +0000 (13:45 -0700)] 
Missing memory barrier in DES initialization.

(cherry picked from commit 647450cfb089a60f1dc3de7d68874cd21f475ec7)

15 years agoFix set_max_fast in malloc.
Ulrich Drepper [Sat, 3 Apr 2010 16:43:10 +0000 (09:43 -0700)] 
Fix set_max_fast in malloc.

(cherry picked from commit 991eda1ec17665ea0da247f8eabc6993d020ed8e)

15 years agoFix spurious UNAVAIL status is getaddrinfo
Andreas Schwab [Fri, 26 Mar 2010 12:35:50 +0000 (05:35 -0700)] 
Fix spurious UNAVAIL status is getaddrinfo

(cherry picked from commit c3dfadb87e16f0fab6f4d5242bcecf06c02976c7)

15 years agoFix typo in cuserid
Andreas Schwab [Thu, 25 Mar 2010 10:35:05 +0000 (11:35 +0100)] 
Fix typo in cuserid

(cherry picked from commit 34b514dff6acf8f1cac0afefd24049e025fd62ea)

15 years agocalls to cuserid() can result in buffer overruns and/or overflows
Jonathan Geisler [Wed, 24 Mar 2010 23:02:15 +0000 (16:02 -0700)] 
calls to cuserid() can result in buffer overruns and/or overflows

(cherry picked from commit fd8ccb0427569ffdfbb70c8828029122f3459160)

15 years agoFix missing dependency of localedata tests on gconv-modules
Paul Pluzhnikov [Wed, 17 Mar 2010 16:01:34 +0000 (09:01 -0700)] 
Fix missing dependency of localedata tests on gconv-modules

(cherry picked from commit 234333153e5b29fec2c0b383249db6f245a877e9)

15 years agoFix R_X86_64_PC32 overflow detection
Richard Guenther [Fri, 5 Mar 2010 03:33:41 +0000 (19:33 -0800)] 
Fix R_X86_64_PC32 overflow detection

(cherry picked from commit e39acb1f165c467e99509146c95f69c7444521e3)

15 years agoFix reporting of I/O errors in *dprintf functions.
Ulrich Drepper [Thu, 25 Feb 2010 00:07:57 +0000 (16:07 -0800)] 
Fix reporting of I/O errors in *dprintf functions.

(cherry picked from commit 7ca890b88e6ab7624afb1742a9fffb37ad5b3fc3)

15 years agoFix assertion in palloc and pvalloc as well.
Petr Baudis [Wed, 24 Feb 2010 23:44:29 +0000 (15:44 -0800)] 
Fix assertion in palloc and pvalloc as well.

(cherry picked from commit 8c0b5f148eccd0a4d9714e72f50f13c586af59ec)

15 years agomanual: fix typo: s/are/is/
Jim Meyering [Wed, 29 Oct 2008 10:05:39 +0000 (11:05 +0100)] 
manual: fix typo: s/are/is/

* manual/math.texi (BSD Random): Fix a typo: s/are/is/

(cherry picked from commit e2f4aa547a997922d960876671fb35ea101295f8)

15 years agomanual: adjust grammar
Jim Meyering [Wed, 4 Jun 2008 09:46:50 +0000 (11:46 +0200)] 
manual: adjust grammar

* manual/charset.texi: Adjust grammar.

(cherry picked from commit 82acaacb9c7689c479c3426743ae66d0ad466a1d)

15 years agomanual: fix doubled-words and typos
Jim Meyering [Wed, 28 May 2008 09:37:21 +0000 (11:37 +0200)] 
manual: fix doubled-words and typos

* manual/charset.texi (Selecting the Conversion): Likewise.
* manual/errno.texi (Error Messages): Likewise.
* manual/getopt.texi (Getopt Long Options): Likewise.
* manual/memory.texi (Resizing the Data Segment): Likewise.
* manual/message.texi (GUI program problems): Likewise.
* manual/resource.texi (CPU Affinity): Likewise.
* manual/stdio.texi (Streams and Threads): Likewise.
* manual/time.texi (High Accuracy Clock): Likewise.

(cherry picked from commit bbf70ae9ce646540576f2b0cbc66b90da1511b0b)

15 years agoS/390: Disable two UTF conversion instructions
Andreas Krebbel [Thu, 11 Feb 2010 15:22:58 +0000 (07:22 -0800)] 
S/390: Disable two UTF conversion instructions

(cherry picked from commit a3dc465852c38ffb4f329ca8b5b477a3c314c1ef)

15 years agoFix file descriotor leak in nftw with FTW_CHDIR
Ulrich Drepper [Thu, 11 Feb 2010 04:31:48 +0000 (20:31 -0800)] 
Fix file descriotor leak in nftw with FTW_CHDIR

(cherry picked from commit 247fdf2e2b798378d8aeaac1ee6f4ba0a49f31f3)

15 years agoFix i386 __mpn_lshift unwind info
Ulrich Drepper [Wed, 10 Feb 2010 06:54:36 +0000 (22:54 -0800)] 
Fix i386 __mpn_lshift unwind info

(cherry picked from commit 1d7223f31af8c35053e7a6fbac3070bcaa7bf87d)

15 years agoFix endless loop with invalid /etc/shells file.
Ulrich Drepper [Wed, 3 Feb 2010 14:23:31 +0000 (06:23 -0800)] 
Fix endless loop with invalid /etc/shells file.

(cherry picked from commit caa6e77293d85e31dfde371b78862e9330a1478e)

15 years agoDon't map U00DF to U1E9E in toupper table.
Andreas Schwab [Mon, 25 Jan 2010 20:01:42 +0000 (12:01 -0800)] 
Don't map U00DF to U1E9E in toupper table.

(cherry picked from commit 1112095740b82eeaea36d2567ea98c6745ef1d13)

15 years agoFix error checking in iconv.
Andreas Schwab [Mon, 25 Jan 2010 15:17:47 +0000 (07:17 -0800)] 
Fix error checking in iconv.

(cherry picked from commit 7a518360023592882a7335b843ce1a5ea322dec5)

15 years agoAdd BZ number.
Ulrich Drepper [Fri, 22 Jan 2010 20:45:43 +0000 (12:45 -0800)] 
Add BZ number.

(cherry picked from commit 8549abcb9ca4d7857cc457aaa17c2073522804f4)

15 years ago_nl_load_locale() incorrectly handles mmap() failures
Joe Landers [Fri, 22 Jan 2010 20:44:58 +0000 (12:44 -0800)] 
_nl_load_locale() incorrectly handles mmap() failures

(cherry picked from commit 8b2f25c23374fe79645499b8095f0d2f6eb24f71)

15 years agoExtend overflow detection in re_dfa_add_node.
Ulrich Drepper [Fri, 22 Jan 2010 17:48:35 +0000 (09:48 -0800)] 
Extend overflow detection in re_dfa_add_node.

(cherry picked from commit 22364644882b6cf426ed13be5b6480c3a9210eb1)

15 years agoregex: avoid internal re_realloc overflow
Ulrich Drepper [Fri, 22 Jan 2010 17:33:01 +0000 (09:33 -0800)] 
regex: avoid internal re_realloc overflow

(cherry picked from commit 54dd0ab31fe2b2168ba1a6180a0c05941fb54b3c)

15 years agoFix ____longjmp_chk for s390/s390x.
Andreas Schwab [Wed, 20 Jan 2010 15:59:30 +0000 (07:59 -0800)] 
Fix ____longjmp_chk for s390/s390x.

(cherry picked from commit e3b7670be21d6992e3ca9ee1ad3a5d08eb3a24c9)

15 years agoRemove unnecessary returns.
Ulrich Drepper [Tue, 19 Jan 2010 20:04:34 +0000 (12:04 -0800)] 
Remove unnecessary returns.

(cherry picked from commit a7bbf3d742b181bdad41e830f6ef72e632e9fc89)

15 years agoUse correct type when casting d_tag.
Andreas Schwab [Mon, 18 Jan 2010 15:24:09 +0000 (07:24 -0800)] 
Use correct type when casting d_tag.

(cherry picked from commit db07e962b6ea963dbb345439f6ab9b0cf74d87c5)

15 years agoIgnore negative dynamic entry types.
Andreas Schwab [Mon, 18 Jan 2010 15:23:23 +0000 (07:23 -0800)] 
Ignore negative dynamic entry types.

(cherry picked from commit 7a033a828df19b4f3bfd7e4d66102f63d1167f08)

15 years agoMake unistd.h pre-c((-safe.
Ulrich Drepper [Fri, 15 Jan 2010 01:03:42 +0000 (17:03 -0800)] 
Make unistd.h pre-c((-safe.

(cherry picked from commit 0b689682ad2705f57177f12158479036fcbf9563)

15 years agomemchr overshoots on ia64
H.J. Lu [Sat, 6 Feb 2010 10:13:56 +0000 (02:13 -0800)] 
memchr overshoots on ia64

(cherry picked from commit 70b7d00fc782759f1257001202cc30cb29bae28f)

15 years agoRemove incorrect paring of /proc/stat etc.
Ryan S. Arnold [Sun, 4 Apr 2010 02:20:29 +0000 (19:20 -0700)] 
Remove incorrect paring of /proc/stat etc.

(cherry picked from commit 3ed8e241229e370cca96650ed727f09838c51d67)

15 years ago2.11.1-6 fedora/glibc-2.11.1-6
Andreas Schwab [Fri, 16 Apr 2010 12:11:39 +0000 (14:11 +0200)] 
2.11.1-6

15 years agoFix spurious UNAVAIL status is getaddrinfo
Andreas Schwab [Fri, 26 Mar 2010 12:35:50 +0000 (05:35 -0700)] 
Fix spurious UNAVAIL status is getaddrinfo
(cherry picked from commit c3dfadb87e16f0fab6f4d5242bcecf06c02976c7)

15 years ago2.11.1-5 fedora/glibc-2.11.1-5
Tom "spot" Callaway [Tue, 6 Apr 2010 09:51:50 +0000 (11:51 +0200)] 
2.11.1-5

15 years ago2.11.1-4 fedora/glibc-2.11.1-4
Andreas Schwab [Wed, 17 Mar 2010 15:08:49 +0000 (16:08 +0100)] 
2.11.1-4

15 years agoMerge remote branch 'origin/release/2.11/master' into fedora/2.11/master
Andreas Schwab [Thu, 18 Mar 2010 16:10:54 +0000 (17:10 +0100)] 
Merge remote branch 'origin/release/2.11/master' into fedora/2.11/master

15 years agosparc64: Fix handling of R_SPARC_TLS_LE_* relocations.
David S. Miller [Tue, 9 Mar 2010 11:48:24 +0000 (03:48 -0800)] 
sparc64: Fix handling of R_SPARC_TLS_LE_* relocations.

15 years agoUse shared mapping to reserve memory when creating locale archive
Aurelien Jarno [Mon, 8 Feb 2010 13:58:31 +0000 (14:58 +0100)] 
Use shared mapping to reserve memory when creating locale archive

15 years agoregcomp.c: do not ignore memory allocation failure
Paul Eggert [Fri, 15 Jan 2010 05:35:15 +0000 (21:35 -0800)] 
regcomp.c: do not ignore memory allocation failure

(cherry picked from commit 21f5de55ec4fa5eba06060c40fed87aad2aecdee)

15 years agoFix typo in feature selection macro use.
Ulrich Drepper [Thu, 7 Jan 2010 06:47:31 +0000 (22:47 -0800)] 
Fix typo in feature selection macro use.

(cherry picked from commit 44dcc00292b965b3b6bff8415175d6a3e290aab7)

15 years agoAvoid ELF lookup race.
Ulrich Drepper [Tue, 15 Dec 2009 20:32:27 +0000 (12:32 -0800)] 
Avoid ELF lookup race.

On some architectures the update of the l_used field in the lookup
functions races with setting the other bits in the bitfield.  Simply
avoid this and optimize use of l_used in general.

(cherry picked from commit 2af6396817fb9df98e63de75dd59fd999ee9f1d0)

15 years agoFix a few error cases in *name4_r lookup handling.
Ulrich Drepper [Thu, 10 Dec 2009 23:44:26 +0000 (15:44 -0800)] 
Fix a few error cases in *name4_r lookup handling.

(cherry picked from commit a682a1bf553b1efe4dbb03207fece5b719cec482)

15 years ago2.11.1-1 fedora/glibc-2.11.1-1
Andreas Schwab [Mon, 14 Dec 2009 13:01:13 +0000 (14:01 +0100)] 
2.11.1-1

15 years agoMerge commit 'glibc-2.11.1' into fedora/2.11/master
Andreas Schwab [Mon, 14 Dec 2009 12:46:34 +0000 (13:46 +0100)] 
Merge commit 'glibc-2.11.1' into fedora/2.11/master

15 years agoglibc 2.11.1 release glibc-2.11.1
Petr Baudis [Tue, 8 Dec 2009 20:10:20 +0000 (21:10 +0100)] 
glibc 2.11.1 release

15 years agoFix infloop in __pthread_disable_asynccancel on x86_64
Andreas Schwab [Sat, 28 Nov 2009 05:37:30 +0000 (21:37 -0800)] 
Fix infloop in __pthread_disable_asynccancel on x86_64

(cherry picked from commit b55ec98c6490b944593243c7da54dda1796e3f84)

15 years agoAvoid local PLTs.
Ulrich Drepper [Wed, 25 Nov 2009 02:47:26 +0000 (18:47 -0800)] 
Avoid local PLTs.

(cherry picked from commit 0f622686af3ae5a8f03dae886b08c260b38bda16)

15 years agoPrevent unintended file desriptor leak in grantpt.
Ulrich Drepper [Wed, 25 Nov 2009 02:24:14 +0000 (18:24 -0800)] 
Prevent unintended file desriptor leak in grantpt.

The pt_chown program is completely transparently called.  It might
not be able to live with the various file descriptors the program
has open at the time of the call (e.g., under SELinux).  Close all
but the needed descriptor and connect stdin, stdout, and stderr
with /dev/null.  pt_chown shouldn't print anything when called to
do real work.

(cherry picked from commit 139ee080b6b428240bf49f3e6361f3ac729f891a)

15 years agoFix startup to security-relevant statically linked binaries.
Ulrich Drepper [Tue, 24 Nov 2009 19:17:06 +0000 (11:17 -0800)] 
Fix startup to security-relevant statically linked binaries.

Before the change they crash on startup.  Perform IREL relocations
earlier to prevent this.

(cherry picked from commit 1c3c269b55c84c29ec1e2c70f122c5e33fef4257)

15 years agoDefine week, first_weekday, and first_workday for hsb_DE locale.
Ulrich Drepper [Tue, 24 Nov 2009 18:00:28 +0000 (10:00 -0800)] 
Define week, first_weekday, and first_workday for hsb_DE locale.

(cherry picked from commit ee5a5ba6725ee949483f043cd0cf2a1579b6b509)

15 years agoDefine week, first_weekday, and first_workday for en_DK locale.
Ulrich Drepper [Tue, 24 Nov 2009 00:16:26 +0000 (16:16 -0800)] 
Define week, first_weekday, and first_workday for en_DK locale.

(cherry picked from commit 49c7f27194d16976a6bb9c5b7be186662ec7a6e6)

15 years agoFix week information for nl_NL locale.
Ulrich Drepper [Mon, 23 Nov 2009 00:54:45 +0000 (16:54 -0800)] 
Fix week information for nl_NL locale.

(cherry picked from commit 6503cfe2de2105e83456fb04fdeb5d4e2323e9b4)

15 years agoReinitialize _create_xid state after fork.
Ulrich Drepper [Sun, 22 Nov 2009 19:43:57 +0000 (11:43 -0800)] 
Reinitialize _create_xid state after fork.

Programs forking and using RPC in the forks would use the same XIDs.

(cherry picked from commit c5a8b997e2de005697a992d8db5c54995bd361a8)

15 years ago2.11-4 fedora/glibc-2.11-4
Andreas Schwab [Mon, 30 Nov 2009 12:31:17 +0000 (13:31 +0100)] 
2.11-4

15 years agoMerge branch 'release/2.11/master' into fedora/2.11/master
Andreas Schwab [Mon, 30 Nov 2009 13:53:29 +0000 (14:53 +0100)] 
Merge branch 'release/2.11/master' into fedora/2.11/master

15 years agoFix infloop in __pthread_disable_asynccancel on x86_64
Andreas Schwab [Sat, 28 Nov 2009 05:37:30 +0000 (21:37 -0800)] 
Fix infloop in __pthread_disable_asynccancel on x86_64
(cherry picked from commit b55ec98c6490b944593243c7da54dda1796e3f84)

15 years agoRe-install F_[GS]ETOWN_EX changes
Andreas Schwab [Tue, 24 Nov 2009 15:24:07 +0000 (16:24 +0100)] 
Re-install F_[GS]ETOWN_EX changes

15 years agoAvoid local PLTs.
Ulrich Drepper [Wed, 25 Nov 2009 02:47:26 +0000 (18:47 -0800)] 
Avoid local PLTs.
(cherry picked from commit 0f622686af3ae5a8f03dae886b08c260b38bda16)

15 years agoPrevent unintended file desriptor leak in grantpt.
Andreas Schwab [Wed, 25 Nov 2009 13:04:18 +0000 (14:04 +0100)] 
Prevent unintended file desriptor leak in grantpt.

The pt_chown program is completely transparently called.  It might
not be able to live with the various file descriptors the program
has open at the time of the call (e.g., under SELinux).  Close all
but the needed descriptor and connect stdin, stdout, and stderr
with /dev/null.  pt_chown shouldn't print anything when called to
do real work.
(cherry picked from commit 139ee080b6b428240bf49f3e6361f3ac729f891a)

15 years agoFix startup to security-relevant statically linked binaries.
Ulrich Drepper [Tue, 24 Nov 2009 19:17:06 +0000 (11:17 -0800)] 
Fix startup to security-relevant statically linked binaries.

Before the change they crash on startup.  Perform IREL relocations
earlier to prevent this.
(cherry picked from commit 1c3c269b55c84c29ec1e2c70f122c5e33fef4257)

15 years ago2.11-3 fedora/glibc-2.11-3
Andreas Schwab [Tue, 24 Nov 2009 15:01:48 +0000 (16:01 +0100)] 
2.11-3

15 years agoProperly recover from shorter read.
H.J. Lu [Fri, 20 Nov 2009 16:30:20 +0000 (08:30 -0800)] 
Properly recover from shorter read.

(cherry picked from commit 66221417957963c1d2df8d79f43573e328df2275)

15 years agoFix sync_file_range on ppc/ppc64.
Jakub Jelinek [Wed, 18 Nov 2009 02:04:51 +0000 (18:04 -0800)] 
Fix sync_file_range on ppc/ppc64.

I've noticed that sync_file_range is a stub on ppc/ppc64.
The kernel on these arches provides sync_file_range2 syscall with swapped
parameters.
The following completely untested patch ought to fix this.
(cherry picked from commit 8ad81b316bc158746aee18aa7d7df44d3eb61871)

15 years agoFix getwc* and putwc* on non-wide streams.
Ulrich Drepper [Thu, 19 Nov 2009 18:29:16 +0000 (10:29 -0800)] 
Fix getwc* and putwc* on non-wide streams.

(cherry picked from commit df1934daa7788ca5f19d82efb02cdf9b9c495b1a)

15 years agoAvoid warnings in CPU_* macros when using const bitsets.
Ulrich Drepper [Thu, 19 Nov 2009 18:03:46 +0000 (10:03 -0800)] 
Avoid warnings in CPU_* macros when using const bitsets.

(cherry picked from commit 03ebadd9eaa4663f58bd3fa6fe8283f255925632)

15 years agoWhitespace fixes.
Ulrich Drepper [Wed, 18 Nov 2009 00:24:26 +0000 (16:24 -0800)] 
Whitespace fixes.

(cherry picked from commit 3933378fd3cbe49c1e0ca42844f959eb12f05f60)

15 years agoAdd missing test files.
Ulrich Drepper [Wed, 18 Nov 2009 00:23:57 +0000 (16:23 -0800)] 
Add missing test files.

(cherry picked from commit 3a00b16da491d5c869795251e1ad4f43b3ba1469)

15 years agoFix ranges with multibyte characters as endpoints.
Paolo Bonzini [Wed, 18 Nov 2009 00:23:24 +0000 (16:23 -0800)] 
Fix ranges with multibyte characters as endpoints.

This is another bug in computing the fastmap.  It was reported by a user
of sed because it usually does not happen with !_LIBC.  However, it is
there in that case too.

The bug is that whenever we have a range at the beginning of the regex,
the regex must be tested on any possible multibyte character.  The reason
why _LIBC masks it, is that in general there is a collation symbol for
each possible multibyte-character lead byte, so all the lead bytes are
in general already part of the fastmap.

The tests use cyrillic characters as an example.  With _LIBC, they pass
without the patch too, but you can make them fail by removing collation
symbols handling.

(cherry picked from commit 815d8147a3418334ffa91e2384c6e159f0809d65)

15 years agoHandle LC_GLOBAL_LOCALE in duplocale.
Ulrich Drepper [Tue, 17 Nov 2009 17:37:31 +0000 (09:37 -0800)] 
Handle LC_GLOBAL_LOCALE in duplocale.

(cherry picked from commit 7443244740724babd575943ee33c45da326afbe7)