summaryrefslogtreecommitdiff
path: root/libiberty/choose-temp.c
Commit message (Collapse)AuthorAgeFilesLines
* * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,dj2001-10-171-1/+1
| | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46323 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (TEXIFILES): Add fnmatch.txh.dj2001-10-161-6/+14
| | | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46274 138bc75d-0d04-0410-961f-82ee72b054a4
* * choose-temp.c: Split off make_temp_file, and the codezack2001-03-211-145/+4
| | | | | | | | | | | duplicated between it and choose_temp_base, into... * make-temp-file.c: ... here; new file. * Makefile.in (CFILES): Add make-temp-file.c. (REQUIRED_OFILES): Add make-temp-file.o. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40683 138bc75d-0d04-0410-961f-82ee72b054a4
* libiberty:ghazi2000-06-071-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34447 138bc75d-0d04-0410-961f-82ee72b054a4
* include:ghazi1999-09-251-4/+1
| | | | | | | | | | | | | | | | | | | | * libiberty.h (make_temp_file): Add a prototype. libiberty: * choose-temp.c: Remove obsolete comment about gcc. (make_temp_file): Constify a char*. gcc: * collect2.c (make_temp_file): Don't prototype. * gcc.c (make_temp_file): Likewise. * mips.c (mips_make_temp_file): Renamed from `make_temp_file'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29662 138bc75d-0d04-0410-961f-82ee72b054a4
* * argv.c: Include stdlib.h and string.h instead ofrth1999-07-141-0/+3
| | | | | | | | prototyping directly. * choose-temp.c: Conditionally include string.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28099 138bc75d-0d04-0410-961f-82ee72b054a4
* * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.law1999-04-251-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26619 138bc75d-0d04-0410-961f-82ee72b054a4
* Warning fixes:ghazi1998-12-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * argv.c (buildargv): Cast the result of alloca in assignment. * choose-temp.c: Include stdlib.h. * cplus-dem.c (demangle_arm_pt): Remove unused prototype. (snarf_numeric_literal): Constify first parameter. (code_for_qualifier): Avoid a gcc extension, make the parameter an int, not a char. (demangle_qualifier): Likewise. (demangle_signature): Cast the argument of a ctype function to unsigned char. (arm_pt): Add parens around assignment used as truth value. (demangle_arm_hp_template): Constify variable `args'. (do_hpacc_template_const_value): Cast the argument of a ctype function to unsigned char. (do_hpacc_template_literal): Remove unused variable `i'. (snarf_numeric_literal): Constify parameter `args'. Cast the argument of a ctype function to unsigned char. * floatformat.c (floatformat_to_double): Add explicit braces to avoid ambiguous `else'. * fnmatch.c (fnmatch): Change type of variables `c', `c1', `cstart' and `cend' to unsigned char. Cast the argument of macro `FOLD', which uses ctype functions, to unsigned char. * objalloc.c (free): Add prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24392 138bc75d-0d04-0410-961f-82ee72b054a4
* * choose-temp.c: Don't check IN_GCC anymore.ghazi1998-12-141-17/+8
| | | | | | | | | | | | | | | | | * floatformat.c (floatformat_from_double): Use `const', not `CONST'. * memchr.c (memchr): Likewise. * memcpy.c (memcpy): Likewise. * memmove.c (memmove): Likewise. * mkstemp.c: Don't check IN_GCC anymore. * pexecute.c: Likewise. * splay-tree.c: Likewise. * strchr.c (strchr): Use `const', not `CONST'. * strrchr.c (strrchr): Likewise. * strtol.c (strtol): Likewise. * strtoul.c (strtoul): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24307 138bc75d-0d04-0410-961f-82ee72b054a4
* * choose-temp.c: Always include libiberty.h. Avoid redundancies.ghazi1998-11-271-3/+1
| | | | | | | | | * cplus-dem.c: Likewise. Conform to libiberty.h. * pexecute.c: Likewise. * splay-tree.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23935 138bc75d-0d04-0410-961f-82ee72b054a4
* * choose-temp.c: Don't include gansidecl.h.ghazi1998-11-071-1/+0
| | | | | | | | * mkstemp.c: Likewise. * pexecute.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23560 138bc75d-0d04-0410-961f-82ee72b054a4
* Warning fixes:ghazi1998-10-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * choose-temp.c: Prototype mkstemps() when IN_GCC. * cplus-dem.c (consume_count): Cast argument of ctype macro to `unsigned char'. (cplus_demangle_opname): Cast the result of `strlen' to (int) when comparing against one. (cplus_mangle_opname): Likewise. (demangle_integral_value): Cast argument of ctype macro to `unsigned char'. (demangle_template_value_parm): Likewise. (demangle_template): Initialize variable `bindex'. Cast the result of `strlen' to (int) when comparing against one. Remove unused variable `start_of_value_parm'. (demangle_class_name): Cast the result of `strlen' to (int) when comparing against one. (demangle_prefix): Cast argument of ctype macro to `unsigned char'. (gnu_special): Likewise. Cast the result of `strlen' to (int) when comparing against one. (demangle_qualified): Cast argument of ctype macro to `unsigned char'. (get_count): Likewise. (do_type): Likewise. Cast the result of `strlen' to (int) when comparing against one. (demangle_fund_type): Cast argument of ctype macro to `unsigned char'. (demangle_function_name): Cast the result of `strlen' to (int) when comparing against one. * mkstemp.c (mkstemps): Cast variable `len' to (int) when comparing against one. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23113 138bc75d-0d04-0410-961f-82ee72b054a4
* * pexecute.c: Updates from gcc. Copy in gcc has been removed. Thislaw1998-09-051-12/+66
| | | | | | | | | is the canonical copy. Define ISSPACE if !IN_GCC. * alloca.c, vfprintf.c, choose-temp.c, mkstemp.c: Similarly. * Makefile.in: Build mkstemp.o git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22252 138bc75d-0d04-0410-961f-82ee72b054a4
* Patched in the gcc directory:ghazi1998-04-021-5/+11
| | | | | | | | | * Makefile.in (choose-temp.o): Depend on system.h. Patched in both the libiberty and gcc directories: * choose-temp.c: Include system.h when IN_GCC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18952 138bc75d-0d04-0410-961f-82ee72b054a4
* Mon Feb 23 14:33:15 1998 Ian Lance Taylor <ian@cygnus.com>law1998-02-251-3/+8
| | | | | | | * choose-temp.c: Fix handling of sys/file.h to work in libiberty. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18240 138bc75d-0d04-0410-961f-82ee72b054a4
* * choose-temp.c: Sync with gcc.law1998-01-171-9/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17394 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisionjason1997-08-211-0/+147
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14877 138bc75d-0d04-0410-961f-82ee72b054a4