Ticket #62134: Leopard.patch
File Leopard.patch, 1.2 KB (added by ballapete (Peter "Pete" Dyballa), 4 years ago) |
---|
-
lib/tempname.c
old new 237 237 try_tempname_len (char *tmpl, int suffixlen, void *args, 238 238 int (*tryfunc) (char *, void *), size_t x_suffix_len) 239 239 { 240 size_t len ;240 size_t len, i; 241 241 char *XXXXXX; 242 242 unsigned int count; 243 243 int fd = -1; … … 287 287 288 288 for (count = 0; count < attempts; ++count) 289 289 { 290 for ( size_ti = 0; i < x_suffix_len; i++)290 for (i = 0; i < x_suffix_len; i++) 291 291 { 292 292 if (vdigits == 0) 293 293 { -
src/progress.c
old new 1366 1366 static void 1367 1367 bar_set_params (const char *params) 1368 1368 { 1369 char *param; 1369 1370 /* if run_with_timeout() will be used for read, needs to disable interactive bar, 1370 1371 or on every timeout(1s) we will have 'retry' with error "decryption failed" */ 1371 1372 #if (defined(HAVE_LIBSSL) || defined(HAVE_LIBSSL32)) && defined(OPENSSL_RUN_WITHTIMEOUT) … … 1375 1376 #endif 1376 1377 if (params) 1377 1378 { 1378 for ( const char*param = params; *param; )1379 for (*param = params; *param; ) 1379 1380 { 1380 1381 if (!strncmp (param, "force", 5)) 1381 1382 current_impl_locked = 1;