aboutsummaryrefslogtreecommitdiff
path: root/libiberty/argv.c
AgeCommit message (Collapse)AuthorFilesLines
2012-08-29Replace malloc with xmallocH.J. Lu1-38/+9
* argv.c (dupargv): Replace malloc with xmalloc. Don't check xmalloc return. (buildargv): Likewise. Also replace strdup with xstrdup. (expandargv): Don't check dupargv return.
2012-08-29Replace alloca with xmalloc/freeH.J. Lu1-1/+3
PR binutils/14526 * argv.c (buildargv): Replace alloca with xmalloc/free.
2011-09-28merge from gccDJ Delorie1-0/+23
2010-08-13 * argv.c (expandargv): Limit the number of times that responseNick Clifton1-1/+10
files are opened in order to prevent infinite recursion.
2009-10-09merge from gccDJ Delorie1-11/+33
2007-07-23merge from gccDJ Delorie1-1/+1
2007-07-12merge from gccDJ Delorie1-1/+0
2007-05-08merge from gccDJ Delorie1-0/+56
2007-04-11merge from gccDJ Delorie1-3/+1
2006-01-21merge from gccDJ Delorie1-4/+13
2005-09-27 * argv.c (expandargv): Do not use xmalloc_failed.Mark Mitchell1-3/+4
2005-09-26 * libiberty.h (expandargv): New function.Mark Mitchell1-4/+114
* argv.c (safe-ctype.h): Include it. (ISBLANK): Remove. (stdio.h): Include. (buildargv): Use ISSPACE instead of ISBLANK. (expandargv): New function. * Makefile.in: Regenerated.
2005-05-10Update the address and phone number of the FSF organization.Nick Clifton1-2/+2
2005-04-16merge from gccDJ Delorie1-0/+3
2005-04-14merge from gccDJ Delorie1-1/+1
2005-03-27merge from gccDJ Delorie1-23/+5
2003-04-15merge from gccDJ Delorie1-2/+2
2003-04-15merge from gccDJ Delorie1-1/+1
2001-10-17merge from gccDJ Delorie1-2/+2
2001-10-16merge from gccDJ Delorie1-68/+40
2001-10-07merge from gccDJ Delorie1-5/+6
2001-03-06merge from gccDJ Delorie1-1/+0
2000-12-08* safe-ctype.c: New file.DJ Delorie1-7/+4
* Makefile.in (CFILES): Add safe-ctype.c. (REQUIRED_OFILES): Add safe-ctype.o. * argv.c: Define ISBLANK and use it, not isspace. * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c, strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c) before calling TOLOWER(c)/TOUPPER(c).
1999-07-14 * argv.c: Include stdlib.h and string.h instead ofRichard Henderson1-6/+2
prototyping directly. * choose-temp.c: Conditionally include string.h.
1999-05-0319990502 sourceware importbinu_ss_19990502Richard Henderson1-0/+390