* remote.c (minitelnet): Don't redeclare escape_count, echo_check.
[binutils-gdb.git] / gdb / source.c
index e6cd3f36a2f1ecc3b58fa8cc7086c4a048b6c4cb..c2269fadcd5bd6737820486a19a4edc8e938e641 100644 (file)
@@ -1,6 +1,6 @@
 /* List lines of source files for GDB, the GNU debugger.
    Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
-   1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+   1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    Free Software Foundation, Inc.
 
    This file is part of GDB.
@@ -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]))