@@ -448,7 +448,7 @@ int sge_exec_job(lListElem *jep, lListElem *jatep, lListElem *petep, char *err_s
448448 pe_task_id = lGetString (petep, PET_id);
449449 }
450450
451- DPRINTF (" job: %ld jatask: %ld petask: %s\n " , job_id, ja_task_id, pe_task_id != nullptr ? pe_task_id : " none" );
451+ DPRINTF (" job: " sge_uu32 " jatask: " sge_uu32 " petask: %s\n " , job_id, ja_task_id, pe_task_id != nullptr ? pe_task_id : " none" );
452452
453453 master_q = responsible_queue (jep, jatep, petep);
454454 SGE_ASSERT ((master_q));
@@ -462,8 +462,7 @@ int sge_exec_job(lListElem *jep, lListElem *jatep, lListElem *petep, char *err_s
462462 DRETURN (-3 ); /* error only relevant for this user */
463463 }
464464
465- sge_get_active_job_file_path (&active_dir, job_id,
466- ja_task_id, pe_task_id, nullptr );
465+ sge_get_active_job_file_path (&active_dir, job_id, ja_task_id, pe_task_id, nullptr );
467466
468467 umask (022 );
469468
@@ -806,7 +805,7 @@ int sge_exec_job(lListElem *jep, lListElem *jatep, lListElem *petep, char *err_s
806805 } else {
807806 if (lGetString (jep, JB_script_file) != nullptr ) {
808807 /* JG: TODO: use some function to create path */
809- str_script_file = sge_dstring_sprintf (&dstr_script_file, " %s/%s/" sge_u32 , execd_spool_dir, EXEC_DIR,
808+ str_script_file = sge_dstring_sprintf (&dstr_script_file, " %s/%s/" sge_uu32 , execd_spool_dir, EXEC_DIR,
810809 job_id);
811810 } else {
812811 /*
@@ -849,7 +848,7 @@ int sge_exec_job(lListElem *jep, lListElem *jatep, lListElem *petep, char *err_s
849848 token = sge_strtok (buffer, delim);
850849 while (token != nullptr ) {
851850 if (is_first_token) {
852- sge_dstring_sprintf (&new_qrsh_command, " %s/%s/" sge_u32 ,
851+ sge_dstring_sprintf (&new_qrsh_command, " %s/%s/" sge_uu32 ,
853852 execd_spool_dir, EXEC_DIR, job_id);
854853 is_first_token = 0 ;
855854 } else {
@@ -1489,7 +1488,7 @@ int sge_exec_job(lListElem *jep, lListElem *jatep, lListElem *petep, char *err_s
14891488 } else {
14901489 fprintf (fp, " job_name=%s\n " , lGetString (jep, JB_job_name));
14911490 }
1492- fprintf (fp, " job_id=" sge_u32 " \n " , job_id);
1491+ fprintf (fp, " job_id=" sge_uu32 " \n " , job_id);
14931492 fprintf (fp, " ja_task_id=" sge_u32 " \n " , job_is_array (jep) ? ja_task_id : 0 );
14941493 if (petep != nullptr ) {
14951494 fprintf (fp, " pe_task_id=%s\n " , pe_task_id);
@@ -1977,13 +1976,13 @@ int sge_exec_job(lListElem *jep, lListElem *jatep, lListElem *petep, char *err_s
19771976 lGetString (jep, JB_cred)) {
19781977
19791978 char ccname[1024 ];
1980- snprintf (ccname, sizeof (ccname), " KRB5CCNAME=FILE:/tmp/krb5cc_%s_" sge_u32 , " sge" , job_id);
1979+ snprintf (ccname, sizeof (ccname), " KRB5CCNAME=FILE:/tmp/krb5cc_%s_" sge_uu32 , " sge" , job_id);
19811980 putenv (ccname);
19821981 }
19831982
19841983 DPRINTF (" **********************CHILD*********************\n " );
19851984 shepherd_name = SGE_SHEPHERD;
1986- snprintf (ps_name, sizeof (ps_name), " %s-" sge_u32 , shepherd_name, job_id);
1985+ snprintf (ps_name, sizeof (ps_name), " %s-" sge_uu32 , shepherd_name, job_id);
19871986
19881987 pag_cmd = mconf_get_pag_cmd ();
19891988 shepherd_cmd = mconf_get_shepherd_cmd ();
@@ -2030,7 +2029,7 @@ int sge_exec_job(lListElem *jep, lListElem *jatep, lListElem *petep, char *err_s
20302029
20312030 fp = fopen (" error" , " w" );
20322031 if (fp) {
2033- fprintf (fp, " failed to exec shepherd for job" sge_u32 " \n " , job_id);
2032+ fprintf (fp, " failed to exec shepherd for job" sge_uu32 " \n " , job_id);
20342033 FCLOSE (fp);
20352034 }
20362035
0 commit comments