
1: 2006-05-03 Ulrich Drepper <drepper@redhat.com> 2: 3: * sysdeps/posix/getaddrinfo.c: Implement configuration file 4: handling. /etc/gai.conf can contain replacements for the label 5: and precedence table. Fix byte order of default label and 6: precedence table. 7: * posix/gai.conf: New file. 8: * posix/tst-rfc3484.c: Adjust for changes to getaddrinfo.c. 9: * posix/tst-rfc3484-2.c: Likewise. 10: 11: 2006-05-02 Ulrich Drepper <drepper@redhat.com> 12: 13: [BZ #1201] 14: * posix/regex.h: g++ still cannot handled [restrict]. 15: 16: [BZ #2509] 17: * stdio-common/vfprintf.c (process_arg): Fix reading of signed 18: short and byte values from parameter list. 19: * stdio-common/tst-printf.c (main): Add more tests. 20: * stdio-common/tst-printf.sh: Adjust for tst-printf.c change. 21: 22: * iconvdata/testdate/MIK: Fix format to match expected output. 23: 24: [BZ #2632] 25: * nscd/connections.c (nscd_init): Correct initialization of 26: in-memory database structure. 27: 28: 2006-05-02 Thorsten Kukuk <kukuk@suse.de> 29: 30: * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Fix MADV_REMOVE value. 31: * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. 32: * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. 33: * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. 34: * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. 35: * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. 36: * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. 37: * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. 38: 39: 2006-05-01 Ulrich Drepper <drepper@redhat.com> 40: 41: [BZ #2502] 42: * iconvdata/utf-7.c: Don't require more than one character after 43: the '+' sign starting Unicode shifted sequences. 44: 45: * misc/tsearch.c (__tdelete): Remove unnecessary test 46: [Coverity CID 75]. 47: 48: * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Print error 49: message for invalid DWARF data instead of crashing. 50: 51: * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Don't try to 52: free outkey in error case when batch_read is set. 53: 54: * nis/nss_nis/nis-grp.c (internal_nis_getgrent_r): Don't try to 55: free outkey in error case when batch_read is set [Coverity CID 196]. 56: 57: [BZ #2517] 58: * misc/sys/queue.h: Update to more recent version. 59: 60: 2006-05-01 Alexander Shopov <ash@contact.bg> 61: 62: [BZ #2625] 63: * iconvdata/Makefile (modules): Added MIK. 64: (distribute): Added mik.c. 65: (gen-8bit-gap-modules): Added mik. 66: * iconvdata/TESTS: Added MIK. 67: * iconvdata/gconv-modules: Added MIK. 68: * iconvdata/tst-tables.sh: Added MIK. 69: * iconvdata/mik.c: New file. 70: * iconvdata/testdata/MIK: New file. 71: * iconvdata/testdata/MIK..UTF8: New file. 72: 73: 2006-04-30 Ulrich Drepper <drepper@redhat.com> 74: 75: * elf/dl-load.c (_dl_map_object_from_fd): Move state change 76: notification... 77: (lose): ...to here. 78: 79: * posix/Makefile (tests): Add tst-getaddrinfo3. 80: * posix/tst-getaddrinfo3.c: New file. 81: 82: * sysdeps/posix/getaddrinfo.c (gaih_inet): Add parenthesis in test 83: for better readability. 84: 85: * nscd/nscd.h (struct database_dyn): Change filename to an array 86: to avoid relocations. 87: 88: * elf/ldd.bash.in: If --verify loop fails to find a dynamic linker 89: for the file don't just try the first one listed in RTLDLIST 90: again. We already have the status. 91: 92: * nis/nss_nisplus/nisplus-publickey.c (parse_grp_str): PIDLIST is 93: supposed to have NGRPS elements. 94: 95: * nis/nss_nisplus/nisplus-parser.c: Minor optimizations and 96: cleanups. Avoid copying data if it can be used in the old place. 97: 98: 2006-04-29 Ulrich Drepper <drepper@redhat.com> 99: 100: * nis/nss_nisplus/nisplus-ethers.c: Add missing null pointer check. 101: * nis/nss_nisplus/nisplus-hosts.c: Likewise. 102: * nis/nss_nisplus/nisplus-network.c: Likewise. 103: * nis/nss_nisplus/nisplus-proto.c: Likewise. 104: * nis/nss_nisplus/nisplus-rpc.c: Likewise. 105: * nis/nss_nisplus/nisplus-service.c: Likewise. 106: * nis/nss_nisplus/nisplus-spwd.c: Likewise. 107: 108: * nis/nisplus-parser.h (_nss_nisplus_parse_pwent): Add entry 109: parameter. 110: (_nss_nisplus_parse_pwent_chk): New prototype. 111: * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent): 112: Add entry parameter. Use it for column value in all accesses. 113: Move checks for well-formed reply to... 114: (_nss_nisplus_parse_pwent_chk): ...here. New function. 115: * nis/nss_nisplus/nisplus-pwd.c: Support SETENT_BATCH_READ option. 116: 117: * nis/nss_nisplus/nisplus-parser.c: Some cleanups. Remove 118: hidden_def definitions. 119: * nis/nisplus-parser.h: Add parameter names. Remove hidden_proto 120: definitions. 121: 122: 2006-04-28 Ulrich Drepper <drepper@redhat.com> 123: 124: * nis/nss_nis/nis-spwd.c (internal_nis_getspent_r): Remove data 125: variable. 126: 127: * nis/nss-nis.h: Define response_t and intern_t. Declare _nis_saveit. 128: * nis/nss_nis/nis-pwd.c: Remove response_t and intern_t definition. 129: (saveit): Renamed to _nis_saveit. Take parameter which is pointer 130: to the intern_t object. Change all users. 131: * nis/nss_nis/nis-grp.c: Remove response_t, intern_t, and saveit 132: definition. Use _nis_saveit instead of saveit. 133: * nis/nss_nis/nis-service.c: Likewise. 134: * nis/nss_nis/nis-initgroups.c: Likewise. 135: (internal_setgrent): Adjust for buffer handling. 136: (internal_getgrent_r): Likewise. 137: * nis/nss_nis/nis-rpc.c: Likewise. 138: 139: * nis/nss-default.c (vars): Add SETENT_BATCH_READ. 140: * nis/nss: Document SETENT_BATCH_READ. 141: * nis/libnsl.h: Define NSS_FLAG_SETENT_BATCH_READ. 142: * nis/nss_nis/nis-service.c (saveit): Don't add NUL byte if the 143: string is already NUL terminated. 144: (internal_nis_endservent): No need to return anything. Change callers. 145: (internal_nis_setservent): One more initialization. 146: * nis/nss_nis/nis-pwd.c: Support SETENT_BATCH_READ option. 147: * nis/nss_nis/nis-grp.c: Likewise. 148: 149: * nis/nss-default.c (init): Rewrite parser to get the variables 150: from a table. 151: 152: * nis/nss_nis/nis-service.c: Avoid passing pointer to static 153: variable around. Reduce number of memory allocations by creating 154: list of memory pools. 155: 156: * nis/ypclnt.c (__xdr_ypresp_all): Minor optimization in string 157: handling. Fix typo in comment. 158: 159: 2006-04-27 Ulrich Drepper <drepper@redhat.com> 160: 161: * nscd/connections.c (restart): If we want to switch back to the 162: old ID use setresuid and setresgid. 163: (finish_drop_privileges): Likewise. 164: 165: 2006-04-27 Jakub Jelinek <jakub@redhat.com> 166: 167: * nscd/nscd.conf: Fix a typo. 168: 169: 2006-04-27 Ulrich Drepper <drepper@redhat.com> 170: 171: [BZ #2611] 172: * stdio-common/renameat.c (renameat): Fix typo. 173: 174: 2006-04-26 Roland McGrath <roland@redhat.com> 175: 176: * Makeconfig (%.v.i rule): Don't use -DASSEMBLER. 177: The predefined __ASSEMBLER__ is sufficient. 178: 179: 2006-04-26 Ulrich Drepper <drepper@redhat.com> 180: 181: [BZ #1386] 182: * iconvdata/ibm932.c: Change mapping to allow round-trips. 183: * iconvdata/ibm943.c: Likewise. 184: Patch by Masahide Washizawa <WASHI@jp.ibm.com>. 185: 186: * sysdeps/unix/sysv/linux/syscalls.list: Add vmsplice. 187: * sysdeps/unix/sysv/linux/Versions: Export vmsplice@@GLIBC_2.5. 188: * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Declare vmsplice. 189: * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. 190: * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. 191: * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. 192: * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. 193: * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. 194: * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. 195: * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. 196: 197: * sysdeps/unix/sysv/linux/bits/uio.h: Fix a typo in a comment. 198: 199: * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo which caused 200: errors not to be reported. 201: 202: * nscd/nscd.h (struct database_dyn): Add propagate field. 203: * nscd/nscd_conf.c (nscd_parse_file): Parse auto-propagate lines. 204: * nscd/nscd.conf: Add auto-propagate lines. 205: * nscd/connections.c (dbs): Initialize .propagate fields. 206: * nscd/grpcache.c (cache_addgr): Do not add ID entry for name lookups 207: and vice versa if propagation is disabled for the database. 208: * nscd/pwdcache.c (cache_addpw): Likewise. 209: 210: 2006-04-26 James Antill <james.antill@redhat.com> 211: Ulrich Drepper <drepper@redhat.com> 212: 213: * config.make.in: Add have-libcap. 214: * configure.in: Check for libcap. 215: * nscd/Makefile (selinux-LIBS): Add -lcap if possible. 216: * nscd/connections.c (finish_drop_privileges): When libcap is available 217: call preserve_capabilities and install_real_capabilities. 218: * nscd/selinux.c: Define preserve_capabilities and 219: install_real_capabilities. 220: * nscd/selinux.h: Declare preserve_capabilities and 221: install_real_capabilities. 222: 223: 2006-04-26 Ulrich Drepper <drepper@redhat.com> 224: 225: * locale/iso-4217.def: Update. 226: 227: 2006-04-25 Ulrich Drepper <drepper@redhat.com> 228: 229: [BZ #2420] 230: * stdlib/strfmon_l.c (__vstrfmon_l): Fix handling of ! modifier. 231: * localedata/Makefile: Add rules to build and run tst-strfmon1. 232: * localedata/tst-strfmon1.c: New file. 233: 234: [BZ #2571] 235: * nscd/nscd_helper.c (__nscd_get_map_ref): Make mapptr argument a 236: volatile pointer so that the mapptr->mapped value is re-read after 237: the lock is retrieved. 238: * nscd/nscd-client.h: Update __nscd_get_map_ref prototype. 239: 240: * include/features.h [_GNU_SOURCE] (_POSIX_C_SOURCE): Define to 241: 200112L. 242: 243: * resolv/res_hconf.c: Minor surgery to 'cmd' and the referenced 244: functions to avoid relocations. 245: 246: [BZ #2389] 247: * resolv/res_hconf.c: Remove 'order' parsing. Just ignore the line. 248: * resolv/res_hconf.h: Remove Name_Service definition. 249: (struct hconf): Replace service related fields with placeholders. 250: 251: [BZ #2386] 252: * sysdeps/unix/sysv/linux/ia64/clone2.S: Check for NULL stack 253: pointers to match other architectures. 254: * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (tests): Add 255: tst-clone. 256: * sysdeps/unix/sysv/linux/tst-clone.c: New file. 257: 258: [BZ #2072] 259: * stdio-common/printf_fp.c: Fix potential memory leaks for 260: malloc'ed wbuffer which isn't freed in error conditions. 261: 262: [BZ #2569] 263: * iconv/gconv_db.c (__gconv_release_step): Fix condition of assert 264: call. 265: * iconvdata/Makefile (tests): Add tst-iconv6. 266: * iconvdata/tst-iconv6.c: New file. 267: 268: 2006-04-24 Ulrich Drepper <drepper@redhat.com> 269: 270: * posix/tst-rfc3484.c (do_test): Also initialize source_addr_flags 271: field. 272: * posix/tst-rfc3484-2.c (do_test): Likewise. 273: 274: * posix/tst-rfc3484.c: Include <ifaddrs.h> early. 275: * posix/tst-rfc3484-2.c: Likewise. 276: 277: * version.h (VERSION): Bump to 2.4.90 for the trunk. 278: 279: 2006-04-24 Jakub Jelinek <jakub@redhat.com> 280: 281: * malloc/arena.c (ptmalloc_init): Don't call __malloc_check_init 282: if MALLOC_CHECK_ env var contains an empty string. 283: 284: 2006-04-24 Ulrich Drepper <drepper@redhat.com> 285: 286: * sysdeps/posix/getaddrinfo.c (getaddrinfo): Always initialize in6ai. 287: 288: 2006-04-24 Jakub Jelinek <jakub@redhat.com> 289: 290: * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): Use 291: __LONG_LONG_PAIR macro. 292: 293: * posix/bits/unistd.h (__readlinkat_chk): New prototype. 294: (__readlinkat_alias): New alias. 295: (readlinkat): New inline function. 296: * include/unistd.h (readlinkat): Add libc_hidden_proto. 297: * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Add 298: libc_hidden_def. 299: * io/readlinkat.c (readlinkat): Likewise. 300: * debug/readlinkat_chk.c: New file. 301: * debug/Makefile (routines): Add readlinkat_chk. 302: * debug/Versions (libc): Export __readlinkat_chk@@GLIBC_2.5. 303: * debug/tst-chk1.c (do_test): Add readlinkat tests. 304: 305: 2006-04-23 Ulrich Drepper <drepper@redhat.com> 306: 307: * nis/nss_nisplus/nisplus-netgrp.c: Cleanups. 308: 309: [BZ #1951] 310: * sysdeps/posix/sigset.c (sigset): Return correct value reflecting 311: previous signal state. 312: * signal/Makefile (tests): Add tst-sigset2. 313: * signal/tst-sigset2.c: New file. 314: 315: 2006-04-21 Jakub Jelinek <jakub@redhat.com> 316: 317: * argp/argp.h (__option_is_short): Check upper limit of 318: __key. isprint() requires its argument to have the value 319: of an unsigned char or EOF. 320: Patch by Sergey Poznyakoff <gray@Mirddin.farlep.net>. 321: 322: 2006-04-21 Ulrich Drepper <drepper@redhat.com> 323: 324: [BZ #2534, BZ #2535] 325: * posix/regex.h: Remove obsolete <sys/types.h> comment and special 326: handling for VMS. 327: 328: * iconvdata/ibm437.c: Define HAS_HOLES to 0. 329: * iconvdata/ibm861.c: Likewise. 330: * iconvdata/ibm862.c: Likewise. 331: * iconvdata/ibm863.c: Likewise. 332: * iconvdata/ibm865.c: Likewise. 333: Reported by <ash@contact.bg>. 334: 335: 2006-04-19 Ulrich Drepper <drepper@redhat.com> 336: 337: * include/ifaddrs.h: Get uint32_t definition. 338: * posix/tst-rfc3484.c: Update fake __check_pf implementation. 339: * posix/tst-rfc3484-2.c: Likewise. 340: 341: * sysdeps/unix/sysv/linux/kernel-features.h: Define 342: __ASSUME_PROC_SELF_FD_SYMLINK. 343: * sysdeps/unix/sysv/linux/ttyname.c: Cleanups. Avoid compatibility 344: code is possible. Move compatibility code in .text.compat section. 345: * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. 346: 347: 2006-04-18 Ulrich Drepper <drepper@redhat.com> 348: 349: * sysdeps/posix/getaddrinfo.c (getaddrinfo): Rewrite to avoid loop 350: over gaih array. There is only one function to call in the moment. 351: 352: 2006-04-16 Ulrich Drepper <drepper@redhat.com> 353: 354: * include/ifaddrs.h: Define struct in6addrinfo. 355: Add two more parameters to __check_pf. 356: * sysdeps/unix/sysv/linux/check_pf.c: When using the netlink 357: interface, determine whether IPv6 addresses are deprecated or 358: temporary. Create array of those addresses. 359: * inet/check_pf.c: Always tell caller there are no depracated 360: and temporary addresses. 361: * sysdeps/posix/getaddrinfo.c: Pretty printing. 362: (struct sort_result): Add source_addr_flags field. 363: (rfc3484_sort): Implement rule 3 and 7. 364: (in6aicmp): New function. 365: (getaddrinfo): Call __check_pf also when we need info about IPv6 366: source addresses. When creating array for sorting addresses, 367: look up deprecated and temporary addresses returned by __check_pf 368: and add flag if necessary. 369: 370: 2006-04-15 Ulrich Drepper <drepper@redhat.com> 371: 372: * sysdeps/posix/getaddrinfo.c: Fix precedence for IP V4-to-V6 373: mapped addresses. 374: * posix/Makefile (tests): Add tst-rfc3484-2. 375: * posix/tst-rfc3484-2.c: New file. 376: 377: * nis/nss_nisplus/nisplus-publickey.c: Minor cleanups throughout. 378: * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent): 379: Significant cleanups. Correct adjustment for pointer array. 380: * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): 381: Likewise. 382: * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent): 383: Likewise. 384: * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent): 385: Likewise. 386: * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): 387: Likewise. 388: 389: 2006-04-14 Ulrich Drepper <drepper@redhat.com> 390: 391: * sysdeps/unix/sysv/linux/syscalls.list: Add tee syscall. 392: * sysdeps/unix/sysv/linux/Versions: Export tee@GLIBC_2.5. 393: * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Add prototype for tee. 394: * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. 395: * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. 396: * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. 397: * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. 398: * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. 399: * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. 400: * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. 401: 402: * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_parse_etherent): 403: Minor cleanups. NUL terminate name string. 404: 405: * nis/Versions: No need to export _nss_nisplus_parse_grent, 406: _nss_nisplus_parse_pwent, and _nss_nisplus_parse_spent. 407: 408: * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_parse_aliasent): 409: Avoid unnecessary allocation. Fix adjustment for pointer value. 410: 411: * nis/nss_nisplus/nisplus-parser.c: Cleanups, use NIS_RES_* 412: macros. Avoid unnecessary allocation. 413: 414: * sysdeps/unix/sysv/linux/sync_file_range.c: New file. 415: 416: 2006-04-13 Ulrich Drepper <drepper@redhat.com> 417: 418: * nis/Makefile (libnsl-routimes): Add nss-default. 419: * nis/Versions (libnsl) [GLIBC_PRIVATE]: Export _nsl_default_nss. 420: * nis/nss-nis.c: Move /etc/default/nss handling to... 421: * nis/nss-default.c: ...here. New file. 422: * nis/libnsl.h: New file. 423: * nis/nss-nis.h: Remove NSS_FLAG_* definitions and _nis_default_nss 424: plus auxilary definitions. 425: * nis/nss_nis/nis-initgroups.c: Use _nsl_default_nss instead of 426: _nis_default_nss. 427: * nis/nss_nis/nis-service.c: Likewise. 428: 429: 2006-04-07 Steven Munroe <sjmunroe@us.ibm.com> 430: 431: * sysdeps/powerpc/fpu/bits/mathinline.h 432: [__WORDSIZE == 64 || _ARCH_PWR4]: Define __CPU_HAS_FSQRT. 433: (__ieee754_sqrt): Fix comment. 434: (__ieee754_sqrtf): Fix comment. 435: * sysdeps/powerpc/fpu/e_sqrt.c (__ieee754_sqrt): Fix comment. 436: Check __CPU_HAS_FSQRT instead of dl_hwcap. 437: * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Likewise. 438: 439: 2006-04-08 Ulrich Drepper <drepper@redhat.com> 440: 441: * inet/inet_ntoa.c: Rewrite to use TLS instead of TSD. 442: 443: * nis/nss_nis/nis-alias.c: Optimize use of yperr2nss. Avoid calling 444: it for YPERR_SUCCESS. Minor cleanups. Add __builtin_expect. 445: * nis/nss_nis/nis-ethers.c: Likewise. 446: * nis/nss_nis/nis-grp.c: Likewise. 447: * nis/nss_nis/nis-hosts.c: Likewise. 448: * nis/nss_nis/nis-initgroups.c: Likewise. 449: * nis/nss_nis/nis-netgrp.c: Likewise. 450: * nis/nss_nis/nis-network.c: Likewise. 451: * nis/nss_nis/nis-proto.c: Likewise. 452: * nis/nss_nis/nis-publickey.c: Likewise. 453: * nis/nss_nis/nis-pwd.c: Likewise. 454: * nis/nss_nis/nis-rpc.c: Likewise. 455: * nis/nss_nis/nis-service.c: Likewise. 456: * nis/nss_nis/nis-spwd.c: Likewise. 457: 458: * nis/nis_ping.c: Remove unnecessary conditionals before 459: nis_freeresult calls. 460: * nis/nis_ismember.c: Likewise. 461: 462: * elf/rtld.c (process_envvars): Fix handling of LD_POINTER_GUARD. 463: Reported by genesh@comcast.net. 464: 465: * io/fts.c (fts_build): Call fts_lfree in the two error cases 466: after the loop [Coverity CID 187]. 467: 468: * nis/nis_getservlist.c (nis_getservlist): Also free lookup result 469: in error case [Coverity CID 189]. 470: 471: * nis/nis_getservlist.c (nis_getservlist): One more free call 472: needed [Coverity CID 190]. 473: 474: 2006-04-07 Jakub Jelinek <jakub@redhat.com> 475: 476: * sysdeps/generic/unwind-dw2-fde.c (end_fde_sort): Remove 477: unnecessary test for accu->linear == NULL [Coverity CID 79]. 478: 479: 2006-04-07 Ulrich Drepper <drepper@redhat.com> 480: 481: * sysdeps/posix/tempname.c (__gen_tempname): Change attempts_min 482: into a macro. Use preprocessor to decide how to initialize 483: attempts [Coverity CID 67]. 484: 485: * io/fts.c (fts_build): Comment out dead code [Coverity CID 68]. 486: 487: * sunrpc/rpc_parse.c (def_union): Comment out dead code 488: [Coverity CID 70]. 489: 490: * locale/programs/linereader.c (lr_token): Remove duplicate 491: handling of EOF [Coverity CID 71]. 492: 493: * locale/programs/ld-numeric.c (numeric_read) [case tok_grouping]: 494: We bail out early if ignore_content is set, so there is no need to 495: check it later again [Coverity CID 72]. 496: 497: * inet/inet6_option.c (inet6_option_find): Check *tptrp for NULL, 498: not tptrp [Coverity CID 73]. 499: 500: * inet/inet6_option.c (inet6_option_next): Check *tptrp for NULL, 501: not tptrp [Coverity CID 74]. 502: 503: * misc/tsearch.c (__tsearch): Don't rotate tree if memory 504: allocation failed [Coverity CID 78]. 505: 506: 2006-04-07 Jakub Jelinek <jakub@redhat.com> 507: 508: * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Fix typo in 509: the last change. 510: 511: 2006-04-07 Ulrich Drepper <drepper@redhat.com> 512: 513: * inet/rexec.c (rexec_af): If we have no canonical name don't 514: proceed further [Coverity CID 86]. 515: 516: * iconv/iconv_charmap.c (process_fd): Initialize inptr from inbuf, 517: not to NULL [Coverity CID 88]. 518: 519: 2006-04-06 Ulrich Drepper <drepper@redhat.com> 520: 521: * elf/ldconfig.c (main): Use rawmemchr instead of strchr. 522: * nis/nis_call.c (rec_dirsearch): Likewise. 523: * nis/nis_local_names.c (nis_local_host): Likewise. 524: (nis_local_directory): Likewise. 525: * intl/explodename.c (_nl_explode_name): Likewise. 526: 527: * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Don't handle 528: DW_CFA_GNU_window_save if it obviously cannot work [Coverity CID 102]. 529: 530: * locale/programs/ld-address.c (address_finish): Fix conditions 531: for error messages [Coverity CID 104]. 532: 533: * libio/fmemopen.c (fmemopen): Free stream memory in case of 534: invalid length [Coverity CID 106]. 535: 536: * nss/nss_files/files-key.c (search): Close stream before 537: successful return [Coverity CID 107]. 538: 539: * io/fts.c (fts_open): Don't allocate parent if *argv==NULL 540: [Coverity CID 108]. 541: 542: * sunrpc/rpc_cout.c (inline_struct): Free sizestr after use 543: [Coverity CID 110, 109]. 544: 545: * sunrpc/rpc_scan.c (docppline): Free file string if it is not 546: going to be used [Coverity CID 111]. 547: 548: * sysdeps/unix/sysv/linux/getsourcefilter.c (getsourcefilter): Free 549: memory if socket level value cannot be retrieved [Coverity CID 112]. 550: 551: * nis/nis_clone_dir.c (nis_clone_directory): Free all memory in 552: error case [Coverity CID 114]. 553: 554: * nis/nis_clone_res.c (nis_clone_result): Free all memory in the 555: error cases [Coverity CID 115]. 556: 557: * sunrpc/rpc_parse.c (get_definition): Free defp if tok == 558: TOK_EOF [Coverity CID 116]. 559: 560: * sysdeps/unix/sysv/linux/setsourcefilter.c (setsourcefilter): Free 561: memory if socket level value cannot be retrieved [Coverity CID 117]. 562: 563: * elf/cache.c (save_cache): Initialize pad to avoid writing 564: uninitialized data to disk. 565: 566: * elf/cache.c (save_cache): Free file_entries_new [Coverity CID 118]. 567: 568: * intl/finddomain.c (_nl_find_domain): Avoid strdup of expand 569: locale name, use strdupa. Remove free call [Coverity CID 119]. 570: 571: * sunrpc/rpc_main.c (generate_guard): Avoid extra allocation and 572: the resulting leak [Coverity CID 121]. 573: 574: * sunrpc/rpc_main.c (mkfile_output): Free all allocated memory 575: [Coverity CID 122]. 576: 577: * sunrpc/rpc_main.c (h_output): Free guard after we are done 578: [Coverity CID 123]. 579: 580: * sunrpc/svc_udp.c (cache_set): Free victim if newbuf allocation 581: fails [Coverity CID 126]. 582: 583: * sunrpc/svc_udp.c (svcudp_enablecache): Free memory in error 584: cases [Coverity CID 127]. 585: 586: * nis/nis_table.c (__create_ib_request): Free ibreq in case strdup 587: fails [Coverity CID 128]. 588: 589: * nis/nis_getservlist.c (nis_getservlist): Free all memory in case 590: of an error [Coverity CID 130, 129]. 591: 592: * nis/nis_print_group_entry.c (nis_print_group_entry): If 593: nis_lookup call failed, return. Free lookup result in error 594: cases [Coverity CID 131]. 595: 596: * nis/nis_removemember.c (nis_removemember): Free all memory in 597: error cases [Coverity CID 132]. 598: 599: * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r): 600: Always free lookup result [Coverity CID 134]. 601: 602: * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r): 603: Always free lookup result [Coverity CID 135]. 604: 605: * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r): 606: Always free lookup result [Coverity CID 136]. 607: 608: * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r): 609: Before retrying, free old result [Coverity CID 137]. 610: 611: * nis/nss_nisplus/nisplus-publickey.c (_nss_nisplus_netname2user): 612: Free res in case UID is zero [Coverity CID 138]. 613: 614: * nis/ypclnt.c (yp_update): Always free master string 615: [Coverity CID 140]. 616: 617: * nis/nis_creategroup.c (nis_creategroup): Free all memory in 618: error cases [Coverity CID 143, 142, 141]. 619: 620: * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey): Free result 621: if yp_match call succeeded [Coverity CID 155]. 622: 623: * nis/nss_nis/nis-publickey.c (_nss_nis_getsecretkey): Free string 624: allocated in yp_match at all times [Coverity CID 157, 156]. 625: 626: * nscd/nscd.c (write_pid): Close stream also if writing failed 627: [Coverity CID 165]. 628: 629: * nis/nis_table.c (nis_add_entry): Move test for NULL parameter 630: ahead of first use [Coverity CID 167]. 631: 632: * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Move test 633: for NULL parameter ahead of first use [Coverity CID 168]. 634: 635: * intl/finddomain.c (_nl_find_domain): We never return NULL if we 636: found the locale [Coverity CID 169]. 637: 638: * inet/getnameinfo.c (getnameinfo): __getservbyport_r does not set 639: herrno [Coverity CID 178]. 640: 641: * nis/nis_checkpoint.c (nis_checkpoint): Don't access and returned 642: freed object [Coverity CID 182]. 643: 644: 2006-04-05 Alan Modra <amodra@bigpond.net.au> 645: Jakub Jelinek <jakub@redhat.com> 646: 647: * posix/bits/unistd.h (readlink, __readlink_chk, __readlink_alias): 648: Change return value to ssize_t. 649: 650: 2006-04-04 Roland McGrath <roland@redhat.com> 651: 652: * string/Makefile (CFLAGS-inl-tester.c): New variable. 653: (CFLAGS-tst-inlcall.c): Likewise. 654: 655: [BZ #2508] 656: * nscd/Makefile ($(objpfx)nscd_stat.o: sysincludes): Move setting 657: inside [$(have-selinux) = yes]. 658: ($(objpfx)selinux.o: sysincludes): Likewise. 659: 660: * iconvdata/Makefile (generate-8bit-table): Use LC_ALL=C. 661: (generate-8bit-gap-table): Likewise. 662: ($(objpfx)iso8859-7jp.stmp): Likewise. 663: Reported by S.ÃaÄlar Onur <caglar@uludag.org.tr>. 664: 665: 2006-03-21 Joseph S. Myers <joseph@codesourcery.com> 666: 667: * soft-fp/adddf3.c: Add libgcc exception. Update FSF address. 668: * soft-fp/addsf3.c: Likewise. 669: * soft-fp/addtf3.c: Likewise. 670: * soft-fp/divdf3.c: Likewise. 671: * soft-fp/divsf3.c: Likewise. 672: * soft-fp/divtf3.c: Likewise. 673: * soft-fp/double.h: Likewise. 674: * soft-fp/eqdf2.c: Likewise. 675: * soft-fp/eqsf2.c: Likewise. 676: * soft-fp/eqtf2.c: Likewise. 677: * soft-fp/extenddftf2.c: Likewise. 678: * soft-fp/extended.h: Likewise. 679: * soft-fp/extendsfdf2.c: Likewise. 680: * soft-fp/extendsftf2.c: Likewise. 681: * soft-fp/fixdfdi.c: Likewise. 682: * soft-fp/fixdfsi.c: Likewise. 683: * soft-fp/fixsfdi.c: Likewise. 684: * soft-fp/fixsfsi.c: Likewise. 685: * soft-fp/fixtfdi.c: Likewise. 686: * soft-fp/fixtfsi.c: Likewise. 687: * soft-fp/fixunsdfdi.c: Likewise. 688: * soft-fp/fixunsdfsi.c: Likewise. 689: * soft-fp/fixunssfdi.c: Likewise. 690: * soft-fp/fixunssfsi.c: Likewise. 691: * soft-fp/fixunstfdi.c: Likewise. 692: * soft-fp/fixunstfsi.c: Likewise. 693: * soft-fp/floatdidf.c: Likewise. 694: * soft-fp/floatdisf.c: Likewise. 695: * soft-fp/floatditf.c: Likewise. 696: * soft-fp/floatsidf.c: Likewise. 697: * soft-fp/floatsisf.c: Likewise. 698: * soft-fp/floatsitf.c: Likewise. 699: * soft-fp/floatundidf.c: Likewise. 700: * soft-fp/floatundisf.c: Likewise. 701: * soft-fp/floatunditf.c: Likewise. 702: * soft-fp/floatunsidf.c: Likewise. 703: * soft-fp/floatunsisf.c: Likewise. 704: * soft-fp/floatunsitf.c: Likewise. 705: * soft-fp/gedf2.c: Likewise. 706: * soft-fp/gesf2.c: Likewise. 707: * soft-fp/getf2.c: Likewise. 708: * soft-fp/ledf2.c: Likewise. 709: * soft-fp/lesf2.c: Likewise. 710: * soft-fp/letf2.c: Likewise. 711: * soft-fp/muldf3.c: Likewise. 712: * soft-fp/mulsf3.c: Likewise. 713: * soft-fp/multf3.c: Likewise. 714: * soft-fp/negdf2.c: Likewise. 715: * soft-fp/negsf2.c: Likewise. 716: * soft-fp/negtf2.c: Likewise. 717: * soft-fp/op-1.h: Likewise. 718: * soft-fp/op-2.h: Likewise. 719: * soft-fp/op-4.h: Likewise. 720: * soft-fp/op-8.h: Likewise. 721: * soft-fp/op-common.h: Likewise. 722: * soft-fp/quad.h: Likewise. 723: * soft-fp/single.h: Likewise. 724: * soft-fp/soft-fp.h: Likewise. 725: * soft-fp/sqrtdf2.c: Likewise. 726: * soft-fp/sqrtsf2.c: Likewise. 727: * soft-fp/sqrttf2.c: Likewise. 728: * soft-fp/subdf3.c: Likewise. 729: * soft-fp/subsf3.c: Likewise. 730: * soft-fp/subtf3.c: Likewise. 731: * soft-fp/truncdfsf2.c: Likewise. 732: * soft-fp/trunctfdf2.c: Likewise. 733: * soft-fp/trunctfsf2.c: Likewise. 734: * soft-fp/unorddf2.c: Likewise. 735: * soft-fp/unordsf2.c: Likewise. 736: * soft-fp/unordtf2.c: Likewise. 737: 738: 2006-04-03 Steven Munroe <sjmunroe@us.ibm.com> 739: 740: [BZ #2505] 741: * sysdeps/powerpc/powerpc32/bits/atomic.h [_ARCH_PWR4]: 742: Define atomic_read_barrier and __ARCH_REL_INSTR using lwsync. 743: 744: 2006-04-03 Andreas Schwab <schwab@suse.de> 745: 746: * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Terminate FDE 747: before syscall. 748: * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise. 749: 750: * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Test for <asm/elf.h> 751: with [! _ASM_POWERPC_ELF_H] as well as [!__PPC64_ELF_H]. 752: 753: 2006-04-03 Roland McGrath <roland@frob.com> 754: 755: [BZ #2507] 756: * mach/Machrules (.udeps-targets): New variable. 757: ($(objpfx)%.udeps static pattern rule): Use it to avoid \ inside 758: quoted string. 759: 760: 2006-04-02 Ulrich Drepper <drepper@redhat.com> 761: 762: [BZ #2501] 763: * nscd/nscd_helper.c (get_mapping): Rewrite code to send request 764: so it uses send and not writev. 765: 766: [BZ #2418] 767: * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Use larger of PATH_MAX 768: and page size when allocating buffer. 769: 770: * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Document 771: msg_controllen type issue. 772: (struct cmsghdr): Same for cmsg_len. 773: 774: 2006-04-01 Ulrich Drepper <drepper@redhat.com> 775: 776: <