434 |
* 'sed "s@<path>@fid@"'. |
* 'sed "s@<path>@fid@"'. |
435 |
*/ |
*/ |
436 |
STRBUF *ib = strbuf_open(MAXBUFLEN); |
STRBUF *ib = strbuf_open(MAXBUFLEN); |
437 |
char *ctags_x, *p; |
char *ctags_x; |
438 |
|
|
439 |
while (ctags_x = strbuf_fgets(ib, stdin, 0)) { |
while ((ctags_x = strbuf_fgets(ib, stdin, 0)) != NULL) { |
440 |
char *p = locatestring(ctags_x, "./", MATCH_FIRST); |
char *p = locatestring(ctags_x, "./", MATCH_FIRST); |
441 |
if (p == NULL) |
if (p == NULL) |
442 |
die("gtags --sed: path name not found."); |
die("gtags --sed: path name not found."); |