1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00
guile/module
Andy Wingo aae3561584 Allow mkstemp! to have optional "mode" argument
* m4/mkstemp.m4: Remove.
* lib/mkstemp.c: Remove.
* lib/mkostemp.c: New file.
* m4/mkostemp.m4: New file.
* lib/Makefile.am:
* m4/gnulib-cache.m4:
* m4/gnulib-comp.m4: Remove mkstemp module, replace with mkostemp.

* libguile/fports.h:
* libguile/fports.c (scm_i_mode_to_open_flags): Factor out helper to
  parse mode string to open flags.
  (scm_open_file_with_encoding): Use the new helper.
* libguile/filesys.c:
  (scm_i_mkstemp): Adapt to take optional second argument, being a mode
  string.  Use mkostemp.
  (scm_mkstemp): Backwards compatible shim that calls scm_i_mkstemp.

* doc/ref/posix.texi:
* NEWS: Update.

* module/system/base/compile.scm (call-with-output-file/atomic): Pass
  "wb" as mode, to cause O_BINARY to be added on MinGW.
2016-07-25 11:46:18 +02:00
..
ice-9 psyntax can trace expand-time changes to the current module 2016-06-27 22:54:04 +02:00
language Add -Wmacro-use-before-definition 2016-06-25 18:08:28 +02:00
oop Add #:static-slot-allocation? 2015-02-06 13:25:17 +01:00
rnrs Add R6RS bytevector->string, string->bytevector 2016-06-21 11:29:14 +02:00
scripts Wire up `guild compile -O0 foo.scm' 2015-10-22 17:44:17 +00:00
srfi SRFI-19: Update the table of leap seconds. 2016-05-22 20:02:37 +02:00
sxml Remove duplicate definitions of call/ec' and let/ec'. 2013-04-06 15:40:19 +02:00
system Allow mkstemp! to have optional "mode" argument 2016-07-25 11:46:18 +02:00
texinfo Fix texinfo->html for @acronym, @itemize 2016-06-24 17:09:39 +02:00
web Fix uri-decode behavior for "+" 2016-06-20 14:48:15 +02:00
Makefile.am Add meta/build-env 2016-07-10 14:10:26 +02:00
rnrs.scm Add R6RS bytevector->string, string->bytevector 2016-06-21 11:29:14 +02:00
statprof.scm Update statprof documentation; deprecate `with-statprof' 2016-02-01 15:12:36 +01:00
texinfo.scm texinfo: fix @url{@@} parsing 2014-11-09 15:56:33 +00:00