projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* remote.c (minitelnet): Don't redeclare escape_count, echo_check.
[binutils-gdb.git]
/
gdb
/
source.c
diff --git
a/gdb/source.c
b/gdb/source.c
index f3700db818872fad2b291a8e85373859e1d8a49a..c2269fadcd5bd6737820486a19a4edc8e938e641 100644
(file)
--- a/
gdb/source.c
+++ b/
gdb/source.c
@@
-687,7
+687,10
@@
openp (const char *path, int try_cwd_first, const char *string,
goto done;
}
else
- fd = -1;
+ {
+ filename = NULL;
+ fd = -1;
+ }
for (i = 0; string[i]; i++)
if (IS_DIR_SEPARATOR (string[i]))