summaryrefslogtreecommitdiff
path: root/libguile/putenv.c
AgeCommit message (Collapse)AuthorFilesLines
2009-11-17Remove now unneeded `putenv.c'.Ludovic Courtès1-127/+0
* libguile/Makefile.am (EXTRA_libguile_la_SOURCES): Remove `putenv.c'. * libguile/putenv.c: Remove.
2009-06-17Change Guile license to LGPLv3+Neil Jerram1-6/+7
(Not quite finished, the following will be done tomorrow. module/srfi/*.scm module/rnrs/*.scm module/scripts/*.scm testsuite/*.scm guile-readline/* )
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-11-26 * random.c (scm_i_copy_rstate, scm_c_make_rstate): Don't test forKevin Ryde1-3/+1
scm_malloc returning NULL, it never does that. * putenv.c (putenv): Likewise.
2005-05-23The FSF has a new address.Marius Vollmer1-1/+1
2004-02-18(environ): Use _NSGetEnviron in DarwinKevin Ryde1-1/+12
shared library, since environ is not directly available there.
2003-04-05Changed license terms to the plain LGPL thru-out.Marius Vollmer1-38/+14
2003-03-25* putenv.c: #include <config.h> if HAVE_CONFIG_H. #includeRob Browning1-2/+4
"libguile/scmconfig.h".
2002-08-16* mallocs.c (scm_malloc_obj): use scm_gc_malloc in stead ofHan-Wen Nienhuys1-1/+1
malloc. * gc-segment.c (scm_i_get_new_heap_segment): remove cluster cruft: only use SCM_MIN_HEAP_SEG_SIZE. * ports.c (scm_add_to_port_table): add backwards compatibility function * ports.h: use scm_i_ prefix for port table and port table size.
2001-07-09Remove "face-lift" comment.Thien-Thi Nguyen1-2/+0
2001-06-03Added exception notice to all files.Marius Vollmer1-1/+25
2001-03-10* _scm.h: Removed #include <errno.h>.Mikael Djurfeldt1-4/+1
* error.c, net_db.c, putenv.c, stime.c: Removed declaration of errno variable (can be a macro on some systems, for example when using linux libc with threads). * error.c, filesys.c, gc.c, ioext.c, iselect.c, net_db.c, ports.c, posix.c, print.c, putenv.c, scmsigs.c, script.c, simpos.c, smob.c, socket.c, srcprop.c, stime.c, strop.c, unif.c, vports.c: Added #include <errno.h> in these 20 out of 100 files.
2000-06-12Updated copyrightsMikael Djurfeldt1-1/+1
2000-03-19 * *.[hc]: add Emacs magic at the end of file, to ensure GNUMichael Livshin1-0/+6
indentation style.
1999-12-12* *.c: Finish replacing K&R style prototypes with ANSI CGreg J. Badros1-2/+4
prototypes. * eval.c: Make scm_m_mody's 3rd argument be a const char *, not a char *. ANSI prototypes caught this. * strorder.c: Use GUILE_PROC1 for the couple SCM_PROC1 expansions that I missed. * scm_validate.h: Use SCM_BOOLP for validating bools. Do not expand macros if SCM_DOCSTRING_SNARF.
1997-05-26* Lots of files: New address for FSF.Jim Blandy1-1/+2
1997-04-10* putenv.c: #include "libguile/scmconfig.h", not <config.h>.Jim Blandy1-1/+1
1997-04-05* posix.c (scm_putenv): don't check HAVE_PUTENV.Gary Houston1-0/+111
* Makefile.am (EXTRA_libguile_la_SOURCES): add putenv.c. * configure.in: move putenv from AC_CHECK_FUNCS to AC_REPLACE_FUNCS. * putenv.c: new file, from sh-utils 1.12. * posix.c (scm_environ): use malloc in place of scm_must_malloc since allocation isn't for Scheme objects. (scm_putenv): copy strings before placing in the environment. * stime.c (scm_current_time): throw an error if time returns -1, instead of returning #f. (scm_get_internal_real_time, scm_get_internal_real_time): use scm_long2num for return value instead of SCM_MAKINUM. * stime.h: prototypes updated. * stime.c (scm_time_in_msec): apparently unused, deleted. * configure.in: check for gettimeofday. * stime.c (scm_time_plus_ticks): new procedure, an scsh interface which may be more usefully portable than a gettimeofday interface. * stime.c (filltime): recovered static procedure. (scm_localtime, scm_gmtime, scm_mktime, scm_tzset): recovered from an earlier Guile. * posix.h: add prototype for scm_close_pipe, remove prototypes for scm_open_input_pipe, scm_open_output_pipe, change scm_mknod prototype. * * posix.c (scm_mknod): split the mode argument into type and perms arguments, like the extra fields returned by stat. * fports.c (scm_pipob): set the close, free and print procedures. (scm_close_pipe): new procedure. * posix.c (scm_open_input_pipe, scm_open_output_pipe): deleted, define them in boot-9.scm