public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75e9a65
)
bug fix
author
ceriel
<none@none>
Thu, 5 Feb 1987 16:22:42 +0000
(16:22 +0000)
committer
ceriel
<none@none>
Thu, 5 Feb 1987 16:22:42 +0000
(16:22 +0000)
lang/cem/libcc/gen/getenv.c
patch
|
blob
|
history
diff --git
a/lang/cem/libcc/gen/getenv.c
b/lang/cem/libcc/gen/getenv.c
index
687c102
..
2793023
100644
(file)
--- a/
lang/cem/libcc/gen/getenv.c
+++ b/
lang/cem/libcc/gen/getenv.c
@@
-8,7
+8,7
@@
register char *name;
q = name;
while (*q && *q++ == *p++) /* nothing */ ;
if (*q || *p != '=') continue;
- return(p);
+ return(p
+1
);
}
return(0);
}