Changeset 39293
- Timestamp:
- Dec 24, 2015, 5:59:57 AM (11 years ago)
- Location:
- trunk/Ohana/src/libdvo
- Files:
-
- 2 edited
-
include/dvo.h (modified) (1 diff)
-
src/HostTable.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/libdvo/include/dvo.h
r39269 r39293 1113 1113 1114 1114 // functions for parallel DVO 1115 int HostTableExists (char *catdir, char *rootname); 1115 1116 HostTable *HostTableLoad (char *catdir, char *rootname); 1116 1117 int HostTableWaitJobs (HostTable *table, char *file, int lineno); -
trunk/Ohana/src/libdvo/src/HostTable.c
r38553 r39293 54 54 free (table); 55 55 return; 56 } 57 58 int HostTableExists (char *catdir, char *rootname) { 59 60 int Nchar = strlen(catdir) + strlen(rootname) + 16; 61 ALLOCATE_PTR (filename, char, Nchar); // one slash and one EOL 62 snprintf (filename, Nchar, "%s/%s", catdir, rootname); 63 64 // can I access the file for read? (not backup, not readwrite, not verbose) 65 int status = check_file_access (filename, FALSE, FALSE, FALSE); 66 return status; 56 67 } 57 68
Note:
See TracChangeset
for help on using the changeset viewer.
