inverted test. problem reported by avsm@.
This commit is contained in:
parent
ad9e816cd5
commit
c7560d7cce
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-binutils_bucomm_c,v 1.5 2003/10/11 00:52:22 brad Exp $
|
||||
$OpenBSD: patch-binutils_bucomm_c,v 1.6 2004/01/08 00:33:16 brad Exp $
|
||||
--- binutils/bucomm.c.orig 2003-03-24 06:28:35.000000000 -0500
|
||||
+++ binutils/bucomm.c 2003-09-04 02:03:35.000000000 -0400
|
||||
+++ binutils/bucomm.c 2004-01-07 19:30:00.000000000 -0500
|
||||
@@ -403,12 +403,14 @@ print_arelt_descr (file, abfd, verbose)
|
||||
/* Return the name of a temporary file in the same directory as FILENAME. */
|
||||
|
||||
@ -42,7 +42,7 @@ $OpenBSD: patch-binutils_bucomm_c,v 1.5 2003/10/11 00:52:22 brad Exp $
|
||||
+
|
||||
+ if (isdir)
|
||||
+ {
|
||||
+ if (mkdtemp (tmpname) != (char *) NULL)
|
||||
+ if (mkdtemp (tmpname) == (char *) NULL)
|
||||
+ tmpname = NULL;
|
||||
+ }
|
||||
+ else
|
||||
|
Loading…
Reference in New Issue
Block a user