X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Funix.lisp;h=ae5875f2a2743875f721cb274f884d983eb63fa9;hb=ce2a580a469d285e7054ada13ef456e3dad08a34;hp=7bb992941276b1f3a1e477523b234f7a4de6f2b0;hpb=f660349e697daccdf63b375a1be5949277f88ccd;p=sbcl.git diff --git a/src/code/unix.lisp b/src/code/unix.lisp index 7bb9929..ae5875f 100644 --- a/src/code/unix.lisp +++ b/src/code/unix.lisp @@ -156,12 +156,13 @@ corresponds to NAME, or NIL if there is none." (declare (type unix-pathname path) (type fixnum flags) (type unix-file-mode mode)) - (int-syscall ("open" c-string int int) - path - (logior #!+win32 o_binary - #!+largefile o_largefile - flags) - mode)) + (with-restarted-syscall (value errno) + (int-syscall ("open" c-string int int) + path + (logior #!+win32 o_binary + #!+largefile o_largefile + flags) + mode))) ;;; UNIX-CLOSE accepts a file descriptor and attempts to close the file ;;; associated with it.