Comment changes.
authorBruno Haible <bruno@clisp.org>
Sat, 7 Oct 2006 15:09:14 +0000 (15:09 +0000)
committerBruno Haible <bruno@clisp.org>
Sat, 7 Oct 2006 15:09:14 +0000 (15:09 +0000)
lib/clean-temp.c
lib/clean-temp.h

index 7347aaf..36a5294 100644 (file)
@@ -589,7 +589,7 @@ open_temp (const char *file_name, int flags, mode_t mode)
   int saved_errno;
 
   block_fatal_signals ();
-  fd = open (file_name, flags, mode);
+  fd = open (file_name, flags, mode); /* actually open or open_safer */
   saved_errno = errno;
   if (fd >= 0)
     register_fd (fd);
@@ -607,7 +607,7 @@ fopen_temp (const char *file_name, const char *mode)
   int saved_errno;
 
   block_fatal_signals ();
-  fp = fopen (file_name, mode);
+  fp = fopen (file_name, mode); /* actually fopen or fopen_safer */
   saved_errno = errno;
   if (fp != NULL)
     {
index 7edb944..6e7c3e6 100644 (file)
@@ -36,7 +36,7 @@ extern "C" {
 
    Also, open file descriptors need to be closed before the temporary files
    and the temporary directories can be removed, because only on Unix
-   (excluding Cygwin) one can remove directories containing open files.
+   (excluding Cygwin) can one remove directories containing open files.
 
    This module provides support for temporary directories and temporary files
    inside these temporary directories.  Temporary files without temporary