From 57765b8c307d49a909cb563ea88141c69ff226e2 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 26 May 2011 12:21:02 +0200 Subject: [PATCH] libport: Don't clear the buffer on failure in mkstemps. --- libs/port/mkstemps.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libs/port/mkstemps.c b/libs/port/mkstemps.c index 1a091a7f974..3ca71e8087b 100644 --- a/libs/port/mkstemps.c +++ b/libs/port/mkstemps.c @@ -133,7 +133,5 @@ mkstemps ( value += 7777; } - /* We return the null string if we can't find a unique file name. */ - template[0] = '\0'; return -1; }