projects
/
tfcrypt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
-O readloops=n: read source repeatedly n times (by default disabled).
[tfcrypt.git]
/
tfc_random.c
diff --git
a/tfc_random.c
b/tfc_random.c
index 9f9105af68fdaf9a53beca93f24ff1e43882309d..ccafe5c28dc6e56da5209f7e6790c0f154af56bd 100644
(file)
--- a/
tfc_random.c
+++ b/
tfc_random.c
@@
-88,6
+88,8
@@
void gen_write_bytes(const char *foutname, tfc_fsize offset, tfc_fsize nrbytes)
size_t lblock, lio, lrem;
tfc_byte *pblk;
size_t lblock, lio, lrem;
tfc_byte *pblk;
+ xexit_no_nl = YES;
+
for (x = 1; x < NSIG; x++) signal(x, SIG_IGN);
memset(&sigact, 0, sizeof(sigact));
sigact.sa_flags = SA_RESTART;
for (x = 1; x < NSIG; x++) signal(x, SIG_IGN);
memset(&sigact, 0, sizeof(sigact));
sigact.sa_flags = SA_RESTART;
@@
-179,7
+181,10
@@
_wagain: lio = xwrite(fd, pblk, lrem);
}
if (verbose) tfc_esay("done!");
}
if (verbose) tfc_esay("done!");
- if (verbose || status_timer) print_crypt_status(0);
+ if (verbose || status_timer) {
+ print_crypt_status(0);
+ tfc_esay("\n");
+ }
xclose(fd);
xexit(0);
xclose(fd);
xexit(0);