summaryrefslogtreecommitdiff
path: root/po/POTFILES.in
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2007-09-01 10:33:33 +0200
committerJim Meyering <meyering@redhat.com>2007-10-07 19:44:07 +0200
commit7eab7d027e624350cc9749dcbb963e2d6d6a9b46 (patch)
treecfd9638327c8b88d8feb0b15e3d69718c1051bbf /po/POTFILES.in
parent58a7ead41d056909784bfab9323c5f44f577d3d0 (diff)
downloadcoreutils-7eab7d027e624350cc9749dcbb963e2d6d6a9b46.tar.xz
Make tempname more random, via the randint module.
* gl/modules/tempname (Depends-on): Add randint and stdbool. * gl/lib/tempname.c: Include randint.h and stdbool.h. (uint64_t): Remove definition. Not needed. [_LIBC] (RANDOM_BITS): Remove this block, now that we have proper random bits. (check_x_suffix): New function. (gen_tempname_len): Rename from __gen_tempname. Add a parameter, x_suffix_len, telling how many X's there must be at the end of the template. Use pseudo-random numbers all the way, rather than adding 7777 from one iteration to the next. (__gen_tempname): New function, to call gen_tempname_len, requiring a suffix length of 6. * gl/lib/tempname.h: Add prototype for gen_tempname_len. Signed-off-by: Jim Meyering <meyering@redhat.com>
Diffstat (limited to 'po/POTFILES.in')
0 files changed, 0 insertions, 0 deletions