/[global]/global/htags/dupindex.c
ViewVC logotype

Diff of /global/htags/dupindex.c

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

revision 1.6 by shigio, Sun Nov 28 01:04:57 2004 UTC revision 1.7 by shigio, Fri Jan 21 23:43:41 2005 UTC
# Line 63  open_dup_file(db, count) Line 63  open_dup_file(db, count)
63                  snprintf(command, sizeof(command), "gzip -c >%s", path);                  snprintf(command, sizeof(command), "gzip -c >%s", path);
64                  op = popen(command, "w");                  op = popen(command, "w");
65                  if (op == NULL)                  if (op == NULL)
66                          die("cannot create file '%s'.", path);                          die("cannot execute command '%s'.", command);
67          } else {          } else {
68                  op = fopen(path, "w");                  op = fopen(path, "w");
69                  if (op == NULL)                  if (op == NULL)
70                          die("cannot execute command '%s'.", command);                          die("cannot create file '%s'.", path);
71          }          }
72          return op;          return op;
73  }  }

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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