2000-03-08 00:11:35 -05:00
|
|
|
--- uip/spost.c.orig Sun Feb 6 04:41:00 2000
|
|
|
|
+++ uip/spost.c Tue Feb 29 17:52:41 2000
|
|
|
|
@@ -727,8 +727,8 @@
|
1998-04-30 00:24:30 -04:00
|
|
|
char *vec[6];
|
|
|
|
FILE * in, *out;
|
|
|
|
|
|
|
|
- mktemp (bccfil);
|
|
|
|
- if ((out = fopen (bccfil, "w")) == NULL)
|
1999-03-26 03:48:27 -05:00
|
|
|
+ fd = mkstemp (bccfil);
|
|
|
|
+ if ((fd == -1) || ((out = fdopen (fd, "w")) == NULL))
|
1998-04-30 00:24:30 -04:00
|
|
|
adios (bccfil, "unable to create");
|
|
|
|
chmod (bccfil, 0600);
|
|
|
|
|