
1: 2007-08-03 Michael Snyder <msnyder@access-company.com> 2: 3: * make-relative-prefix.c (make_relative_prefix_1): Fix resource 4: leak. 5: 6: 2007-07-31 Michael Snyder <msnyder@access-company.com> 7: 8: * cp-demangle.c (d_print_comp): Guard against null. 9: 10: 2007-07-25 Ben Elliston <bje@au.ibm.com> 11: 12: * Makefile.in (CFILES): Remove ternary.c. 13: (REQUIRED_OFILES): Remove ./ternary.o. 14: (INSTALLED_HEADERS): Remove ternary.h. 15: (ternary.o): Remove. 16: * ternary.c: Remove. 17: 18: 2007-07-23 DJ Delorie <dj@redhat.com> 19: 20: * argv.c (writeargv): Fix typo in inline documentation. 21: * functions.texi: Regenerate. 22: 23: 2007-07-17 DJ Delorie <dj@redhat.com> 24: 25: * configure.ac (target_header_dir, msdosdjgpp): Remove duplicate 26: gettimeofday entry. 27: * configure: Likewise. 28: 29: 2007-07-11 Alexandre Oliva <aoliva@redhat.com> 30: 31: * maint-tool (deps): Output stamp-h instead of config.h. 32: * Makefile.in: Rebuild deps. 33: (maintainer-clean-subdir): Depend on stamp-h rather than config.h. 34: 35: 2007-07-02 Simon Baldwin <simonb@google.com> 36: 37: * argv.c (writeargv): Removed declaration of unused variable. 38: 39: 2007-06-14 Paolo Bonzini <bonzini@gnu.org> 40: 41: * configure.ac: Use ACX_PROG_CC_ALMOST_PEDANTIC too. 42: * configure: Regenerate. 43: 44: 2007-06-14 Paolo Bonzini <bonzini@gnu.org> 45: 46: * aclocal.m4: Include config/warnings.m4. 47: * configure.ac: Use ACX_PROG_CC_WARNING_OPTS. 48: * configure: Regenerate. 49: 50: 2007-06-07 Geoffrey Keating <geoffk@apple.com> 51: 52: * configure.ac: Non-default multilibs can be cross compilations. 53: * configure: Regenerate 54: 55: 2007-05-07 Nathan Froyd <froydnj@codesourcery.com> 56: 57: * argv.c (writeargv): New function. 58: 59: 2007-05-05 Geoffrey Keating <geoffk@apple.com> 60: 61: * cp-demangle.c (d_name): Detect local-source-name. 62: (d_prefix): Likewise. 63: (d_unqualified_name): Implement local-source-name. 64: 65: 2007-05-03 Joel Brobecker <brobecker@adacore.com> 66: 67: * filename_cmp.c: Replace include of ctype.h by include of 68: safe-ctype.h. 69: (filename_cmp): Use TOLOWER instead of tolower for conversions 70: that are locale-independent. 71: * Makefile.in (filename_cmp.o): Add dependency on safe-ctype.h. 72: 73: 2007-04-11 Thomas Neumann tneumann@users.sourceforge.net 74: 75: * argv.c: Use ANSI C declarations. 76: * make-relative-prefix.c: Likewise. 77: 78: 2007-04-06 Joel Brobecker <brobecker@adacore.com> 79: 80: * filename_cmp.c (filename_cmp): Improve documentation. 81: 82: 2007-04-02 Andreas Schwab <schwab@suse.de> 83: 84: * filename_cmp.c: Include "config.h". 85: 86: 2007-03-29 Joel Brobecker <brobecker@adacore.com> 87: 88: * filename_cmp.c: New file. 89: * Makefile.in (CFILES): Add filename_cmp.c. 90: (REQUIRED_OFILES): Add filename_cmp.o 91: (filename_cmp.o): New rule. 92: * functions.texi: Regenerate. 93: 94: 2007-03-15 Geoffrey Keating <geoffk@apple.com> 95: 96: * cp-demangle.c (d_encoding): Exit early on error. 97: (d_pointer_to_member_type): Exit early if cplus_demangle_type 98: returns NULL. 99: (cplus_demangle_type): Likewise. 100: * testsuite/demangle-expected: New testcase. 101: 102: 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com> 103: 104: * Makefile.in: Add install-pdf target as copied from 105: automake v1.10 rules. 106: * testsuite/Makefile.in: Add dummy install-pdf target. 107: 108: 2007-03-01 Peter Breitenlohner <peb@mppmu.mpg.de> 109: Eric Botcazou <ebotcazou@libertysurf.fr> 110: 111: PR other/16513 112: * Makefile.in: Install library under $(MULTIOSDIR), not $(MULTISUBDIR). 113: Install headers in multilib independent location. 114: 115: 2007-02-26 DJ Delorie <dj@redhat.com> 116: 117: * configure.ac: add djgpp-specific results, so we don't have to 118: link during a cross compilation. 119: * configure: Regenerated. 120: 121: 2007-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 122: 123: * hex.c: Fix typo. 124: * choose-temp.c: Likewise. 125: * functions.texi: Regenerate. 126: 127: 2007-01-31 Vladimir Prus <vladimir@codesourcery.com> 128: 129: * pex-common.h (struct pex_obj): New fields 130: stderr_pipe and read_err. 131: * pex-common.c (pex_init_common): Initialize 132: stderr_pipe. 133: (pex_run_in_environment): Add error checking 134: for PEX_STDERR_TO_PIPE. Create a pipe 135: for stderr if necessary. 136: (pex_read_err): New. 137: (pex_free): Close read_err. 138: * pexecute.txh: Document changes. 139: * functions.texi: Regenerated. 140: 141: 2007-01-31 Ben Elliston <bje@au.ibm.com> 142: 143: * strsignal.c (psignal): Change type of signo to int. 144: * functions.texi: Regenerate. 145: 146: 2007-01-29 Simon Baldwin <simonb@google.com> 147: 148: * cp-demangle.h (cplus_demangle_operators): External definition 149: suppressed if not building for libstdc++. 150: * cp-demangle.c (__gcclibcxx_demangle_callback): Augmented interface 151: to demangling, provides a malloc-less version of __cxa_demangle. 152: (cplus_demangle_print_callback): Public callback version of 153: cplus_demangle_print. 154: (struct d_growable_string): New growable string structure. 155: (d_growable_string_init): New function, provides support for 156: growable strings separate from print info. 157: (d_growable_string_resize): Likewise. 158: (d_growable_string_append_buffer): Likewise. 159: (d_growable_string_callback_adapter):): Likewise. 160: (d_print_init): New print info initialization function. 161: (d_print_error): Macro replace by inline function. 162: (d_print_saw_error): Likewise. 163: (d_append_char): Likewise. 164: (d_append_buffer): Likewise. 165: (d_append_string): New inline function, replaces the 166: d_append_string_constant macro. 167: (d_flush_buffer): New function, flushes buffer to callback. 168: (d_demangle_callback, is_ctor_or_dtor): Malloc-based fallback 169: for unsupported dynamic arrays replaced by alloca(). 170: (d_demangle): Return string length estimating removed. 171: (d_dump): Moved error case handling from call site into function. 172: (d_print_resize): Function removed. 173: (d_print_append_char): Likewise. 174: (d_print_append_buffer): Likewise. 175: (d_print_error): Likewise. 176: (d_print_comp): Added special case handling for Java arrays. 177: (java_demangle_v3): Removed string post-processing for Java arrays, 178: now replaced by special case handling in d_print_comp. 179: (cplus_demangle_v3_callback): Augmented interface to demangling, 180: provides a malloc-less version of cplus_demangle_v3. 181: (java_demangle_v3_callback): Augmented interface to demangling, 182: provides a malloc-less version of java_demangle_v3. 183: 184: 2007-01-12 Ben Elliston <bje@au.ibm.com> 185: 186: * pex-unix.c (writeerr): Cast write result to void. 187: 188: * choose-temp.c (choose_temp_base): Check the result of the call 189: to mktemp rather than testing the length of the modified string. 190: 191: 2006-12-20 Geoffrey Keating <geoffk@apple.com> 192: 193: * cp-demangle.h: Add comment explaining what to do to avoid 194: overrunning string. 195: (d_check_char): New. 196: (d_next_char): Don't advance past trailing '\0'. 197: * cp-demangle.c (cplus_demangle_mangled_name): Use d_check_char. 198: (d_nested_name): Likewise. 199: (d_special_name): Likewise. 200: (d_call_offset): Likewise. 201: (d_function_type): Likewise. 202: (d_array_type): Likewise. 203: (d_pointer_to_member_type): Likewise. 204: (d_template_param): Likewise. 205: (d_template_args): Likewise. 206: (d_template_arg): Likewise. 207: (d_expr_primary): Likewise. 208: (d_local_name): Likewise. 209: (d_substitution): Likewise. 210: (d_ctor_dtor_name): Use d_advance rather than d_next_char. 211: * testsuite/test-demangle.c: Include sys/mman.h. 212: (MAP_ANONYMOUS): Define. 213: (protect_end): New. 214: (main): Use protect_end. 215: * testsuite/demangle-expected: Add testcases for overrunning 216: the end of the string. 217: 218: 2006-11-30 Andrew Stubbs <andrew.stubbs@st.com> 219: J"orn Rennecke <joern.rennecke@st.com> 220: 221: PR driver/29931 222: * make-relative-prefix.c (make_relative_prefix_1): New function, 223: broken out of make_relative_prefix. Make link resolution dependent 224: on new parameter. 225: (make_relative_prefix): Use make_relative_prefix_1. 226: (make_relative_prefix_ignore_links): New function. 227: 228: 2006-11-08 Vladimir Prus <vladimir@codesourcery.com> 229: 230: * pex-win32.c (no_suffixes): Remove. 231: (std_suffixes): Add "" as first element. 232: (find_executable): Remove detection of already-present 233: extension. Try all suffixes in std_suffixes. 234: 235: 2006-11-07 Julian Brown <julian@codesourcery.com> 236: 237: * floatformat.c (get_field): Fix segfault with little-endian word 238: order on 64-bit hosts. 239: (put_field): Likewise. 240: (min): Move definition. 241: 242: 2006-10-26 Danny Smith <dannysmith@users.sourceforge.net> 243: 244: pex-win32.c (argv_to_cmdline): Replace xmalloc with XNEWVEC. 245: (find_executable): Likewise. 246: (win32_spawn): Cast alloca return to (char**). 247: Replace malloc with XNEWVEC. 248: bcopy.c (bcopy): Add explict casts in assignments. 249: 250: 2006-10-25 Ben Elliston <bje@au.ibm.com> 251: 252: * pexecute.txh: Wrap pexecute's "flag" argument with @var {..}. 253: 254: 2006-10-10 Brooks Moses <bmoses@stanford.edu> 255: 256: * Makefile.in: Added "pdf", "libiberty.pdf" target support. 257: * testsuite/Makefile.in: Added empty "pdf" target. 258: 259: 2006-09-22 Ian Lance Taylor <ian@airs.com> 260: 261: PR other/29176 262: * cp-demangle.c (d_substitution): Check for overflow when 263: computing substitution index. 264: 265: 2006-08-30 Corinna Vinschen <corinna@vinschen.de> 266: 267: * configure.ac: Add case for Mingw as host. 268: * configure: Regenerate. 269: 270: 2006-08-27 Ian Lance Taylor <ian@airs.com> 271: 272: PR driver/27622 273: * pex-common.h (struct pex_funcs): Add toclose parameter to 274: exec_child field. 275: * pex-common.c (pex_run_in_environment): Pass toclose to 276: exec_child. 277: * pex-djgpp.c (pex_djgpp_exec_child): Add toclose parameter. 278: * pex-unix.c (pex_unix_exec_child): Likewise. 279: * pex-msdos.c (pex_msdos_exec_child): Likewise. 280: * pex-win32.c (pex_win32_exec_child): Likewise. 281: 282: PR other/28797 283: * cp-demangle.c (d_pointer_to_member_type): Do add a substitution 284: for a qualified member which is not a function. 285: * testsuite/demangle-expected: Add test case. 286: 287: 2006-07-27 Jan Hubicka <jh@suse.cz> 288: 289: PR rtl-optimization/28071 290: * hashtab.c (htab_empty): Clear out n_deleted/n_elements; 291: downsize the hashtable. 292: 293: 2006-07-04 Peter O'Gorman <peter@pogma.com> 294: 295: * Makefile.in: chmod 644 before ranlib during install. 296: 297: 2006-06-02 Mark Shinwell <shinwell@codesourcery.com> 298: 299: * pex-unix.c (pex_unix_exec_child): Insert cast when assigning 300: to environ. 301: 302: 2006-06-01 Mark Shinwell <shinwell@codesourcery.com> 303: 304: * pex-common.c: New function pex_run_in_environment. 305: * pex-common.h: Add environment parameter to exec_child. 306: * pex-msdos.c: Add environment parameter to pex_msdos_exec_child. 307: * pex-djgpp.c: Add environment parameter to pex_djgpp_exec_child. 308: (pex_djgpp_exec_child): Pass environment to child process. 309: * pex-unix.c: Add environment parameter to pex_unix_exec_child. 310: (pex_unix_exec_child): Pass environment to child process. 311: * pex-win32.c: Add environment parameter to pex_win32_exec_child. 312: New function env_compare for comparing VAR=VALUE pairs. 313: (win32_spawn): Assemble environment block and pass to CreateProcess. 314: (spawn_script): Pass environment through to win32_spawn. 315: (pex_win32_exec_child): Pass environment through to spawn_script and 316: win32_spawn. 317: * functions.texi: Regenerate. 318: * pexecute.txh: Document pex_run_in_environment. 319: 320: 2006-05-28 Mark Shinwell <shinwell@codesourcery.com> 321: 322: * mkstemps.c: Open temporary files in binary mode. 323: 324: 2006-05-12 Anton Blanchard <anton@samba.org> 325: 326: * cplus-dem.c (demangle_fund_type): Ensure buf is large enough to 327: hold "int%u_t". 328: 329: 2006-04-24 Julian Brown <julian@codesourcery.com> 330: 331: * floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case. 332: 333: 2006-03-29 Jim Blandy <jimb@codesourcery.com> 334: 335: * pex-common.c (pex_input_file, pex_input_pipe): New functions. 336: (pex_init_common): Initialize obj->input_file. 337: (pex_run): Close any file opened by pex_input_file. 338: * pexecute.txh (pex_input_file, pex_input_pipe): New docs. 339: * pex-common.h (struct pex_obj): New field input_file. 340: (struct pex_funcs): New function ptr fdopenw. 341: * pex-unix.c (pex_unix_fdopenw): New function. 342: (funcs): List it as our fdopenw function. 343: * pex-win32.c (pex_win32_fdopenw): New function. 344: (funcs): List it as our fdopenw function. 345: * pex-djgpp.c (funcs): Leave fdopenw null. 346: * pex-msdos (funcs): Same. 347: * functions.texi: Regenerated. 348: 349: 2006-04-10 Jim Blandy <jimb@codesourcery.com> 350: 351: * pex-common.c (temp_file): New function, containing guts of 352: pex-style temporary file name generation. 353: (pex_run): Use it. 354: 355: 2006-04-06 Carlos O'Donell <carlos@codesourcery.com> 356: 357: * Makefile.in: Add install-html, install-html-am, and 358: install-html-recursive targets. Define mkdir_p and 359: NORMAL_INSTALL. 360: * configure.ac: AC_SUBST datarootdir, docdir, htmldir. 361: * configure: Regenerate. 362: * testsuite/Makefile.in: Add install-html and html targets. 363: 364: 2006-03-31 Mark Mitchell <mark@codesourcery.com> 365: 366: * pex-win32.c (<errno.h>): Include. 367: (fix_argv): Remove. 368: (argv_to_cmdline): New function. 369: (std_suffixes): New variable. 370: (no_suffixes): Likewise. 371: (find_executable): New function. 372: (win32_spawn): Likewise. 373: (spawn_script): Use win32_spawn instead of _spawnv[p]. 374: (pex_win32_exec_child): Replace MSVCRT calls with Win32 API calls. 375: (pex_win32_wait): Likewise. 376: 377: 2006-03-24 Jim Blandy <jimb@codesourcery.com> 378: 379: * pex-common.c (pex_run): Simplify output name handling. 380: 381: 2006-03-12 Jim Blandy <jimb@red-bean.com> 382: 383: * pex-common.h (struct pex_obj): Doc fixes. 384: 385: 2006-03-11 Jim Blandy <jimb@red-bean.com> 386: 387: * functions.texi: Regenerate. 388: 389: 2006-02-21 Ben Elliston <bje@au.ibm.com> 390: 391: * pexecute.c (pwait): Syntax fix for previous change. 392: 393: 2006-02-17 Uttam Pawar <uttamp@us.ibm.com> 394: 395: * pexecute.c (pwait): Free vector pointer. 396: * partition.c (partition_print): Free class_elements pointer. 397: 398: 2006-02-11 Roger Sayle <roger@eyesopen.com> 399: R. Scott Bailey <scott.bailey@eds.com> 400: Bill Northcott <w.northcott@unsw.edu.au> 401: 402: PR bootstrap/16787 403: * floatformat.c: Include <float.h> where available. 404: (NAN): Use value of DBL_QNAN if defined, and NAN isn't. 405: 406: 2006-01-29 Gabriel Dos Reis <gdr@integrable-solutions.net> 407: 408: * configure.ac: Add -Wc++-compat to ac_libibety_warn_cflags where 409: supported. 410: * configure: Regenerated. 411: 412: 2006-01-20 Carlos O'Donell <carlos@codesourcery.com> 413: 414: * testsuite/Makefile.in: Add test-expandargv test. 415: * testsuite/test-expandargv.c: New test. 416: * argv.c (expandargv): Check for errors with ferror, 417: rather than just by looking at return value from fread. 418: 419: 2005-12-17 Gabriel Dos Reis <gdr@integrable-solutions.net> 420: 421: * floatformat.c (floatformat_i387_ext_is_valid): Use explicit cast 422: to convert from "from". 423: (floatformat_to_double): Likewise. 424: (floatformat_from_double): Use explicit cast to convert from "to". 425: 426: 2005-12-10 Terry Laurenzo <tlaurenzo@gmail.com> 427: 428: PR java/9861 429: * cp-demangle.c (d_bare_function_type): Recognize new 'J' qualifer 430: and include return type when found. 431: (d_print_comp)[DEMANGLE_COMPONENT_FUNCTION_TYPE]: Add 432: conditional logic to change printing order of return type.when 433: the DMGL_RET_POSTFIX option is present. 434: (java_demangle_v3): Add DMGL_RET_POSTFIX option to d_demangle 435: call. 436: * testsuite/test-demangle.c (main): Recognize option --ret-postfix 437: * testsuite/demangle-expected: Test cases to verify extended encoding. 438: Updated comment to document --ret-postfix option. 439: 440: 2005-11-06 Richard Guenther <rguenther@suse.de> 441: 442: * splay-tree.c (rotate_left): New function. 443: (rotate_right): Likewise. 444: (splay_tree_splay_helper): Remove. 445: (splay_tree_splay): Re-implement. 446: 447: 2005-10-31 Mark Kettenis <kettenis@gnu.org> 448: 449: * floatformat.c (floatformat_vax_aingle, floatformat_vax_double): 450: New variables. 451: 452: 2005-10-07 Mark Mitchell <mark@codesourcery.com> 453: 454: * at-file.texi: Fix typo. 455: 456: 2005-10-03 Mark Mitchell <mark@codesourcery.com> 457: 458: * at-file.texi: New file. 459: 460: 2005-09-27 Mark Mitchell <mark@codesourcery.com> 461: 462: * argv.c (expandargv): Do not use xmalloc_failed. 463: 464: 2005-09-26 Mark Mitchell <mark@codesourcery.com> 465: 466: * argv.c (safe-ctype.h): Include it. 467: (ISBLANK): Remove. 468: (stdio.h): Include. 469: (buildargv): Use ISSPACE instead of ISBLANK. 470: (expandargv): New function. 471: * Makefile.in: Regenerated. 472: 473: 2005-09-14 Christopher Faylor <cgf@timesys.com> 474: 475: * pex-win32.c: Include "windows.h". 476: (backslashify): New function. 477: (fix_argv): Use backslashify to convert path to windows format. 478: Allocate one more place in new argv for potential executable from '#!' 479: parsing. 480: (tack_on_executable): New function. Conditional on USE_MINGW_MSYS 481: (openkey): Ditto. 482: (mingw_rootify): Ditto. 483: (msys_rootify): Ditto. 484: (spawn_script): New function. 485: (pex_win32_exec_child): Save translated argv in newargv. Pass to 486: spawn_script if spawnv* fails. 487: (main): New function. Conditional on MAIN. Useful for testing. 488: 489: 2005-08-17 Mark Kettenis <kettenis@gnu.org> 490: 491: * floatformat.c (floatformat_always_valid): Change type of last 492: argument to `void *'. 493: (floatformat_i387_ext_is_valid): Likewise. 494: (floatformat_to_double): Change type of second argument to `const 495: void *'. 496: (floatformat_from_double): Change type of last argument to `void 497: *'. 498: (floatformat_is_valid): Change type of last argument to `const 499: void *'. 500: (ieee_test): Remove redundant casts. 501: 502: 2005-08-17 Kelley Cook <kcook@gcc.gnu.org> 503: 504: * strverscmp.c: Update FSF address. 505: * testsuite/Makefile.in: Likewise. 506: * testsuite/test-demangle.c: Likewise. 507: * testsuite/test-pexecute.c: Likewise. 508: 509: 2005-07-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 510: 511: * getopt.c: Include ansidecl.h before system headers. 512: 513: 2005-07-22 Ben Elliston <bje@gnu.org> 514: 515: * getopt.c: Include "ansidecl.h". 516: (_getopt_initialize): Mark argc and argv parameters as unused. 517: 518: 2005-07-22 Ben Elliston <bje@gnu.org> 519: 520: * regex.c (regcomp): Change type of `i' from unsigned to int. 521: 522: 2005-07-22 Ben Elliston <bje@gnu.org> 523: 524: Recover patch lost in the sourceware repository: 525: 2005-07-09 Ben Elliston <bje@au.ibm.com> 526: * memcpy.c: Remove ANSI_PROTOTYPES conditional code. 527: * memmove.c: Likewise. 528: * objalloc.c: Likewise. 529: 530: 2005-07-22 Ben Elliston <bje@gnu.org> 531: 532: * configure.ac: Check for a getopt(3) declaration. 533: * configure, config.in: Regenerate. 534: 535: 2005-07-15 Ben Elliston <bje@au.ibm.com> 536: 537: * regex.c (TRANSLATE): Cast rhs of ternary expression to char. 538: 539: 2005-07-12 Ben Elliston <bje@au.ibm.com> 540: 541: * floatformat.c (floatformat_to_double): Add a comment about a 542: potential source of warnings when compiling this file. 543: 544: 2005-07-12 Ben Elliston <bje@au.ibm.com> 545: 546: * pexecute.c (pexecute): Cast string litrals to char *. 547: * regex.c (re_comp): Cast a call to gettext() to char *. 548: 549: 2005-07-07 Kelley Cook <kcook@gcc.gnu.org> 550: 551: * config.table: Delete file. Move former contents into ... 552: * configure.ac: ... here and escape any brackets for m4. 553: * Makefile.in (config.status): Remove dependency on config.table. 554: * configure: Regenerate. 555: 556: 2005-07-07 Kelley Cook <kcook@gcc.gnu.org> 557: 558: * config.in: Regenerate for 6/20 change. 559: 560: 2005-07-03 Steve Ellcey <sje@cup.hp.com> 561: 562: PR other/13906 563: * md5.c (md5_process_bytes): Check alignment. 564: 565: 2005-07-01 Ian Lance Taylor <ian@airs.com> 566: 567: PR other/22268 568: * cp-demangle.c (d_expr_primary): Don't run off the end of the 569: string while looking for the end of a literal value. 570: * testsuite/demangle-expected: Add test case. 571: 572: 2005-06-30 Daniel Berlin <dberlin@dberlin.org> 573: 574: * hashtab.c (EMPTY_ENTRY): Moved and renamed. 575: (DELETED_ENTRY): Ditto. 576: 577: 2005-06-20 Geoffrey Keating <geoffk@apple.com> 578: 579: * strverscmp.c: New. 580: * Makefile.in (CFILES): Add strverscmp.c. 581: (CONFIGURED_OFILES): Add strverscmp.o. 582: (strverscmp.o): New rule. 583: (stamp-functions): Add $(srcdir) to files in source directory. 584: * configure.ac (funcs): Add strverscmp. 585: (AC_CHECK_FUNCS): Add strverscmp. 586: * configure: Regenerate. 587: * functions.texi: Regenerate. 588: 589: 2005-05-28 Eli Zaretskii <eliz@gnu.org> 590: 591: * configure.ac: Add snprintf and vsnprintf to AC_CHEK_DECLS. 592: * config.in, configure: Regenerate. 593: 594: 2005-05-25 Richard Henderson <rth@redhat.com> 595: 596: * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_HIDDEN_ALIAS. 597: (d_make_comp, d_print_comp): Likewise. 598: (d_special_name): Generate one. 599: * testsuite/demangle-expected: Add a hidden alias test. 600: 601: 2005-05-24 Gabriel Dos Reis <gdr@integrable-solutions.net> 602: 603: * configure.ac: Check declarations for calloc(), getenv(), 604: malloc(), realloc() and sbrk(). 605: * config.in: Regenerate. 606: * configure: Likewise. 607: 608: * alloca.c (C_alloca): Change "new" to "new_storage". Use XNEWVEC 609: instead of xmalloc. 610: * choose-temp.c (choose_temp_base): Use XNEWVEC instea od xmalloc. 611: * concat.c (liiberty_concat_ptr): Surround definition with an 612: extern "C" block, if __cplusplus. 613: (concat): Use XNEWVEC instead of xmalloc. 614: (reconcat): Likewise. 615: * cp-demangle.c (struct d_print_template): Rename member 616: "template" to "template_decl". Adjust use throughout the file. 617: (d_print_resize): Properly cast return value of realloc(). 618: (cplus_demangle_print): Same for malloc(). 619: (d_demangle): Likewise. 620: * cp-demint.c (cplus_demangle_fill_builtin_type): Rename parameter 621: "typename" to "type_name". 622: * cplus-dem.c (grow_vect): Use XRESIZEVEC instead of xrealloc(). 623: (work_stuff_copy_to_from): Use XNEWVEC insteand of xmalloc(). 624: (demangle_template_value_parm): Likewise. 625: (demangle_template): Likewise. 626: (recursively_demangle): Likewise. 627: (do_hpacc_template_literal): Likewise. 628: (do_arg): Likewise. 629: (remember_type): Likewise. 630: (remember_Ktype): Likewise. 631: (register_Btype): Likewise. 632: (string_need): Use XRESIZEVEC instead of xrealloc(). 633: * dyn-string.c (dyn_string_init): Use XNEWVEC. 634: (dyn_string_new): Use XNEW. 635: (dyn_string_resize): Use XRESIZEVEC. 636: * fnmatch.c (fnmatch): Rename local variable "not" to "negate". 637: * getopt.c (getenv): Declare only if !__cplusplus and !getenv. 638: Otherwise include <stdlib.h>. 639: (exchange): Cast return value of malloc(). 640: * hashtab.c (htab_size): Define as both macro and non-inline 641: function. 642: (htab_elements): Likewise. 643: * getpwd.c (getpwd): Use XNEWVEC. 644: (htab_create_alloc_ex): Use C90 prototype-style. 645: * lrealpath.c (lrealpath): Appropriately cast return value of 646: malloc(). 647: * make-relative-prefix.c (save_string): Likewise. 648: * make-temp-file.c (try_dir): Rename from "try". Adjust use in 649: the file. 650: (choose_tmpdir): Use XNEWVEC. 651: * mkstemps.c (mkstemps): Rename parameter "template" to "pattern". 652: * pex-common.c (pex_init_common): Use XNEW. 653: (pex_add_remove): Use XRESIZEVEC. 654: (pex_run): Likewise. 655: (pex_get_status_and_time): Likewise. 656: * pex-djgpp.c (pex_djgpp_exec_child): Likewise. 657: * pex-msdos.c (pex_init): Use XNEW. 658: (pex_msdos_exec_child): Likewise. 659: (pex_msdos_exec_child): Use XRESIZEVEC. 660: * pex-unix.c (pex_wait): Use XNEW. 661: * pex-win32.c (fix_argv): Use XNEWVEC. 662: * pexecute.c (pwait): Likewise. 663: * setenv.c (setenv): Properly cast return value of malloc(). 664: * sigsetmask.c (sigsetmask): Rename local variables "old" and 665: "new" to "old_sig" and "new_sig". 666: * sort.c (main): Use XNEWVEC. 667: * spaces.c (spaces): Cast return value of malloc(). 668: * strndup.c (strndup): Likewise. 669: * ternary.c (ternary_insert): Use XNEW. 670: * xmalloc.c (malloc, realloc, calloc, sbrk): Surround declaration 671: with an extern "C" block if __cplusplus. 672: * xstrdup.c (xstrdup): Cast return value of memcpy(). 673: * xstrerror.c (strerror): Enclose declaration in an extern "C" 674: block if __cplusplus. 675: * xstrndup.c (xstrndup): Use XNEW. Cast return value of memcpy(). 676: 677: 2005-05-16 Andreas Jaeger <aj@suse.de> 678: 679: * getpwd.c: Remove unneeded prototype getcwd and move getwd so 680: that it's only declared if needed. 681: 682: * getopt1.c: Change order of includes so that __GNU_LIBRARY__ is 683: defined. 684: 685: 2005-05-15 Andreas Jaeger <aj@suse.de> 686: 687: * functions.texi: Regenerated. 688: 689: 2005-05-15 Eli Zaretskii <eliz@gnu.org> 690: 691: * pexecute.txh: Enclose multi-word data types in @deftypefn in 692: braces. Minor wording fixes. Use --- for em-dash. Use 693: @enumerate in enumerated lists. 694: 695: * fopen_unlocked.c: Enclose multi-word data types in @deftypefn in 696: braces. 697: 698: 2005-05-11 Eli Zaretskii <eliz@gnu.org> 699: 700: * pex-djgpp.c: Include string.h, fcntl.h, unistd.h, and 701: sys/stat.h. 702: (pex_init): Fix last argument to pex_init_common. 703: (pex_djgpp_exec_child): Remove leading underscore from _open, 704: _dup, _dup2, _close, and _spawnv/_spawnvp. Replace `program', 705: which is undeclared, with `executable', which was unused. Remove 706: unused variable `e'. Fix casting of last arg to spawnv/spawnvp. 707: (pex_djgpp_wait): Declare arguments with ATTRIBUTE_UNUSED. 708: 709: 2005-05-11 Paul Brook <paul@codesourcery.com> 710: 711: * Makefile.in: Regenerate dependencies. 712: 713: 2005-05-10 Nick Clifton <nickc@redhat.com> 714: 715: * Update the address and phone number of the FSF organization in 716: the GPL notices in the following files: 717: COPYING.LIB, Makefile.in, _doprnt.c, argv.c, asprintf.c, 718: choose-temp.c, clock.c, concat.c, copying-lib.texi, cp-demangle.c, 719: cp-demangle.h, cp-demint.c, cplus-dem.c, dyn-string.c, fdmatch.c, 720: fibheap.c, floatformat.c, fnmatch.c, fopen_unlocked.c, 721: gather-docs, getopt.c, getopt1.c, getruntime.c, hashtab.c, hex.c, 722: lbasename.c, lrealpath.c, maint-tool, make-relative-prefix.c, 723: make-temp-file.c, md5.c, mempcpy.c, mkstemps.c, objalloc.c, 724: obstack.c, partition.c, pex-common.c, pex-common.h, pex-djgpp.c, 725: pex-msdos.c, pex-one.c, pex-unix.c, pex-win32.c, pexecute.c, 726: physmem.c, putenv.c, regex.c, safe-ctype.c, setenv.c, snprintf.c, 727: sort.c, spaces.c, splay-tree.c, stpcpy.c, stpncpy.c, strndup.c, 728: strtod.c, ternary.c, unlink-if-ordinary.c, vasprintf.c, 729: vsnprintf.c, vsprintf.c, xexit.c, xmalloc.c, xstrndup.c 730: 731: 2005-05-06 Kelley Cook <kcook@gcc.gnu.org> 732: