/[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.25 by shigio, Sat Nov 5 14:07:10 2005 UTC revision 1.26 by shigio, Sat Nov 5 14:21:01 2005 UTC
# Line 155  gpath_path2fid(const char *path, int *ty Line 155  gpath_path2fid(const char *path, int *ty
155          const char *fid = dbop_get(dbop, path);          const char *fid = dbop_get(dbop, path);
156          assert(opened == 1);          assert(opened == 1);
157          if (fid && type) {          if (fid && type) {
158                  char *flag = get_flag(dbop);                  const char *flag = get_flag(dbop);
159                  *type = (*flag == 'o') ? 1 : 0;                  *type = (*flag == 'o') ? 1 : 0;
160                                                    
161          }          }
# Line 176  gpath_fid2path(const char *fid, int *typ Line 176  gpath_fid2path(const char *fid, int *typ
176          const char *path = dbop_get(dbop, fid);          const char *path = dbop_get(dbop, fid);
177          assert(opened == 1);          assert(opened == 1);
178          if (path && type) {          if (path && type) {
179                  char *flag = get_flag(dbop);                  const char *flag = get_flag(dbop);
180                  *type = (*flag == 'o') ? 1 : 0;                  *type = (*flag == 'o') ? 1 : 0;
181          }          }
182          return path;          return path;

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

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