Ulrich Drepper [Sat, 6 May 2006 18:04:35 +0000 (18:04 +0000)]
* include/arpa/nameser.h: Also optimize NS_PUT16 and NS_PUT32.
* resolv/res_mkquery.c: Use NS_PUT16 and NS_PUT32 instead of __putshort
and __putlong respectively. Correct buffer overflow check for
NS_NOTIFY_OP.
* resolv/res_send.c (send_vc): Use ns_put16 instead of putshort.
Ulrich Drepper [Sat, 6 May 2006 17:20:59 +0000 (17:20 +0000)]
* resolv/res_send.c (res_queriesmatch): Fix typo in comment.
(send_dg): Rewrite error handling to be more compact and avoid
double recomputation of timeouts. Pass MSG_NOSIGNAL to send.
Ulrich Drepper [Sat, 6 May 2006 08:03:24 +0000 (08:03 +0000)]
* include/arpa/nameser.h: Add optimizations for NS_GET16 and NS_GET32.
* resolv/res_send.c (res_nameinquery): Use NS_GET16 directly
instead of ns_get16.
(res_queriesmatch): Likewise. Minor optimization.
Ulrich Drepper [Sat, 6 May 2006 07:16:35 +0000 (07:16 +0000)]
[BZ #2499]
2006-05-06 Ulrich Drepper <drepper@redhat.com>
[BZ #2499]
* resolv/res_query.c (__libc_res_nquery): If answerp != NULL,
__libc_res_nsend might reallocate the buffer for the answer. In
this case we have to reload the HP pointer.
Ulrich Drepper [Sat, 6 May 2006 06:18:04 +0000 (06:18 +0000)]
* stdio-common/vfscanf.c (memory_error): Remove definition. Add
some branch prediction hints.
Ulrich Drepper [Fri, 5 May 2006 19:09:39 +0000 (19:09 +0000)]
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define SPLICE_F_*.
* sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
Ulrich Drepper [Fri, 5 May 2006 18:26:01 +0000 (18:26 +0000)]
* sysdeps/s390/s390-32/elf/start.S: Replace pc relative relocation
by a GOT relocation to make Scrt1.o position independent.
* sysdeps/s390/s390-64/elf/start.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: Add support for
six system call parameters.
* sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
Ulrich Drepper [Fri, 5 May 2006 16:18:45 +0000 (16:18 +0000)]
* sunrpc/svcauth_des.c (cache_init): Use calloc instead of
malloc&bzero.
* sunrpc/svc_udp.c (BZERO): Remove definition.
(CALLOC): Define.
(svc_enablecache): Use CALLOC instead of ALLOC&BZERO.
* sunrpc/des_impl.c: Remove ALT_ECB support. We never used it.
(des_SPtrans): Use uint32_t type.
(des_skb): Likewise.
* sunrpc/xdr_ref.c (xdr_reference): Use calloc instead of malloc&bzero.
place where the iso639 array might be accessed beyond the limits.
Ulrich Drepper [Fri, 5 May 2006 13:37:35 +0000 (13:37 +0000)]
[BZ #2509]
2006-05-05 Jakub Jelinek <jakub@redhat.com>
[BZ #2509]
* stdio-common/tst-printf.sh: Adjust for tst-printf.c change even
on 32-bit arches.
2006-05-05 Ulrich Drepper <drepper@redhat.com>
* locale/programs/ld-address.c (address_finish): Fix one more
place where the iso639 array might be access beyond the limits.
Ulrich Drepper [Fri, 5 May 2006 06:01:26 +0000 (06:01 +0000)]
* nis/nis_table.c (nis_list): Avoid clearing res twice before
filling it for the first time.
Ulrich Drepper [Fri, 5 May 2006 03:52:25 +0000 (03:52 +0000)]
* nis/nis_table.c (get_tablepath): Renamed from __get_tablepath.
Adjust all callers.
Free res object content before returning.
Ulrich Drepper [Thu, 4 May 2006 20:56:12 +0000 (20:56 +0000)]
* sunrpc/xdr_array.c (xdr_array): Use calloc instead of malloc&bzero.
Ulrich Drepper [Thu, 4 May 2006 18:23:32 +0000 (18:23 +0000)]
* sunrpc/key_call.c (__rpc_thread_key_cleanup): Also free
client->cl_auth.
Ulrich Drepper [Thu, 4 May 2006 18:08:28 +0000 (18:08 +0000)]
* sunrpc/rpc_thread.c (__rpc_thread_destroy): Don't skip entire
cleanup for initial thread, just the free call on TVP.
Ulrich Drepper [Thu, 4 May 2006 16:05:24 +0000 (16:05 +0000)]
See ChangeLog.16 for earlier changes.
Ulrich Drepper [Thu, 4 May 2006 16:02:39 +0000 (16:02 +0000)]
2006-05-04 Ulrich Drepper <drepper@redhat.com>
* nscd/gai.c (__getline): Define.
Ulrich Drepper [Thu, 4 May 2006 13:50:55 +0000 (13:50 +0000)]
* sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Use larger of PATH_MAX
and page size when allocating buffer.
* sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Document
msg_controllen type issue.
(struct cmsghdr): Same for cmsg_len.
Ulrich Drepper [Thu, 4 May 2006 06:38:07 +0000 (06:38 +0000)]
* sysdeps/posix/getaddrinfo.c: Implement configuration file
handling. /etc/gai.conf can contain replacements for the label
and precedence table. Fix byte order of default label and
precedence table.
* posix/gai.conf: New file.
* posix/tst-rfc3484.c: Adjust for changes to getaddrinfo.c.
* posix/tst-rfc3484-2.c: Likewise.
Ulrich Drepper [Tue, 2 May 2006 21:55:00 +0000 (21:55 +0000)]
[BZ #1201]
* posix/regex.h: g++ still cannot handled [restrict].
Ulrich Drepper [Tue, 2 May 2006 20:28:05 +0000 (20:28 +0000)]
[BZ #2509]
* stdio-common/vfprintf.c (process_arg): Fix reading of signed
short and byte values from parameter list.
* stdio-common/tst-printf.c (main): Add more tests.
* stdio-common/tst-printf.sh: Adjust for tst-printf.c change.
Ulrich Drepper [Tue, 2 May 2006 20:12:29 +0000 (20:12 +0000)]
* iconvdata/testdate/MIK: Fix format to match expected output.
errors not to be reported.
Ulrich Drepper [Tue, 2 May 2006 16:45:25 +0000 (16:45 +0000)]
[BZ #2632]
2006-05-02 Ulrich Drepper <drepper@redhat.com>
[BZ #2632]
* nscd/connections.c (nscd_init): Correct initialization of
in-memory database structure.
* iconvdata/utf-7.c: Don't require more than one character after
Ulrich Drepper [Tue, 2 May 2006 14:35:35 +0000 (14:35 +0000)]
* sysdeps/unix/sysv/linux/alpha/bits/mman.h: Fix MADV_REMOVE value.
* sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
Ulrich Drepper [Tue, 2 May 2006 06:17:16 +0000 (06:17 +0000)]
[BZ #2502]
* iconvdata/utf-7.c: Don't require more than two characters after
the '+' sign starting Unicode shifted sequences.
Ulrich Drepper [Tue, 2 May 2006 00:50:46 +0000 (00:50 +0000)]
* misc/tsearch.c (__tdelete): Remove unnecessary test
[Coverity CID 75].
* sysdeps/generic/unwind-dw2.c (execute_cfa_program): Print error
message for invalid DWARF data instead of crashing.
Ulrich Drepper [Mon, 1 May 2006 22:33:24 +0000 (22:33 +0000)]
* nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Don't try to
free outkey in error case when batch_read is set.
Ulrich Drepper [Mon, 1 May 2006 22:25:23 +0000 (22:25 +0000)]
* nis/nss_nis/nis-grp.c (internal_nis_getgrent_r): Don't try to
free outkey in error case when batch_read is set [Coverity CID 196].
Ulrich Drepper [Mon, 1 May 2006 22:08:16 +0000 (22:08 +0000)]
[BZ #2517]
2006-05-01 Ulrich Drepper <drepper@redhat.com>
[BZ #2517]
* misc/sys/queue.h: Update to more recent version.
Ulrich Drepper [Mon, 1 May 2006 19:42:00 +0000 (19:42 +0000)]
* locales/hy_AM: Remove special collation rules. Fix yesexpr, noexpr,
Ulrich Drepper [Mon, 1 May 2006 19:01:34 +0000 (19:01 +0000)]
[BZ #531]
2006-01-07 Eddy Petrisor <eddy.petrisor@gmail.com>
* locales/ro_RO: The sorting order of the letters a circumflex and
a with breve was corrected according to the Romanian alphabet.
Capital A with breve is in no longer used within day names.
Romanian post-92 writing rules are used within day and abday fields.
Fixed the international currency symbol because after the
denomination (starting with the 1st of July 2005), the symbol is
RON (1 RON = 10000 ROL).
Grouping sign for thousands, which is ".", is used for Romanian.
Numbers are grouped in sets of 3 digits.
The short date format is %d.%m.%Y for Romanian in Romania.
The year is placed before the time in date_fmt.
%Z was replaced with %z in date formats because %Z is not
used nor widely known in Romania, and Romania uses daylight saving
and the difference is more obvious this way.
abday for Saturday was changed because i> looks bad and is
incorrect according to post-92 writing rules.
In Romanian months' names are not capitalized. The same goes for
the days' names.
A4 is the prefered paper type and metric system is used;
FIXMEs were removed.
country_name, country_car, lang_name and lang_ab were added.
name_mr, name_mrs, name_miss were added; name_ms omitted as
there is no proper form it in Romanian.
An explanation related to the cedilla/comma issue and
the reson why the transliteration is a good idea was added.
The default encoding was changed to UTF-8 because this is the
only encoding that supports all Romanian specific symbols and
dicritics.
The name format was corrected while salutation abbreviation was
omitted.
postal_fmt was corrected according to the Romanian style of
writing this information.
* SUPPORTED (SUPPORTED-LOCALES): Add el_CY.ISO-8859-7 and el_CY.UTF-8.
[BZ #531]
* locales/el_CY: New file.
Ulrich Drepper [Mon, 1 May 2006 17:56:25 +0000 (17:56 +0000)]
[BZ #192]
* locales/hu_HU: Better month name abbreviations.
* SUPPORTED (SUPPORTED-LOCALES): Add hy_AM.UTF-8 and hy_AM.ARMSCII-8.
* locales/ru_RU: Use U2002 for thousands_sep and mon_throusands_sep.
Ulrich Drepper [Mon, 1 May 2006 17:35:49 +0000 (17:35 +0000)]
[BZ #68]
* locales/hy_AM: Remove special collation rules. Fux yesexpr, noexpr,
country_name, country_car, lang_name, name_fmt, name_miss, name_mr,
and name_mrs.
Ulrich Drepper [Mon, 1 May 2006 17:26:20 +0000 (17:26 +0000)]
[BZ #388]
* locales/pl_PL: Don't ignore U0020 in collation.
Ulrich Drepper [Mon, 1 May 2006 14:48:05 +0000 (14:48 +0000)]
[BZ #2625]
2006-05-01 Alexander Shopov <ash@contact.bg>
[BZ #2625]
* iconvdata/Makefile (modules): Added MIK.
(distribute): Added mik.c.
(gen-8bit-gap-modules): Added mik.
* iconvdata/TESTS: Added MIK.
* iconvdata/gconv-modules: Added MIK.
* iconvdata/tst-tables.sh: Added MIK.
* iconvdata/mik.c: New file.
* iconvdata/testdata/MIK: New file.
* iconvdata/testdata/MIK..UTF8: New file.
Ulrich Drepper [Mon, 1 May 2006 14:11:50 +0000 (14:11 +0000)]
[BZ #2625]
2006-05-01 Alexander Shopov <ash@contact.bg>
[BZ #2625]
* charmaps/MIK: New file.
Ulrich Drepper [Sun, 30 Apr 2006 23:47:30 +0000 (23:47 +0000)]
* elf/dl-load.c (_dl_map_object_from_fd): Move state change
notification...
(lose): ...to here.
Ulrich Drepper [Sun, 30 Apr 2006 20:19:09 +0000 (20:19 +0000)]
* posix/Makefile (tests): Add tst-getaddrinfo3.
* posix/tst-getaddrinfo3.c: New file.
* sysdeps/posix/getaddrinfo.c (gaih_inet): Add parenthesis in test
for better readability.
Ulrich Drepper [Sun, 30 Apr 2006 16:39:16 +0000 (16:39 +0000)]
* nscd/nscd.h (struct database_dyn): Change filename to an array
to avoid relocations.
Ulrich Drepper [Sun, 30 Apr 2006 16:08:10 +0000 (16:08 +0000)]
* elf/ldd.bash.in: If --verify loop fails to find a dynamic linker
for the file don't just try the first one listed in RTLDLIST
again. We already have the status.
Ulrich Drepper [Sun, 30 Apr 2006 15:36:48 +0000 (15:36 +0000)]
* nis/nss_nisplus/nisplus-publickey.c (parse_grp_str): PIDLIST is
supposed to have NGRPS elements.
Ulrich Drepper [Sun, 30 Apr 2006 07:01:26 +0000 (07:01 +0000)]
* nis/nss_nisplus/nisplus-parser.c: Minor optimizations and
cleanups. Avoid copying data if it can be used in the old place.
Ulrich Drepper [Sun, 30 Apr 2006 05:45:15 +0000 (05:45 +0000)]
* nis/nss_nisplus/nisplus-ethers.c: Add missing null pointer check.
* nis/nss_nisplus/nisplus-hosts.c: Likewise.
* nis/nss_nisplus/nisplus-network.c: Likewise.
* nis/nss_nisplus/nisplus-proto.c: Likewise.
* nis/nss_nisplus/nisplus-rpc.c: Likewise.
* nis/nss_nisplus/nisplus-service.c: Likewise.
* nis/nss_nisplus/nisplus-spwd.c: Likewise.
Ulrich Drepper [Sat, 29 Apr 2006 20:20:05 +0000 (20:20 +0000)]
* nis/nisplus-parser.h (_nss_nisplus_parse_pwent): Add entry
parameter.
(_nss_nisplus_parse_pwent_chk): New prototype.
* nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
Add entry parameter. Use it for column value in all accesses.
Move checks for well-formed reply to...
(_nss_nisplus_parse_pwent_chk): ...here. New function.
* nis/nss_nisplus/nisplus-pwd.c: Support SETENT_BATCH_READ option.
Ulrich Drepper [Sat, 29 Apr 2006 16:26:41 +0000 (16:26 +0000)]
* nis/nss_nisplus/nisplus-parser.c: Some cleanups. Remove
hidden_def definitions.
* nis/nisplus-parser.h: Add parameter names. Remove hidden_proto
definitions.
Ulrich Drepper [Sat, 29 Apr 2006 01:14:07 +0000 (01:14 +0000)]
* nis/nss_nis/nis-spwd.c (internal_nis_getspent_r): Remove data
variable.
* nis/nss-nis.h: Define response_t and intern_t. Declare _nis_saveit.
* nis/nss_nis/nis-pwd.c: Remove response_t and intern_t definition.
(saveit): Renamed to _nis_saveit. Take parameter which is pointer
to the intern_t object. Change all users.
* nis/nss_nis/nis-grp.c: Remove response_t, intern_t, and saveit
definition. Use _nis_saveit instead of saveit.
* nis/nss_nis/nis-service.c: Likewise.
* nis/nss_nis/nis-initgroups.c: Likewise.
(internal_setgrent): Adjust for buffer handling.
(internal_getgrent_r): Likewise.
* nis/nss_nis/nis-rpc.c: Likewise.
Ulrich Drepper [Fri, 28 Apr 2006 21:08:22 +0000 (21:08 +0000)]
* nis/nss-default.c (vars): Add SETENT_BATCH_READ.
* nis/nss: Document SETENT_BATCH_READ.
* nis/libnsl.h: Define NSS_FLAG_SETENT_BATCH_READ.
* nis/nss_nis/nis-service.c (saveit): Don't add NUL byte if the
string is already NUL terminated.
(internal_nis_endservent): No need to return anything. Change callers.
(internal_nis_setservent): One more initialization.
* nis/nss_nis/nis-pwd.c: Support SETENT_BATCH_READ option.
* nis/nss_nis/nis-grp.c: Likewise.
* nis/nss-default.c (init): Rewrite parser to get the variables
Ulrich Drepper [Fri, 28 Apr 2006 19:07:15 +0000 (19:07 +0000)]
* nis/nss-default.c (init): Rewrite parse to get the variables
from a table.
Ulrich Drepper [Fri, 28 Apr 2006 18:42:24 +0000 (18:42 +0000)]
* nis/nss_nis/nis-service.c: Avoid passing pointer to static
variable around. Reduce number of memory allocations by creating
list of memory pools.
Ulrich Drepper [Fri, 28 Apr 2006 17:01:50 +0000 (17:01 +0000)]
* nis/ypclnt.c (__xdr_ypresp_all): Minor optimization in string
handling. Fix typo in comment.
Ulrich Drepper [Thu, 27 Apr 2006 20:20:52 +0000 (20:20 +0000)]
* nscd/connections.c (restart): If we want to switch back to the
old ID use setresuid and setresgid.
(finish_drop_privileges): Likewise.
Ulrich Drepper [Thu, 27 Apr 2006 18:17:50 +0000 (18:17 +0000)]
* sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
Allocate new object which is passed to timer_sigev_thread so that
the timer can be deleted before the new thread is scheduled.
Ulrich Drepper [Thu, 27 Apr 2006 14:48:29 +0000 (14:48 +0000)]
* nscd/nscd.conf: Fix a typo.
Ulrich Drepper [Thu, 27 Apr 2006 14:32:13 +0000 (14:32 +0000)]
[BZ #2611]
2006-04-27 Ulrich Drepper <drepper@redhat.com>
[BZ #2611]
* stdio-common/renameat.c (renameat): Fix typo.
Ulrich Drepper [Thu, 27 Apr 2006 05:54:27 +0000 (05:54 +0000)]
[BZ #1386]
* iconvdata/ibm932.c: Change mapping to allow round-trips.
* iconvdata/ibm943.c: Likewise.
Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
Ulrich Drepper [Thu, 27 Apr 2006 02:56:57 +0000 (02:56 +0000)]
Allow inclusion from <fcntl.h>.
Roland McGrath [Thu, 27 Apr 2006 01:25:47 +0000 (01:25 +0000)]
* Makeconfig (%.v.i rule): Don't use -DASSEMBLER.
The predefined __ASSEMBLER__ is sufficient.
Roland McGrath [Thu, 27 Apr 2006 01:25:28 +0000 (01:25 +0000)]
2006-04-26 Roland McGrath <roland@redhat.com>
* Makeconfig (%.v.i rule): Don't use -DASSEMBLER.
The predefined __ASSEMBLER__ is sufficient.
Ulrich Drepper [Wed, 26 Apr 2006 22:29:43 +0000 (22:29 +0000)]
* sysdeps/unix/sysv/linux/syscalls.list: Add vmsplice.
* sysdeps/unix/sysv/linux/Versions: Export vmsplice@@GLIBC_2.5.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Declare vmsplice.
* sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/bits/uio.h: Fix a typo in a comment.
Ulrich Drepper [Wed, 26 Apr 2006 22:12:30 +0000 (22:12 +0000)]
Fix a typo in a comment.
Roland McGrath [Wed, 26 Apr 2006 20:42:35 +0000 (20:42 +0000)]
fix wrong file names
* locales/bg_BG: Update after iso-4217.def update.
* locales/bs_BA: Likewise.
* locales/es_MX: Likewise.
* locales/ru_RU: Likewise.
* locales/tg_TJ: Likewise.
* locales/tt_RU: Likewise.
Ulrich Drepper [Wed, 26 Apr 2006 19:36:15 +0000 (19:36 +0000)]
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo which caused
bugs not to be reported.
Ulrich Drepper [Wed, 26 Apr 2006 17:32:10 +0000 (17:32 +0000)]
* nscd/nscd.h (struct database_dyn): Add propagate field.
* nscd/nscd_conf.c (nscd_parse_file): Parse auto-propagate lines.
* nscd/nscd.conf: Add auto-propagate lines.
* nscd/connections.c (dbs): Initialize .propagate fields.
* nscd/grpcache.c (cache_addgr): Do not add ID entry for name lookups
and vice versa if propagation is disabled for the database.
* nscd/pwdcache.c (cache_addpw): Likewise.
Ulrich Drepper [Wed, 26 Apr 2006 16:29:29 +0000 (16:29 +0000)]
2006-04-26 James Antill <james.antill@redhat.com>
Ulrich Drepper <drepper@redhat.com>
* config.make.in: Add have-libcap.
* configure.in: Check for libcap.
* nscd/Makefile (selinux-LIBS): Add -lcap if possible.
* nscd/connections.c (finish_drop_privileges): When libcap is available
call preserve_capabilities and install_real_capabilities.
* nscd/selinux.c: Define preserve_capabilities and
install_real_capabilities.
* nscd/selinux.h: Declare preserve_capabilities and
install_real_capabilities.
Ulrich Drepper [Wed, 26 Apr 2006 07:21:15 +0000 (07:21 +0000)]
* locale/iso-4217.def: Update.
Ulrich Drepper [Wed, 26 Apr 2006 05:52:58 +0000 (05:52 +0000)]
[BZ #2420]
* stdlib/strfmon_l.c (__vstrfmon_l): Fix handling of ! modifier.
* localedata/Makefile: Add rules to build and run tst-strfmon1.
* localedata/tst-strfmon1.c: New file.
Ulrich Drepper [Tue, 25 Apr 2006 23:50:31 +0000 (23:50 +0000)]
[BZ #2571]
* nscd/nscd_helper.c (__nscd_get_map_ref): Make mapptr argument a
volatile pointer so that the mapptr->mapped value is re-read after
the lock is retrieved.
* nscd/nscd-client.h: Update __nscd_get_map_ref prototype.
* sysdeps/unix/sysv/linux/ia64/clone2.S: Check for NULL stack
Ulrich Drepper [Tue, 25 Apr 2006 20:37:04 +0000 (20:37 +0000)]
* include/features.h [_GNU_SOURCE] (_POSIX_C_SOURCE): Define to
200112L.
Ulrich Drepper [Tue, 25 Apr 2006 20:09:28 +0000 (20:09 +0000)]
* resolv/res_hconf.c: Minor surgery to 'cmd' and the referenced
functions to avoid relocations.
Ulrich Drepper [Tue, 25 Apr 2006 19:46:41 +0000 (19:46 +0000)]
[BZ #2389]
* resolv/res_hconf.c: Remove 'order' parsing. Just ignore the line.
* resolv/res_hconf.h: Remove Name_Service definition.
(struct hconf): Replace service related fields with placeholders.
* version.h (VERSION): Bump to 2.4.90 for the trunk.
Ulrich Drepper [Tue, 25 Apr 2006 19:14:45 +0000 (19:14 +0000)]
[BZ #2386]
* sysdeps/unix/sysv/linux/ia64/clone2.S: Check for NULL stakc
pointers to match other architectures.
* sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (tests): Add
tst-clone.
* sysdeps/unix/sysv/linux/tst-clone.c: New file.
malloc'ed wbuffer which isn't freed in error conditions.
Ulrich Drepper [Tue, 25 Apr 2006 18:40:37 +0000 (18:40 +0000)]
[BZ #2072]
* stdio-common/printf_fp.c: Fix potential memory leaks for
malloc'ed wbuffer isn't freed in error conditions.
Ulrich Drepper [Tue, 25 Apr 2006 17:47:32 +0000 (17:47 +0000)]
[BZ #2569]
2006-04-25 Ulrich Drepper <drepper@redhat.com>
[BZ #2569]
* iconv/gconv_db.c (__gconv_release_step): Fix condition of assert
call.
* iconvdata/Makefile (tests): Add tst-iconv6.
* iconvdata/tst-iconv6.c: New file.
Ulrich Drepper [Mon, 24 Apr 2006 23:02:03 +0000 (23:02 +0000)]
* posix/tst-rfc3484.c (do_test): Also initialize source_addr_flags
field.
* posix/tst-rfc3484-2.c (do_test): Likewise.
Ulrich Drepper [Mon, 24 Apr 2006 21:11:34 +0000 (21:11 +0000)]
* posix/tst-rfc3484.c: Include <ifaddrs.h> early.
* posix/tst-rfc3484-2.c: Likewise.
Ulrich Drepper [Mon, 24 Apr 2006 21:00:04 +0000 (21:00 +0000)]
* version.h (VERSION): Bunp to 2.4.90 for the trunk.
Ulrich Drepper [Mon, 24 Apr 2006 17:26:23 +0000 (17:26 +0000)]
* malloc/arena.c (ptmalloc_init): Don't call __malloc_check_init
if MALLOC_CHECK_ env var contains an empty string.
Ulrich Drepper [Mon, 24 Apr 2006 17:21:40 +0000 (17:21 +0000)]
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Always initialize in6ai.
Ulrich Drepper [Mon, 24 Apr 2006 17:09:55 +0000 (17:09 +0000)]
* sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): Use
__LONG_LONG_PAIR macro.
Ulrich Drepper [Mon, 24 Apr 2006 17:01:40 +0000 (17:01 +0000)]
* posix/bits/unistd.h (__readlinkat_chk): New prototype.
(__readlinkat_alias): New alias.
(readlinkat): New inline function.
* include/unistd.h (readlinkat): Add libc_hidden_proto.
* sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Add
libc_hidden_def.
* io/readlinkat.c (readlinkat): Likewise.
* debug/readlinkat_chk.c: New file.
* debug/Makefile (routines): Add readlinkat_chk.
* debug/Versions (libc): Export __readlinkat_chk@@GLIBC_2.5.
* debug/tst-chk1.c (do_test): Add readlinkat tests.
* nis/nss_nisplus/nisplus-netgrp.c: Cleanups.
code is possible. Move compatibility code in .text.compat section.
over gaih array. There is only one function to call in the moment.
Ulrich Drepper [Mon, 24 Apr 2006 07:28:27 +0000 (07:28 +0000)]
[BZ #2349]
2006-04-24 Ulrich Drepper <drepper@redhat.com>
[BZ #2349]
* locales/de_CH: Change thousand separator to '.
Ulrich Drepper [Mon, 24 Apr 2006 07:07:43 +0000 (07:07 +0000)]
[BZ #2158]
2006-01-17 Robert Millan <robertmh@gnu.org>
[BZ #2158]
* SUPPORTED: Add ca_AD, ca_FR and ca_IT variants.
* locales/ca_AD: New file.
* locales/ca_FR: New file.
* locales/ca_IT: New file.
Ulrich Drepper [Mon, 24 Apr 2006 06:43:42 +0000 (06:43 +0000)]
[BZ #2134]
* locales/pa_PK: New file.
* SUPPORTED: Add pa_PK.UTF-8.
Ulrich Drepper [Mon, 24 Apr 2006 05:34:57 +0000 (05:34 +0000)]
[BZ #1974]
* locales/vi_VN: Fix int_frac_digits/frac_digits, abmon, mon, d_t_fmt,
am_pm, and name_fmt.
[BZ #1787]
* locales/en_ZA: Updates.
[BZ #1786]
* locales/af_ZA: Updates.
[BZ #1785]
* locales/st_ZA: Updates and formatting changes.
[BZ #1784]
* locales/zu_ZA: Updates and formatting changes.
[BZ #1783]
* locales/xh_ZA: Updates and formatting changes.
Ulrich Drepper [Mon, 24 Apr 2006 04:36:38 +0000 (04:36 +0000)]
* nis/nss_nisplus/nisplus-netgrp.c: Cleanups.
* posix/regex.h: Remove obsolete <sys/types.h> comment and special
code if possible. Move compatibility code in .text.compat section.
Ulrich Drepper [Sun, 23 Apr 2006 19:05:33 +0000 (19:05 +0000)]
[BZ #1951]
2006-04-23 Ulrich Drepper <drepper@redhat.com>
[BZ #1951]
* sysdeps/posix/sigset.c (sigset): Return correct value reflecting
previous signal state.
* signal/Makefile (tests): Add tst-sigset2.
* signal/tst-sigset2.c: New file.
Ulrich Drepper [Sat, 22 Apr 2006 15:10:30 +0000 (15:10 +0000)]
* argp/argp.h (__option_is_short): Check upper limit of
__key. isprint() requires its argument to have the value
of an unsigned char or EOF.
Patch by Sergey Poznyakoff <gray@Mirddin.farlep.net>.
Ulrich Drepper [Fri, 21 Apr 2006 18:24:53 +0000 (18:24 +0000)]
[BZ #2534, BZ #2535]
* posix/regex.h: Remove obsolete <sys/types.h> and special
handling for VMS.
Ulrich Drepper [Fri, 21 Apr 2006 18:18:58 +0000 (18:18 +0000)]
* iconvdata/ibm437.c: Define HAS_HOLES to 0.
* iconvdata/ibm861.c: Likewise.
* iconvdata/ibm862.c: Likewise.
* iconvdata/ibm863.c: Likewise.
* iconvdata/ibm865.c: Likewise.
Reported by <ash@contact.bg>.
Ulrich Drepper [Thu, 20 Apr 2006 06:27:35 +0000 (06:27 +0000)]
* include/ifaddrs.h: Get uint32_t definition.
* posix/tst-rfc3484.c: Update fake __check_pf implementation.
* posix/tst-rfc3484-2.c: Likewise.
Ulrich Drepper [Wed, 19 Apr 2006 07:27:58 +0000 (07:27 +0000)]
* sysdeps/unix/sysv/linux/kernel-features.h: Define
__ASSUME_PROC_SELF_FD_SYMLINK.
* sysdeps/unix/sysv/linux/ttyname.c: Cleanups. Avoid compatibility
code is possible. Move compatibility code in .text.compat section.
* sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
Ulrich Drepper [Tue, 18 Apr 2006 23:35:12 +0000 (23:35 +0000)]
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Rewrite to avoid loop
over gaih array. There is only on function to call in the moment.
Ulrich Drepper [Sun, 16 Apr 2006 21:34:32 +0000 (21:34 +0000)]
* include/ifaddrs.h: Define struct in6addrinfo.
Add two more parameters to __check_pf.
* sysdeps/unix/sysv/linux/check_pf.c: When using the netlink
interface, determine whether IPv6 addresses are deprecated or
temporary. Create array of those addresses.
* inet/check_pf.c: Always tell caller there are no depracated
and temporary addresses.
* sysdeps/posix/getaddrinfo.c: Pretty printing.
(struct sort_result): Add source_addr_flags field.
(rfc3484_sort): Implement rule 3 and 7.
(in6aicmp): New function.
(getaddrinfo): Call __check_pf also when we need info about IPv6
source addresses. When creating array for sorting addresses,
look up deprecated and temporary addresses returned by __check_pf
and add flag if necessary.
Ulrich Drepper [Sat, 15 Apr 2006 21:43:13 +0000 (21:43 +0000)]
* sysdeps/posix/getaddrinfo.c: Fix precedence for IP V4-to-V6
mapped addresses.
* posix/Makefile (tests): Add tst-rfc3484-2.
* posix/tst-rfc3484-2.c: New file.
Ulrich Drepper [Sat, 15 Apr 2006 18:07:00 +0000 (18:07 +0000)]
* nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):
* nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent):
Likewise.
Ulrich Drepper [Sat, 15 Apr 2006 17:52:52 +0000 (17:52 +0000)]
* nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent):
Significant cleanups. Correct adjustment for pointer array.
Likewise.
Ulrich Drepper [Sat, 15 Apr 2006 17:40:08 +0000 (17:40 +0000)]
* nis/nss_nisplus/nisplus-publickey.c: Minor cleanups throughout.
Ulrich Drepper [Sat, 15 Apr 2006 17:27:11 +0000 (17:27 +0000)]
* nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):
Significant cleanups. Correct adjustment for pointer array
Likewise.
Ulrich Drepper [Sat, 15 Apr 2006 17:11:28 +0000 (17:11 +0000)]
* nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):
* nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
Likewise.
Ulrich Drepper [Sat, 15 Apr 2006 16:22:13 +0000 (16:22 +0000)]
* nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
Significant cleanups. Correct adjustment for pointer array.
Ulrich Drepper [Fri, 14 Apr 2006 21:57:20 +0000 (21:57 +0000)]
* sysdeps/unix/sysv/linux/syscalls.list: Add tee syscall.
* sysdeps/unix/sysv/linux/Versions: Export tee@GLIBC_2.5.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Add prototype for tee.
* sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.