[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
question about gtagsop.c
From: |
Hideki IWAMOTO |
Subject: |
question about gtagsop.c |
Date: |
Tue, 19 Jul 2005 20:51:11 +0900 |
Please explain the following portions of gtagsop.c.
libutil/gtagop.c
762 if (gtop->root)
763 snprintf(path, sizeof(path),
764 "%s/%s", gtop->root, >op->path[2]);
765 else
766 snprintf(path, sizeof(path), "%s",
>op->path[2]);
gtop->root is an array. Therefore, (gtop->root != 0) is always true.
What is your intention here?
----
Hideki IWAMOTO address@hidden
- question about gtagsop.c,
Hideki IWAMOTO <=