aboutsummaryrefslogtreecommitdiff
path: root/libiberty/vasprintf.c
AgeCommit message (Collapse)AuthorFilesLines
2003-10-30Jan Hubicka <jh@suse.cz>Josef Zlomek1-5/+12
Jan Hubicka <jh@suse.cz> * vasprintf.c (int_vasprintf): Pass va_list by value. Use va_copy for copying va_list. (vasprintf): Pass va_list by value. From-SVN: r73098
2003-06-03asprintf.c: Change comment to note that -1 is returned upon error.Nick Clifton1-3/+3
vasprintf.c: Likewise. (vasprintf): Return -1 upon error. functions.texi: Document changes to asprintf and vasprintf. From-SVN: r67395
2002-09-20cp-demangle.c (demangling_new): Cast 0 to enum.John David Anglin1-1/+1
* cp-demangle.c (demangling_new): Cast 0 to enum. (demangle_char): Cast return of strdup to char *. (is_gnu_v3_mangled_ctor): Cast 0 to enum. (is_gnu_v3_mangled_dtor): Likewise. * cplus-dem.c (grow_vect): Cast return of xrealloc to void *. (work_stuff_copy_to_from): Cast return of xmalloc to char **. * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t. * md5.c (md5_process_bytes): Cast results back to const void *. (md5_process_block): Add cast to const md5_uint32 *. * regex.c (re_compile_fastmap): Cast enum to UCHAR_T. * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to unsigned short. * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc to void *. * vasprintf.c (int_vasprintf): Cast return of malloc to char *. From-SVN: r57330
2001-10-17argv.c, [...]: Improve manual formatting.DJ Delorie1-1/+1
* argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c, ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c, mkstemps.c, pexecute.c, random.c, strsitnal.c, vasprintf.c: Improve manual formatting. * functions.texi: Regenerate. From-SVN: r46323
2001-10-15Makefile.in (TEXIFILES): Add fnmatch.txh.DJ Delorie1-0/+15
* Makefile.in (TEXIFILES): Add fnmatch.txh. (maint-undoc): New. maint-tool: Add "undoc" tool. * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c, fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c, make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c, strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update documentation. * fnmatch.txh: New. * functions.texi: Regenerate. From-SVN: r46274
2001-09-04asprintf.c: Don't define USE_STDARG.Kaveh R. Ghazi1-15/+10
* asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE. * vasprintf.c: Check HAVE_STRING_H when including string.h. (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1. Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string. From-SVN: r45382
2000-07-21Warning fixes:Kaveh R. Ghazi1-21/+33
* cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2. * setenv.c (setenv): Initialize variable `ep'. * sigsetmask.c (abort): Prototype. * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not __STDC__ for stdarg.h include. (int_vasprintf): Prototype. (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in definition. Cast `global_total_width' in comparison. (main): Prototype. Return a value. * vfork.c (fork): Prototype. * xexit.c: Include config.h. From-SVN: r35178
1999-12-27vasprintf.c (int_vasprintf): Don't re-read the format character as this ↵Geoff Keating1-0/+1
mishandles strings like '%%s'. * vasprintf.c (int_vasprintf): Don't re-read the format character as this mishandles strings like '%%s'. From-SVN: r31102
1998-09-07mkstemp.c: Include config.h even when not IN_GCC.Kaveh R. Ghazi1-3/+3
* mkstemp.c: Include config.h even when not IN_GCC. Wrap header inclusions inside HAVE_*_H macros. Include ansidecl.h when not IN_GCC. * vasprintf.c: Include stdarg.h/varargs.h first. * vprintf.c: Likewise. From-SVN: r22314
1998-02-22cplus-dem.c (gnu_special): Don't get confused by .<digits> strings that are ↵Jeff Law1-1/+4
not actually lengths. * cplus-dem.c (gnu_special): Don't get confused by .<digits> strings that are not actually lengths. * config/mh-cygwin32: remove vasprintf.o from EXTRA_OFILES since it gets built automatically * vasprintf.c (int_vasprintf): Increase buffer size for float/double values. From-SVN: r18171
1997-10-14cplus-dem.c (demangle_signature): Don't look for return types on constructors.Jason Merrill1-0/+4
Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net> * cplus-dem.c (demangle_signature): Don't look for return types on constructors. Handle member template constructors. and update from devo. From-SVN: r15901
1997-08-21Initial revisionJason Merrill1-0/+165
From-SVN: r14877