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:
95de4f5
)
Assembler: Cope with non-string port filenames.
author
Mark H Weaver
<mhw@netris.org>
Sun, 14 Dec 2014 15:24:00 +0000
(10:24 -0500)
committer
Mark H Weaver
<mhw@netris.org>
Sun, 14 Dec 2014 15:24:00 +0000
(10:24 -0500)
Fixes <http://bugs.gnu.org/19354>.
Reported by Linas Vepstas <linasvepstas@gmail.com>.
* module/system/vm/assembler.scm (write-sources): Intern the filename
only if it's a string. (For sockets, the filename is a symbol).
module/system/vm/assembler.scm
patch
|
blob
|
blame
|
history
diff --git
a/module/system/vm/assembler.scm
b/module/system/vm/assembler.scm
index
97eade6
..
3d277ad
100644
(file)
--- a/
module/system/vm/assembler.scm
+++ b/
module/system/vm/assembler.scm
@@
-2141,7
+2141,7
@@
procedure with label @var{rw-init}. @var{rw-init} may be false. If
;; Guile line and column numbers are 0-indexed, but
;; they are 1-indexed for DWARF.
(cons (list pc
- (if
file
(intern-file file) 0)
+ (if
(string? file)
(intern-file file) 0)
(if line (1+ line))
(if col (1+ col)))
out))))