aboutsummaryrefslogtreecommitdiff
path: root/libiberty/setenv.c
AgeCommit message (Collapse)AuthorFilesLines
2002-01-22Makefile.in (TESTLIB): New.DJ Delorie1-1/+7
* Makefile.in (TESTLIB): New. This library is for future testsuites. (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize, break down by letter. (REQUIRED_OFILES): List long-to-compile files first. (maint-deps): New, target for updating dependencies. (dependencies): Update. * maint-tool: Add dependency-generating option. * configure.in: Check for _doprnt even if we're not providing it. * configure: Regenerate. * _doprnt.c: Modifications to allow compiling on any platform. * copysign.c: Likewise. * putenv.c: Likewise. * setenv.c: Likewise. * vsprintf.c: Likewise. From-SVN: r49090
2001-10-10bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".Joseph Myers1-1/+1
* bcmp.c, setenv.c: Use "nonzero" instead of "non-zero". * strtod.c: Use "ISO C" instead of "ANSI C". * functions.texi: Regenerate. From-SVN: r46136
2001-09-26configure.in (MAKEINFO, PERL): Detect these.DJ Delorie1-0/+16
* configure.in (MAKEINFO, PERL): Detect these. (--enable-maintainer-mode): Add. * configure: Regenerate. * Makefile.in (MAKEINFO, PERL): Define. (libiberty.info, libiberty.dvi, libiberty.html): New. (CFILES): Add bsearch.c. (CONFIGURED_OFILES): New, list of objects configure might add. (maint-missing, maint-buildall): New, for maintainers only. (clean, mostlyclean): Add info/dvi/html files. * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New. * gather-docs: New, for maintainers. * maint-tool: New, for maintainers. * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c, bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c, getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c, memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c, sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c, strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c, tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c, xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update documentation. Co-Authored-By: Phil Edwards <pedwards@disaster.jaj.com> From-SVN: r45828
2000-07-21Warning fixes:Kaveh R. Ghazi1-1/+1
* 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
2000-06-07configure.in (ac_libiberty_warn_cflags): Add -pedantic.Kaveh R. Ghazi1-5/+7
libiberty: * configure.in (ac_libiberty_warn_cflags): Add -pedantic. * choose-temp.c (try, choose_temp_base, make_temp_file): Constify. * cp-demangle.c (demangle_char): Change parameter from char to int. (demangle_expression, demangle_expr_primary): Remove extra semi-colon in prototype. * dyn-string.c (dyn_string_append_char): Change parameter from char to int. * memcmp.c (memcmp): Constify. * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with __extension__. * partition.c (elem_compare): Prototype. Don't cast away const-ness. * setenv.c (setenv): Use braces to avoid ambiguous `else'. include: * demangle.h (demangling_styles): Remove trailing comma in enum. * dyn-string.h (dyn_string_append_char): Change parameter from char to int. From-SVN: r34447
1999-10-18* setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.Philippe De Muyter1-0/+2
From-SVN: r30067
1999-06-24Whoops. Revert patch applied to the wrong tre.Jeff Law1-3/+0
From-SVN: r27737
1999-06-24setenv.c (sys/types.h, stdio.h): Files included.Philippe De Muyter1-0/+3
* setenv.c (sys/types.h, stdio.h): Files included. * xstrdup.c (sys/types.h): File included. For the gcc-2.95 branch only. Not to be migrated into the mainline tree because it is incomplete. From-SVN: r27736
1999-05-28putenv.c: Include ansidecl.h to define `const'.Kaveh R. Ghazi1-0/+2
* putenv.c: Include ansidecl.h to define `const'. * setenv.c: Likewise. From-SVN: r27221
1999-05-25Makefile.in (CFILES): Add putenv.c and setenv.c.Jeff Law1-0/+159
* Makefile.in (CFILES): Add putenv.c and setenv.c. * configure.in (funcs): Add putenv and setenv. (AC_CHECK_FUNCS): Check for putenv and setenv. * configure: Rebuilt. * putenv.c setenv.c: New files. [[Split portion of a mixed commit.]] From-SVN: r27162.2