/[global]/global/gtags/gtags.c
ViewVC logotype

Diff of /global/gtags/gtags.c

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

revision 1.139 by h-iwamoto, Thu Sep 1 11:32:01 2005 UTC revision 1.140 by shigio, Sat Sep 3 10:48:57 2005 UTC
# Line 559  main(argc, argv) Line 559  main(argc, argv)
559                          die("mkid not found.");                          die("mkid not found.");
560          }          }
561    
562            /*
563             * If the file_list is given, it must be readable file.
564             */
565            if (file_list) {
566                    if (test("d", file_list))
567                            die("'%s' is a directory.", file_list);
568                    else if (!test("f", file_list))
569                            die("'%s' not found.", file_list);
570                    else if (!test("r", file_list))
571                            die("'%s' is not readable.", file_list);
572            }
573          if (!getcwd(cwd, MAXPATHLEN))          if (!getcwd(cwd, MAXPATHLEN))
574                  die("cannot get current directory.");                  die("cannot get current directory.");
575          canonpath(cwd);          canonpath(cwd);

Legend:
Removed from v.1.139  
changed lines
  Added in v.1.140

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