diff options
| author | Guido van Rooij <guido@FreeBSD.org> | 1997-04-07 18:01:10 +0000 | 
|---|---|---|
| committer | Guido van Rooij <guido@FreeBSD.org> | 1997-04-07 18:01:10 +0000 | 
| commit | 0fb28c0973577b283d9d5beb0d8707d5a6026016 (patch) | |
| tree | 1dc0849e5b2f4128ba3a65422d57ff5482c9a902 /lib/libc/stdio | |
| parent | 6a5c05956276ed68748da24b27482cab3a503651 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio')
| -rw-r--r-- | lib/libc/stdio/mktemp.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/mktemp.c b/lib/libc/stdio/mktemp.c index bc4c928e2de9..19125e677ff9 100644 --- a/lib/libc/stdio/mktemp.c +++ b/lib/libc/stdio/mktemp.c @@ -36,7 +36,7 @@  static char sccsid[] = "@(#)mktemp.c	8.1 (Berkeley) 6/4/93";  #endif  static const char rcsid[] = -		"$Id$"; +		"$Id: mktemp.c,v 1.6 1997/02/22 15:02:16 peter Exp $";  #endif /* LIBC_SCCS and not lint */  #include <sys/types.h> @@ -109,7 +109,7 @@ _gettemp(path, doopen)  			if (errno != EEXIST)  				return(0);  		} -		else if (stat(path, &sbuf)) +		else if (lstat(path, &sbuf))  			return(errno == ENOENT ? 1 : 0);  		/* tricky little algorithm for backward compatibility */  | 
