diff --git a/ChangeLog b/ChangeLog index 44763f5c55..3e6ec7e85f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2022-08-15 Paul Eggert + + tempname: remove incorrect comment + * lib/tempname.c, lib/tempname.h: Remove incorrect comment, + as the names are not necessarily hard to predict (Bug#57129). + 2022-08-13 Paul Eggert stdbool: port to C23 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,