summaryrefslogtreecommitdiff
path: root/libguile/mkstemp.c
AgeCommit message (Collapse)AuthorFilesLines
2016-05-22build: Remove libguile/mkstemp.c, redundant with Gnulib.Ludovic Courtès1-129/+0
Fixes <http://bugs.gnu.org/21425>. Reported by Kouhei Sutou <kou@cozmixng.org>. * configure.ac: Remove 'AC_REPLACE_FUNCS' for 'mkstemp'. * libguile/Makefile.am (EXTRA_libguile_@GUILE_EFFECTIVE_VERSION@_la_SOURCES): Remove mkstemp.c. * libguile/mkstemp.c: Remove.
2014-02-27Rely on Gnulib for <unistd.h>.Mark H Weaver1-3/+3
* libguile/async.c: * libguile/backtrace.c: * libguile/error.c: * libguile/filesys.c: * libguile/fports.c: * libguile/gc-malloc.c: * libguile/gc.c: * libguile/gdbint.c: * libguile/init.c: * libguile/ioext.c: * libguile/load.c: * libguile/mallocs.c: * libguile/mkstemp.c: * libguile/ports.c: * libguile/posix.c: * libguile/r6rs-ports.c: * libguile/random.c: * libguile/rw.c: * libguile/scmsigs.c: * libguile/script.c: * libguile/simpos.c: * libguile/socket.c: * libguile/stime.c: * libguile/strports.c: * libguile/threads.c: Unconditionally include <unistd.h>.
2013-02-20mkstemp uses O_BINARYAndy Wingo1-2/+2
* libguile/mkstemp.c (mkstemp): Add O_BINARY. Since temp files are empty at the beginning, we're not changing the behavior for reading files. For writing files `newline' and ~% can add \r elements as needed. So this is a reasonable thing to do, and it prevents mangling of temp files for the compiler.
2008-09-13Include <config.h> in all C files; use `#ifdef HAVE_CONFIG_H' rather than `#if'.Ludovic Courtès1-1/+1
2006-04-17merge from 1.8 branchKevin Ryde1-1/+1
2005-05-23The FSF has a new address.Marius Vollmer1-2/+2
2003-05-292003-05-29 Stefan Jahn <stefan@lkcc.org>Stefan Jahn1-0/+5
* configure.in: Removed -lm check and added a cached check for __libc_stack_end to get it building for mingw32 hosts. 2003-05-29 Stefan Jahn <stefan@lkcc.org> * win32-dirent.c: Use malloc() instead of scm_malloc(). * stime.c (s_scm_strftime): Add a type cast to avoid compiler warning. * posix.c (s_scm_putenv): Disable use of unsetenv() for the mingw32 build. * modules.c (s_scm_module_import_interface): Renamed local variable interface to _interface. Seems like 'interface' is a special compiler directive for the mingw32 compiler. * mkstemp.c: Provide prototype to avoid compiler warning. * load.c (s_scm_search_path): Fixed absolute and relative path detections for native Windows platforms. * gc.h, threads.h: Export some more symbols using SCM_API (necessary to build on mingw32). * gc-freelist.c ("s_scm_map_free_list", "s_scm_gc_set_debug_check_freelist_x"): Fixed use of FUNC_NAME. * fports.c (fport_fill_input): Disable use of fport_wait_for_input() on Win32 platforms. * filesys.c (s_scm_basename): Fixed __MINGW32__ code. * Makefile.am: Modified some rules for cross compiling. 2003-05-29 Stefan Jahn <stefan@lkcc.org> * raw-ltdl.c: Some more modifications for mingw32 platforms. 2003-05-29 Stefan Jahn <stefan@lkcc.org> * Makefile.am (libguile_srfi_srfi_1_la_LDFLAGS, libguile_srfi_srfi_4_la_LDFLAGS, libguile_srfi_srfi_13_14__la_LDFLAGS): Added the -no-undefined option for the mingw32 build. 2003-05-29 Stefan Jahn <stefan@lkcc.org> * standalone/Makefile.am: Setup to build on mingw32.
2003-04-05Changed license terms to the plain LGPL thru-out.Marius Vollmer1-24/+1
2003-03-25* mkstemp.c: #include <config.h> if HAVE_CONFIG_H. #includeRob Browning1-11/+8
"libguile/__scm.h". Remove definition of gcc_uint64_t in favor of scm_t_uint64 and rename usages.
2002-06-01Added exception notice to license statement.Marius Vollmer1-1/+25
2001-11-02Include `process.h' is possible.Marius Vollmer1-0/+3
2001-06-13Update path to #include file scmconfig.h.Thien-Thi Nguyen1-2/+2
Thanks to Golubev I. N.
2001-06-02New file, slightly modified from libibertiesMarius Vollmer1-0/+123
mkstemps.c.