1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-06 15:40:29 +02:00
guile/module/system/base
Andy Wingo 06bfe276c8 nanosecond timestamp support in stat and utime
* libguile/posix.h:
* libguile/posix.c (scm_utime): Add optional nanosecond arguments. This
  is an incompatible change on the C level, but it's unlikely people are
  using this POSIX wrapper function, because they would just use the
  POSIX function directly. Hopefully, anyway.

* module/system/base/compile.scm (call-with-output-file/atomic):
  Propagate source timestamps to targets with nanosecond precision, if
  available. Fixes build on systems with ext4 filesystems.

* libguile/filesys.c (scm_stat2scm):
* module/ice-9/posix.scm (stat:atimensec, stat:mtimensec)
  (stat:ctimensec): Add three new elements to Scheme stat structures,
  for nanosecond-level timestamps.

* configure.ac: Add checks for utimensat, and for nanosecond fields in
  struct stat. We should switch to using Gnulib things for these,
  though.

* doc/ref/posix.texi (File System): Add documentation for utime's
  additional arguments, and nanosecond stat timestamp accessors.
2010-01-17 16:56:34 +01:00
..
compile.scm nanosecond timestamp support in stat and utime 2010-01-17 16:56:34 +01:00
language.scm compilation enviroments are always modules; simplifications & refactorings 2009-10-16 15:33:32 +02:00
message.scm Add `-Wunused-toplevel' compiler warning. 2010-01-11 01:21:13 +01:00
pmatch.scm inline calls to some primitives 2009-05-17 23:24:26 +02:00
syntax.scm let-values in terms of syntax-case, add make-tree-il-folder 2009-08-05 21:35:30 +02:00