]> Savannah Git Hosting - gnulib.git/commitdiff
tempname: remove incorrect comment
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 15 Aug 2022 20:04:08 +0000 (13:04 -0700)
committerBruno Haible <bruno@clisp.org>
Wed, 31 Aug 2022 23:26:35 +0000 (01:26 +0200)
* lib/tempname.c, lib/tempname.h: Remove incorrect comment,
as the names are not necessarily hard to predict (Bug#57129).

ChangeLog
lib/tempname.c
lib/tempname.h

index 44763f5c5580a3c70209fcec65b11fd6842d2e95..3e6ec7e85fdf44e67f25cd9a9209f679f3502892 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-08-15  Paul Eggert  <eggert@cs.ucla.edu>
+
+       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  <eggert@cs.ucla.edu>
 
        stdbool: port to C23
index 5fc5efe0314b76b6d1ffd126d5acfd2c3f4636ed..75a939e571ecb693a6da8d80d12f6cee2fa837ec 100644 (file)
@@ -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
index c172820f7f5b194f8f3c3fca091e8a5188bc9c7a..5e3c5e155004736eee368ef2975edbd3fd22ca9f 100644 (file)
@@ -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,