/[global]/global/libutil/gpathop.c
ViewVC logotype

Diff of /global/libutil/gpathop.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.29 by h-iwamoto, Mon Nov 7 13:48:46 2005 UTC revision 1.30 by shigio, Wed Nov 9 10:43:20 2005 UTC
# Line 47  static int opened; Line 47  static int opened;
47  static int created;  static int created;
48    
49  /*  /*
50     * GPATH format version
51     *
52     * 1. Gtags(1) bury version number in GPATH.
53     * 2. Global(1) pick up the version number from GPATH. If the number
54     *    is not acceptable version number then global give up work any more
55     *    and display error message.
56     * 3. If version number is not found then it assumes version 1.
57     * 4. GPATH version is independent with the other tag files.
58     *
59     * [History of format version]
60     *
61     * GLOBAL-4.8.7         no idea about format version.
62     * GLOBAL-4.8.8(maybe)  understand format version.
63     *                      support format version 2.
64     *                      The invoking gtags -i (incremental updating) brings
65     *                      GPATH to version 2.
66     *
67     * - Format version 1
68     *
69     * GPATH has only source files.
70     *
71     *      key             data
72     *      --------------------
73     *      ./aaa.c\0       11\0
74     *
75     * - Format version 2
76     *
77     * GPATH has not only source files but also other files like README.
78     * You can distinguish them by the flag following data value.
79     * At present, the flag value is only 'o'(other files).
80     *
81     *      key             data
82     *      --------------------
83     *      ./aaa.c\0       11\0
84     *      ./README\0      12\0o\0         <=== 'o' means other files.
85     */
86    /*
87   * get_flag: get flag value   * get_flag: get flag value
88   */   */
89  static const char *  static const char *

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26