[Click for alternate file diff view via GitHub]
| diff --git a/src/condor_credd/credd.cpp b/src/condor_credd/credd.cpp | |||
| index b275a7e3059ddcaaef936e41d3d414296eee574f..566f3a10386bd6550dde712f60f25af203928368 100644 | |||
| a/src/condor_credd/credd.cpp | b/src/condor_credd/credd.cpp | ||
|---|---|---|---|
| ⋮ | ⋮ | ||
| 263 | ····*pColon·=·'\0'; | 263 | ····*pColon·=·'\0'; |
| 264 | ···· | 264 | ···· |
| 265 | ····//·Name·is·the·second·part | 265 | ····//·Name·is·the·second·part |
| 266 | ····sprintf·(name,·(char*)(pColon+sizeof(char))); | 266 | ····sprintf·(name,·"%s",·(char*)(pColon+sizeof(char))); |
| 267 | ·· | 267 | ·· |
| 268 | ····if·(strcmp·(owner,·user)·!=·0)·{· | 268 | ····if·(strcmp·(owner,·user)·!=·0)·{· |
| 269 | ······dprintf·(D_ALWAYS,·"Requesting·another·user's·(%s)·credential·%s\n",·owner,·name); | 269 | ······dprintf·(D_ALWAYS,·"Requesting·another·user's·(%s)·credential·%s\n",·owner,·name); |
| ⋮ | ⋮ | ||
| 455 | ····*pColon·=·'\0'; | 455 | ····*pColon·=·'\0'; |
| 456 | ···· | 456 | ···· |
| 457 | ····//·Name·is·the·second·part | 457 | ····//·Name·is·the·second·part |
| 458 | ····sprintf·(name,·(char*)(pColon+sizeof(char))); | 458 | ····sprintf·(name,·"%s",·(char*)(pColon+sizeof(char))); |
| 459 | ·· | 459 | ·· |
| 460 | ····if·(strcmp·(owner,·user)·!=·0)·{· | 460 | ····if·(strcmp·(owner,·user)·!=·0)·{· |
| 461 | ······dprintf·(D_ALWAYS,·"Requesting·another·user's·(%s)·credential·%s\n",·owner,·name); | 461 | ······dprintf·(D_ALWAYS,·"Requesting·another·user's·(%s)·credential·%s\n",·owner,·name); |
| diff --git a/src/condor_gridmanager/gahp-client.cpp b/src/condor_gridmanager/gahp-client.cpp | |||
| index 2e83bb81610fc0412b176e650b8d31f8b657fa6e..8c6c3fd59255c36477bdcb561a2986bdb238f96e 100644 | |||
| a/src/condor_gridmanager/gahp-client.cpp | b/src/condor_gridmanager/gahp-client.cpp | ||
| ⋮ | ⋮ | ||
| 321 | 321 | ||
| 322 | » if·(·dead_server·)·{ | 322 | » if·(·dead_server·)·{ |
| 323 | » » sprintf_cat(·buf,·"·unexpectedly"·); | 323 | » » sprintf_cat(·buf,·"·unexpectedly"·); |
| 324 | » » EXCEPT(·buf.c_str()·); | 324 | » » EXCEPT(·"%s",·buf.c_str()·); |
| 325 | » }·else·{ | 325 | » }·else·{ |
| 326 | » » sprintf_cat(·buf,·"\n"·); | 326 | » » sprintf_cat(·buf,·"\n"·); |
| 327 | » » dprintf(·D_ALWAYS,·buf.c_str()·); | 327 | » » dprintf(·D_ALWAYS,·"%s",·buf.c_str()·); |
| 328 | » } | 328 | » } |
| 329 | } | 329 | } |
| 330 | 330 | ||
| diff --git a/src/condor_io/condor_auth_ssl.cpp b/src/condor_io/condor_auth_ssl.cpp | |||
| index df32a0f532986f91ce070e997412fc300a419513..0cbf00986106fe46170dbaaaa1e47d435664b4fd 100644 | |||
| a/src/condor_io/condor_auth_ssl.cpp | b/src/condor_io/condor_auth_ssl.cpp | ||
| ⋮ | ⋮ | ||
| 21 | #include·"condor_common.h" | 21 | #include·"condor_common.h" |
| 22 | 22 | ||
| 23 | #if·!defined(SKIP_AUTHENTICATION)·&&·defined(HAVE_EXT_OPENSSL) | 23 | #if·!defined(SKIP_AUTHENTICATION)·&&·defined(HAVE_EXT_OPENSSL) |
| 24 | #define·ouch(x)·dprintf(D_ALWAYS,x) | 24 | #define·ouch(x)·dprintf(D_ALWAYS,"%s",x) |
| 25 | #include·"authentication.h" | 25 | #include·"authentication.h" |
| 26 | #include·"condor_auth_ssl.h" | 26 | #include·"condor_auth_ssl.h" |
| 27 | #include·"condor_string.h" | 27 | #include·"condor_string.h" |
| diff --git a/src/condor_io/safe_sock.cpp b/src/condor_io/safe_sock.cpp | |||
| index bf76e04dcaa0947fde56591d436560613cd3c188..663331efd182996079406132025788d08ec6e629 100644 | |||
| a/src/condor_io/safe_sock.cpp | b/src/condor_io/safe_sock.cpp | ||
| ⋮ | ⋮ | ||
| 622 | » » return·FALSE; | 622 | » » return·FALSE; |
| 623 | » } | 623 | » } |
| 624 | ····char·str[50]; | 624 | ····char·str[50]; |
| 625 | ····sprintf(str,·sock_to_string(_sock)); | 625 | ····sprintf(str,·"%s",·sock_to_string(_sock)); |
| 626 | ····dprintf(·D_NETWORK,·"RECV·%d·bytes·at·%s·from·%s\n", | 626 | ····dprintf(·D_NETWORK,·"RECV·%d·bytes·at·%s·from·%s\n", |
| 627 | » » » ·received,·str,·_who.to_sinful().Value()); | 627 | » » » ·received,·str,·_who.to_sinful().Value()); |
| 628 | ····//char·temp_str[10000]; | 628 | ····//char·temp_str[10000]; |
| diff --git a/src/condor_rm.V6/rm.cpp b/src/condor_rm.V6/rm.cpp | |||
| index e1eb6095ba7701a3ac6f3400d1b7643541f66c89..e422ede0a89443523ee3d35d5aae646888fc9c25 100644 | |||
| a/src/condor_rm.V6/rm.cpp | b/src/condor_rm.V6/rm.cpp | ||
| ⋮ | ⋮ | ||
| 114 | usage(int·iExitCode) | 114 | usage(int·iExitCode) |
| 115 | { | 115 | { |
| 116 | » char·word[32]; | 116 | » char·word[32]; |
| 117 | » sprintf(·word,·getJobActionString(mode)·); | 117 | » sprintf(·word,·"%s",·getJobActionString(mode)·); |
| 118 | » fprintf(·stderr,·"Usage:·%s·[options]·[constraints]\n",·MyName·); | 118 | » fprintf(·stderr,·"Usage:·%s·[options]·[constraints]\n",·MyName·); |
| 119 | » fprintf(·stderr,·"·where·[options]·is·zero·or·more·of:\n"·); | 119 | » fprintf(·stderr,·"·where·[options]·is·zero·or·more·of:\n"·); |
| 120 | » fprintf(·stderr,·"··-help···············Display·this·message·and·exit\n"·); | 120 | » fprintf(·stderr,·"··-help···············Display·this·message·and·exit\n"·); |
| diff --git a/src/condor_shadow.V6.1/NTreceivers.cpp b/src/condor_shadow.V6.1/NTreceivers.cpp | |||
| index 305963804650e59ddecab59aafcc80f33e66b3b8..63ea532b7b1839f26b1a897d4f50ad8be158fa89 100644 | |||
| a/src/condor_shadow.V6.1/NTreceivers.cpp | b/src/condor_shadow.V6.1/NTreceivers.cpp | ||
| ⋮ | ⋮ | ||
| 1397 | 1397 | ||
| 1398 | » » //·Get·directory's·contents | 1398 | » » //·Get·directory's·contents |
| 1399 | » » while((next·=·directory.Next()))·{ | 1399 | » » while((next·=·directory.Next()))·{ |
| 1400 | » » » msg.sprintf_cat(next); | 1400 | » » » msg.sprintf_cat("%s",·next); |
| 1401 | » » » msg.sprintf_cat("\n"); | 1401 | » » » msg.sprintf_cat("\n"); |
| 1402 | » » } | 1402 | » » } |
| 1403 | » » terrno·=·(condor_errno_t)errno; | 1403 | » » terrno·=·(condor_errno_t)errno; |
| diff --git a/src/condor_shadow.V6.1/baseshadow.cpp b/src/condor_shadow.V6.1/baseshadow.cpp | |||
| index e469636f48bb0d66131a00efe8d2b1600e796843..3e464b314b627f87546663a9c78455a81d23f376 100644 | |||
| a/src/condor_shadow.V6.1/baseshadow.cpp | b/src/condor_shadow.V6.1/baseshadow.cpp | ||
| ⋮ | ⋮ | ||
| 1141 | » bool·exception_already_logged·=·false; | 1141 | » bool·exception_already_logged·=·false; |
| 1142 | 1142 | ||
| 1143 | » if(!msg)·msg·=·""; | 1143 | » if(!msg)·msg·=·""; |
| 1144 | » sprintf(event.message,·msg); | 1144 | » sprintf(event.message,·"%s",·msg); |
| 1145 | 1145 | ||
| 1146 | » if·(·BaseShadow::myshadow_ptr·)·{ | 1146 | » if·(·BaseShadow::myshadow_ptr·)·{ |
| 1147 | » » BaseShadow·*shadow·=·BaseShadow::myshadow_ptr; | 1147 | » » BaseShadow·*shadow·=·BaseShadow::myshadow_ptr; |
| diff --git a/src/condor_shadow.V6.1/pseudo_ops.cpp b/src/condor_shadow.V6.1/pseudo_ops.cpp | |||
| index 3aa6a80f34b8e349b724dac62a504a844d50dba9..5e0fe65ce91bac1e81bc039b6b2c569c1937cfa1 100644 | |||
| a/src/condor_shadow.V6.1/pseudo_ops.cpp | b/src/condor_shadow.V6.1/pseudo_ops.cpp | ||
| ⋮ | ⋮ | ||
| 717 | » » Shadow->exception_already_logged·=·true; | 717 | » » Shadow->exception_already_logged·=·true; |
| 718 | 718 | ||
| 719 | » » //lame:·at·the·time·of·this·writing,·EXCEPT·does·not·want·const: | 719 | » » //lame:·at·the·time·of·this·writing,·EXCEPT·does·not·want·const: |
| 720 | » » EXCEPT(critical_error); | 720 | » » EXCEPT("%s",·critical_error); |
| 721 | » } | 721 | » } |
| 722 | 722 | ||
| 723 | » delete·event; | 723 | » delete·event; |
| diff --git a/src/condor_starter.V6.1/baseStarter.cpp b/src/condor_starter.V6.1/baseStarter.cpp | |||
| index 341b86b79f488f22040562cad357581609eec791..9262ff618c416ab9d3b1e1549072af74d1190600 100644 | |||
| a/src/condor_starter.V6.1/baseStarter.cpp | b/src/condor_starter.V6.1/baseStarter.cpp | ||
| ⋮ | ⋮ | ||
| 1800 | » » error·+=·this->jic->jobCluster(); | 1800 | » » error·+=·this->jic->jobCluster(); |
| 1801 | » » error·+=·"."; | 1801 | » » error·+=·"."; |
| 1802 | » » error·+=·this->jic->jobProc(); | 1802 | » » error·+=·this->jic->jobProc(); |
| 1803 | » » EXCEPT(·error.Value()·); | 1803 | » » EXCEPT(·"%s",·error.Value()·); |
| 1804 | » » ret·=·false; | 1804 | » » ret·=·false; |
| 1805 | » } | 1805 | » } |
| 1806 | » return·(·ret·); | 1806 | » return·(·ret·); |
| diff --git a/src/condor_sysapi/arch.cpp b/src/condor_sysapi/arch.cpp | |||
| index 832f845760d3221cb8c1bbbe95f7c7e57d580860..169e27e35f183c789d146ae53fe5bfe3bc799d21 100644 | |||
| a/src/condor_sysapi/arch.cpp | b/src/condor_sysapi/arch.cpp | ||
| ⋮ | ⋮ | ||
| 299 | » } | 299 | » } |
| 300 | » else·{ | 300 | » else·{ |
| 301 | » » » //·Unknown,·just·use·what·uname·gave: | 301 | » » » //·Unknown,·just·use·what·uname·gave: |
| 302 | » » sprintf(·tmp,·machine·); | 302 | » » sprintf(·tmp,·"%s",·machine·); |
| 303 | » } | 303 | » } |
| 304 | 304 | ||
| 305 | » tmparch·=·strdup(·tmp·); | 305 | » tmparch·=·strdup(·tmp·); |
| diff --git a/src/condor_tools/preen.cpp b/src/condor_tools/preen.cpp | |||
| index 4a64ddf23077fcd32656a8afac15d279e113f1d9..60bfb7ff716f692a04d0d89c7e7889fb5f1fc7cf 100644 | |||
| a/src/condor_tools/preen.cpp | b/src/condor_tools/preen.cpp | ||
| ⋮ | ⋮ | ||
| 221 | » } | 221 | » } |
| 222 | 222 | ||
| 223 | » szTmp.sprintf("The·condor_preen·process·has·found·the·following·stale·condor·files·on·<%s>:\n\n",··get_local_hostname().Value()); | 223 | » szTmp.sprintf("The·condor_preen·process·has·found·the·following·stale·condor·files·on·<%s>:\n\n",··get_local_hostname().Value()); |
| 224 | » dprintf(D_ALWAYS,·szTmp.Value());· | 224 | » dprintf(D_ALWAYS,·"%s",·szTmp.Value());· |
| 225 | » » | 225 | » » |
| 226 | » if(·MailFlag·)·{ | 226 | » if(·MailFlag·)·{ |
| 227 | » » fprintf(·mailer,·"\n"·); | 227 | » » fprintf(·mailer,·"\n"·); |
| 228 | » » fprintf(·mailer,·szTmp.Value()); | 228 | » » fprintf(·mailer,·"%s",·szTmp.Value()); |
| 229 | » } | 229 | » } |
| 230 | 230 | ||
| 231 | » for(·BadFiles->rewind();·(str·=·BadFiles->next());·)·{ | 231 | » for(·BadFiles->rewind();·(str·=·BadFiles->next());·)·{ |
| 232 | » » szTmp.sprintf("··%s\n",·str); | 232 | » » szTmp.sprintf("··%s\n",·str); |
| 233 | » » dprintf(D_ALWAYS,·szTmp.Value()·); | 233 | » » dprintf(D_ALWAYS,·"%s",·szTmp.Value()·); |
| 234 | » » fprintf(·mailer,·szTmp.Value()·); | 234 | » » fprintf(·mailer,·"%s",·szTmp.Value()·); |
| 235 | » } | 235 | » } |
| 236 | 236 | ||
| 237 | » if(·MailFlag·)·{ | 237 | » if(·MailFlag·)·{ |
| diff --git a/src/condor_utils/compat_classad.cpp b/src/condor_utils/compat_classad.cpp | |||
| index 9c876df840d080320f8cea213fd7791c01da3ce6..f7420d14e8e2da11bb4dc9045ab09d02a1984b2e 100644 | |||
| a/src/condor_utils/compat_classad.cpp | b/src/condor_utils/compat_classad.cpp | ||
| ⋮ | ⋮ | ||
| 612 | 612 | ||
| 613 | void | 613 | void |
| 614 | classad_debug_dprintf(const·char·*s)·{ | 614 | classad_debug_dprintf(const·char·*s)·{ |
| 615 | » dprintf(D_FULLDEBUG,·s); | 615 | » dprintf(D_FULLDEBUG,·"%s",·s); |
| 616 | } | 616 | } |
| 617 | 617 | ||
| 618 | ClassAd::ClassAd() | 618 | ClassAd::ClassAd() |
| diff --git a/src/condor_utils/condor_config.cpp b/src/condor_utils/condor_config.cpp | |||
| index 7a131d9631263817f8651c5ceb61446bcda95746..e5e3468c84391c20cc777c3d84016f2857b69ac0 100644 | |||
| a/src/condor_utils/condor_config.cpp | b/src/condor_utils/condor_config.cpp | ||
| ⋮ | ⋮ | ||
| 240 | » » if(ignore_invalid_entry)·{ | 240 | » » if(ignore_invalid_entry)·{ |
| 241 | » » » dprintf(D_ALWAYS,·"%s",·output.Value()); | 241 | » » » dprintf(D_ALWAYS,·"%s",·output.Value()); |
| 242 | » » }·else·{ | 242 | » » }·else·{ |
| 243 | » » » EXCEPT(output.Value()); | 243 | » » » EXCEPT("%s",·output.Value()); |
| 244 | » » } | 244 | » » } |
| 245 | » } | 245 | » } |
| 246 | } | 246 | } |
| diff --git a/src/condor_utils/condor_crontab.cpp b/src/condor_utils/condor_crontab.cpp | |||
| index 42bd785e9a2eed5101423aacdc136ba2845bc259..411dff14ed3c4ccdee11b3f31a46eef0bba925c6 100644 | |||
| a/src/condor_utils/condor_crontab.cpp | b/src/condor_utils/condor_crontab.cpp | ||
| ⋮ | ⋮ | ||
| 373 | » » if·(·!·CronTab::regex.compile(·pattern,·&errptr,·&erroffset·))·{ | 373 | » » if·(·!·CronTab::regex.compile(·pattern,·&errptr,·&erroffset·))·{ |
| 374 | » » » MyString·error·=·"CronTab:·Failed·to·compile·Regex·-·"; | 374 | » » » MyString·error·=·"CronTab:·Failed·to·compile·Regex·-·"; |
| 375 | » » » error·+=·pattern; | 375 | » » » error·+=·pattern; |
| 376 | » » » EXCEPT(·const_cast<char*>(error.Value())); | 376 | » » » EXCEPT(·"%s",·const_cast<char*>(error.Value())·); |
| 377 | » » } | 377 | » » } |
| 378 | » } | 378 | » } |
| 379 | } | 379 | } |
| diff --git a/src/condor_utils/email.cpp b/src/condor_utils/email.cpp | |||
| index 0ac185ffc26a7b0a8777457ced4e01db309569dd..ab1d6adaf4b67c7c0d0e1086f2b1b8d2b9935bcd 100644 | |||
| a/src/condor_utils/email.cpp | b/src/condor_utils/email.cpp | ||
| ⋮ | ⋮ | ||
| 433 | » customSig·=·NULL; | 433 | » customSig·=·NULL; |
| 434 | » if·((customSig·=·param("EMAIL_SIGNATURE"))·!=·NULL)·{ | 434 | » if·((customSig·=·param("EMAIL_SIGNATURE"))·!=·NULL)·{ |
| 435 | » » fprintf(·mailer,·"\n\n"); | 435 | » » fprintf(·mailer,·"\n\n"); |
| 436 | » » fprintf(·mailer,·customSig); | 436 | » » fprintf(·mailer,·"%s",·customSig); |
| 437 | » » fprintf(·mailer,·"\n"); | 437 | » » fprintf(·mailer,·"\n"); |
| 438 | » » free(customSig); | 438 | » » free(customSig); |
| 439 | » }·else·{ | 439 | » }·else·{ |
| diff --git a/src/condor_utils/event_handler.unix.cpp b/src/condor_utils/event_handler.unix.cpp | |||
| index 6ea1deb5f8a37c1048661cb91713a75dbd252312..18a34fbe74e51c2d7f393218b50bf77b07ec0cbe 100644 | |||
| a/src/condor_utils/event_handler.unix.cpp | b/src/condor_utils/event_handler.unix.cpp | ||
| ⋮ | ⋮ | ||
| 80 | » NameTableIterator» next_sig(·SigNames·); | 80 | » NameTableIterator» next_sig(·SigNames·); |
| 81 | 81 | ||
| 82 | » if(·msg·)·{ | 82 | » if(·msg·)·{ |
| 83 | » » dprintf(·D_ALWAYS,·msg·); | 83 | » » dprintf(·D_ALWAYS,·"%s",·msg·); |
| 84 | » } | 84 | » } |
| 85 | » while(·(signo·=·next_sig())·!=·-1·)·{ | 85 | » while(·(signo·=·next_sig())·!=·-1·)·{ |
| 86 | » » if(·sigismember(mask,signo)·)·{ | 86 | » » if(·sigismember(mask,signo)·)·{ |
| diff --git a/src/condor_utils/file_transfer.cpp b/src/condor_utils/file_transfer.cpp | |||
| index 57c2cb73e16eb15f6f1a859a66c81826ae083b09..52c19cefcce85a6f654dbe8c2ec9a8b2bf2c1ec7 100644 | |||
| a/src/condor_utils/file_transfer.cpp | b/src/condor_utils/file_transfer.cpp | ||
| ⋮ | ⋮ | ||
| 2716 | » » » } | 2716 | » » » } |
| 2717 | 2717 | ||
| 2718 | » » » //·condor_basename·works·for·URLs | 2718 | » » » //·condor_basename·works·for·URLs |
| 2719 | » » » dest_filename.sprintf_cat(·condor_basename(filename)·); | 2719 | » » » dest_filename.sprintf_cat(·"%s",·condor_basename(filename)·); |
| 2720 | » » } | 2720 | » » } |
| 2721 | 2721 | ||
| 2722 | » » //·for·command·999,·this·string·must·equal·the·Attribute·"Filename"·in | 2722 | » » //·for·command·999,·this·string·must·equal·the·Attribute·"Filename"·in |
| diff --git a/src/condor_utils/read_user_log_state.cpp b/src/condor_utils/read_user_log_state.cpp | |||
| index b7bbfb4fbdc0419236214cf371be89dae2fbedea..715e0fbac16028399aecf2b98628eab3137f3423 100644 | |||
| a/src/condor_utils/read_user_log_state.cpp | b/src/condor_utils/read_user_log_state.cpp | ||
| ⋮ | ⋮ | ||
| 752 | 752 | ||
| 753 | » MyString» str; | 753 | » MyString» str; |
| 754 | » GetStateString(·str,·"Restored·reader·state"·); | 754 | » GetStateString(·str,·"Restored·reader·state"·); |
| 755 | » dprintf(·D_FULLDEBUG,·str.Value()·); | 755 | » dprintf(·D_FULLDEBUG,·"%s",·str.Value()·); |
| 756 | 756 | ||
| 757 | » return·true; | 757 | » return·true; |
| 758 | } | 758 | } |
| diff --git a/src/condor_utils/write_user_log.cpp b/src/condor_utils/write_user_log.cpp | |||
| index add59478cf6f761e6ef48499cf2aa070cac28f80..d4d10cb139c2789ee4e7fd41f5400dcaa3cee4a8 100644 | |||
| a/src/condor_utils/write_user_log.cpp | b/src/condor_utils/write_user_log.cpp | ||
| ⋮ | ⋮ | ||
| 1176 | » » » » » » ·"WriteUserLog·Failed·to·convert·event·type·#·%d·to·XML.\n", | 1176 | » » » » » » ·"WriteUserLog·Failed·to·convert·event·type·#·%d·to·XML.\n", |
| 1177 | » » » » » » ·event->eventNumber); | 1177 | » » » » » » ·event->eventNumber); |
| 1178 | » » » } | 1178 | » » » } |
| 1179 | » » » if·(fprintf·(·fp,·adXML.Value())·<·0)·{ | 1179 | » » » if·(fprintf·(·fp,·"%s",·adXML.Value())·<·0)·{ |
| 1180 | » » » » success·=·false; | 1180 | » » » » success·=·false; |
| 1181 | » » » }·else·{ | 1181 | » » » }·else·{ |
| 1182 | » » » » success·=·true; | 1182 | » » » » success·=·true; |
| ⋮ | ⋮ | ||
| 1187 | » » if·(!success)·{ | 1187 | » » if·(!success)·{ |
| 1188 | » » » fputc·('\n',·fp); | 1188 | » » » fputc·('\n',·fp); |
| 1189 | » » } | 1189 | » » } |
| 1190 | » » if·(fprintf·(·fp,·SynchDelimiter)·<·0)·{ | 1190 | » » if·(fprintf·(·fp,·"%s",·SynchDelimiter)·<·0)·{ |
| 1191 | » » » success·=·false; | 1191 | » » » success·=·false; |
| 1192 | » » } | 1192 | » » } |
| 1193 | » } | 1193 | » } |

===VersionHistory:None===