HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddebf5f
)
* etags.c (absolute_filename): Remove infinite loop bug when
author
Francesco Potortì
<pot@gnu.org>
Fri, 3 Jun 1994 17:10:42 +0000
(17:10 +0000)
committer
Francesco Potortì
<pot@gnu.org>
Fri, 3 Jun 1994 17:10:42 +0000
(17:10 +0000)
accessing files in directories whose name begins with a dot.
lib-src/etags.c
patch
|
blob
|
blame
|
history
diff --git
a/lib-src/etags.c
b/lib-src/etags.c
index
ce54bad
..
6410c04
100644
(file)
--- a/
lib-src/etags.c
+++ b/
lib-src/etags.c
@@
-3250,16
+3250,16
@@
absolute_filename (file, cwd)
return ".";
}
slashp = cp;
+ continue;
}
else if (slashp[2] == '/' || slashp[2] == '\0')
{
strcpy (slashp, slashp + 2);
+ continue;
}
}
- else
- {
- slashp = etags_strchr (slashp + 1, '/');
- }
+
+ slashp = etags_strchr (slashp + 1, '/');
}
return res;