projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix bug in SYMBOL-VALUE CAS expansion for constant arguments
[sbcl.git]
/
src
/
runtime
/
bsd-os.c
diff --git
a/src/runtime/bsd-os.c
b/src/runtime/bsd-os.c
index
aa3ae3d
..
eeaf755
100644
(file)
--- a/
src/runtime/bsd-os.c
+++ b/
src/runtime/bsd-os.c
@@
-22,6
+22,7
@@
#include <sys/param.h>
#include <sys/file.h>
#include <unistd.h>
#include <sys/param.h>
#include <sys/file.h>
#include <unistd.h>
+#include <utime.h>
#include <assert.h>
#include <errno.h>
#include "sbcl.h"
#include <assert.h>
#include <errno.h>
#include "sbcl.h"
@@
-240,7
+241,7
@@
os_install_interrupt_handlers(void)
memory_fault_handler);
#endif
memory_fault_handler);
#endif
-#ifdef LISP_FEATURE_SB_THREAD
+#ifdef THREADS_USING_GCSIGNAL
undoably_install_low_level_interrupt_handler(SIG_STOP_FOR_GC,
sig_stop_for_gc_handler);
#endif
undoably_install_low_level_interrupt_handler(SIG_STOP_FOR_GC,
sig_stop_for_gc_handler);
#endif
@@
-342,6
+343,12
@@
_readdir(DIR *dirp)
return readdir(dirp);
}
return readdir(dirp);
}
+int
+_utime(const char *file, const struct utimbuf *timep)
+{
+ return utime(file, timep);
+}
+
/* Used in sb-bsd-sockets. */
int
_socket(int domain, int type, int protocol)
/* Used in sb-bsd-sockets. */
int
_socket(int domain, int type, int protocol)