summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-08-15 13:04:08 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2022-08-15 13:04:08 -0700
commita7ef21bf347da5e3a8b5492b849d633ef3252d62 (patch)
treede5f9dbebf6da6483e96006129b4ac8238a5a69f /lib
parent1c7a057b52147c7bb734e94ed814116fcdba1b4c (diff)
downloadgnulib-a7ef21bf347da5e3a8b5492b849d633ef3252d62.tar.gz
tempname: remove incorrect comment
* lib/tempname.c, lib/tempname.h: Remove incorrect comment, as the names are not necessarily hard to predict (Bug#57129).
Diffstat (limited to 'lib')
-rw-r--r--lib/tempname.c2
-rw-r--r--lib/tempname.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/tempname.c b/lib/tempname.c
index 5fc5efe031..75a939e571 100644
--- a/lib/tempname.c
+++ b/lib/tempname.c
@@ -213,7 +213,7 @@ static const char letters[] =
and return a read-write fd. The file is mode 0600.
__GT_DIR: create a directory, which will be mode 0700.
- We use a clever algorithm to get hard-to-predict names. */
+ */
#ifdef _LIBC
static
#endif
diff --git a/lib/tempname.h b/lib/tempname.h
index c172820f7f..5e3c5e1550 100644
--- a/lib/tempname.h
+++ b/lib/tempname.h
@@ -48,7 +48,7 @@ extern "C" {
and return a read-write fd. The file is mode 0600.
GT_DIR: create a directory, which will be mode 0700.
- We use a clever algorithm to get hard-to-predict names. */
+ */
extern int gen_tempname (char *tmpl, int suffixlen, int flags, int kind);
/* Similar, except X_SUFFIX_LEN gives the number of Xs. */
extern int gen_tempname_len (char *tmpl, int suffixlen, int flags, int kind,