version 1.29, 2015/07/16 15:03:35 |
version 1.30, 2015/07/20 02:41:10 |
|
|
BIO_printf(bio_err, "unable to rename %s to %s\n", |
BIO_printf(bio_err, "unable to rename %s to %s\n", |
buf[0], serialfile); |
buf[0], serialfile); |
perror("reason"); |
perror("reason"); |
rename(buf[1], serialfile); |
if (rename(buf[1], serialfile) < 0) { |
|
BIO_printf(bio_err, "unable to rename %s to %s\n", |
|
buf[1], serialfile); |
|
perror("reason"); |
|
} |
goto err; |
goto err; |
} |
} |
return 1; |
return 1; |
|
|
BIO_printf(bio_err, "unable to rename %s to %s\n", |
BIO_printf(bio_err, "unable to rename %s to %s\n", |
buf[0], dbfile); |
buf[0], dbfile); |
perror("reason"); |
perror("reason"); |
rename(buf[1], dbfile); |
if (rename(buf[1], dbfile) < 0) { |
|
BIO_printf(bio_err, "unable to rename %s to %s\n", |
|
buf[1], dbfile); |
|
perror("reason"); |
|
} |
goto err; |
goto err; |
} |
} |
|
|
|
|
BIO_printf(bio_err, "unable to rename %s to %s\n", |
BIO_printf(bio_err, "unable to rename %s to %s\n", |
buf[4], buf[3]); |
buf[4], buf[3]); |
perror("reason"); |
perror("reason"); |
rename(dbfile, buf[0]); |
if (rename(dbfile, buf[0]) < 0) { |
rename(buf[1], dbfile); |
BIO_printf(bio_err, "unable to rename %s to %s\n", |
|
dbfile, buf[0]); |
|
perror("reason"); |
|
} |
|
if (rename(buf[1], dbfile) < 0) { |
|
BIO_printf(bio_err, "unable to rename %s to %s\n", |
|
buf[1], dbfile); |
|
perror("reason"); |
|
} |
goto err; |
goto err; |
} |
} |
|
|
|
|
BIO_printf(bio_err, "unable to rename %s to %s\n", |
BIO_printf(bio_err, "unable to rename %s to %s\n", |
buf[2], buf[4]); |
buf[2], buf[4]); |
perror("reason"); |
perror("reason"); |
rename(buf[3], buf[4]); |
if (rename(buf[3], buf[4]) < 0) { |
rename(dbfile, buf[0]); |
BIO_printf(bio_err, "unable to rename %s to %s\n", |
rename(buf[1], dbfile); |
buf[3], buf[4]); |
|
perror("reason"); |
|
} |
|
if (rename(dbfile, buf[0]) < 0) { |
|
BIO_printf(bio_err, "unable to rename %s to %s\n", |
|
dbfile, buf[0]); |
|
perror("reason"); |
|
} |
|
if (rename(buf[1], dbfile) < 0) { |
|
BIO_printf(bio_err, "unable to rename %s to %s\n", |
|
buf[1], dbfile); |
|
perror("reason"); |
|
} |
goto err; |
goto err; |
} |
} |
return 1; |
return 1; |