projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66f3626
)
Rewrite loop in Prim_microcode_library_path to work around bug in IBM
author
Chris Hanson
<org/chris-hanson/cph>
Wed, 23 Oct 2002 02:03:13 +0000
(
02:03
+0000)
committer
Chris Hanson
<org/chris-hanson/cph>
Wed, 23 Oct 2002 02:03:13 +0000
(
02:03
+0000)
C compiler 3.6.5.
v7/src/microcode/boot.c
patch
|
blob
|
history
diff --git
a/v7/src/microcode/boot.c
b/v7/src/microcode/boot.c
index 90718fe4b1e931ee3dacc4bfaa42a9984d801fe9..9a8b2bba1935cded7cbf4565636142201af5a680 100644
(file)
--- a/
v7/src/microcode/boot.c
+++ b/
v7/src/microcode/boot.c
@@
-1,6
+1,6
@@
/* -*-C-*-
-$Id: boot.c,v 9.10
7 2002/07/02 20:49:05
cph Exp $
+$Id: boot.c,v 9.10
8 2002/10/23 02:03:13
cph Exp $
Copyright (c) 1988-2002 Massachusetts Institute of Technology
@@
-647,11
+647,11
@@
DEFINE_PRIMITIVE ("MICROCODE-LIBRARY-PATH", Prim_microcode_library_path, 0, 0, 0
CONST char ** scan = option_library_path;
CONST char ** end = option_library_path;
while (1)
- if ((*end++) == 0)
- {
- end -= 1;
+ {
+ if ((*end) == 0)
break;
- }
+ end += 1;
+ }
{
SCHEME_OBJECT result =
(allocate_marked_vector (TC_VECTOR, (end - scan), 1));