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

Diff of /global/htags/fileindex.c

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

revision 1.16 by shigio, Sun Nov 7 12:24:11 2004 UTC revision 1.17 by shigio, Fri Nov 12 02:16:10 2004 UTC
# Line 139  close_file_queue(path) Line 139  close_file_queue(path)
139          if (file == NULL)          if (file == NULL)
140                  die("cannot close no existent file.");                  die("cannot close no existent file.");
141          if (file->compress) {          if (file->compress) {
142                  if (pclose(file->op) < 0) {                  if (pclose(file->op) != 0) {
143                          char command[MAXFILLEN];                          char command[MAXFILLEN];
144                          snprintf(command, sizeof(command), "gzip -c >%s", file->path);                          snprintf(command, sizeof(command), "gzip -c >%s", file->path);
145                          die("command '%s' failed.", command);                          die("command '%s' failed.", command);
# Line 831  makefileindex(file, files) Line 831  makefileindex(file, files)
831          }          }
832          if (map_file)          if (map_file)
833                  fclose(FILEMAP);                  fclose(FILEMAP);
834          if (pclose(FIND) < 0)          if (pclose(FIND) != 0)
835                  die("cannot traverse directory.(%s)", command);                  die("cannot traverse directory.(%s)", command);
836          while (count_stack(dirstack) > 0) {          while (count_stack(dirstack) > 0) {
837                  char *parent;                  char *parent;
# Line 934  makeincludeindex() Line 934  makeincludeindex()
934                  }                  }
935                  put_included(last, buf);                  put_included(last, buf);
936          }          }
937          if (pclose(PIPE) < 0)          if (pclose(PIPE) != 0)
938                  die("terminated abnormally.");                  die("terminated abnormally.");
939    
940          for (inc = first_inc(); inc; inc = next_inc()) {          for (inc = first_inc(); inc; inc = next_inc()) {

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

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