Do only one call to GetVersionEx in the common case.
[pspp] / lib / openat-die.c
index 677f3e02cbc76bab0f54174345d35659a44c02e5..a507eac10e26d026e733f7c1652bb4be25616073 100644 (file)
@@ -40,6 +40,11 @@ openat_save_fail (int errnum)
   abort ();
 }
 
+
+/* Exit with an error about failure to restore the working directory
+   during an openat emulation.  The caller must ensure that fd 2 is
+   not a just-opened fd, even when openat_safer is not in use.  */
+
 void
 openat_restore_fail (int errnum)
 {