HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a8be5a
)
(system-error-errno): New.
author
Marius Vollmer
<mvo@zagadka.de>
Sat, 16 Jun 2001 20:14:24 +0000
(20:14 +0000)
committer
Marius Vollmer
<mvo@zagadka.de>
Sat, 16 Jun 2001 20:14:24 +0000
(20:14 +0000)
ice-9/boot-9.scm
patch
|
blob
|
blame
|
history
diff --git
a/ice-9/boot-9.scm
b/ice-9/boot-9.scm
index
cad2a85
..
bc6aff0
100644
(file)
--- a/
ice-9/boot-9.scm
+++ b/
ice-9/boot-9.scm
@@
-481,6
+481,11
@@
(and (> sl sufl)
(string=? (substring str (- sl sufl) sl) suffix))))
+(define (system-error-errno args)
+ (if (eq? (car args) 'system-error)
+ (car (list-ref args 4))
+ #f))
+
\f
;;; {Error Handling}
;;;