Changeset 53 for trunk/pbs_drmaa/session.c
- Timestamp:
- 01/07/12 22:35:59 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pbs_drmaa/session.c
r52 r53 22 22 #endif 23 23 24 #include <pwd.h> 24 25 #include <stdlib.h> 25 26 #include <string.h> … … 115 116 self->max_retries_count = 3; 116 117 self->wait_thread_sleep_time = 1; 118 self->job_exit_status_file_prefix = NULL; 117 119 118 120 self->super.load_configuration( &self->super, "pbs_drmaa" ); … … 136 138 } 137 139 138 self->job_exit_status_file_prefix = NULL;139 140 } 140 141 EXCEPT_DEFAULT … … 294 295 } 295 296 296 if (mkdir(pbsself->job_exit_status_file_prefix, 0600) == -1 && errno != EEXIST) /* TODO it would be much better to do stat before */ 297 fsd_log_debug(("Trying to create state directory: %s", pbsself->job_exit_status_file_prefix)); 298 299 if (mkdir(pbsself->job_exit_status_file_prefix, 0700) == -1 && errno != EEXIST) /* TODO it would be much better to do stat before */ 297 300 { 298 fsd_log_warning( "Failed to create job state directory: %s. Valid job exit status may not be available in some cases.", pbsself->job_exit_status_file_prefix)301 fsd_log_warning(("Failed to create job state directory: %s. Valid job exit status may not be available in some cases.", pbsself->job_exit_status_file_prefix)); 299 302 } 300 303
Note: See TracChangeset
for help on using the changeset viewer.