]> git.marmaro.de Git - mmh/blobdiff - sbr/m_tmpfil.c
Rearranged whitespace (and comments) in all the code!
[mmh] / sbr / m_tmpfil.c
index 291d996606c0d5a742c33da09a4a64b9d9f3dd05..c0a60bca624795609e8db66c42f5633efa4d69b5 100644 (file)
 char *
 m_tmpfil (char *template)
 {
-    static char tmpfil[BUFSIZ];
+       static char tmpfil[BUFSIZ];
 
-    snprintf (tmpfil, sizeof(tmpfil), "/tmp/%sXXXXXX", template);
+       snprintf (tmpfil, sizeof(tmpfil), "/tmp/%sXXXXXX", template);
 /*
-  Mkstemp work postponed until later -Doug
-#ifdef HAVE_MKSTEMP
-    unlink(mkstemp(tmpfil));
-#else
-*/
-    unlink(mktemp(tmpfil));
* Mkstemp work postponed until later -Doug
+ * #ifdef HAVE_MKSTEMP
*   unlink(mkstemp(tmpfil));
+ * #else
+ */
+       unlink(mktemp(tmpfil));
 /*
-#endif
-*/
-    return tmpfil;
+ * #endif
+ */
+       return tmpfil;
 }