summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-17 11:05:16 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-17 11:05:16 -0800
commit51a526dbe4fe4586b6e35a018c7c9b9e1ad36a8a (patch)
tree473bf46c184d7e9b95d7503351795b4c3e89a8a7
parent29e22b4199f3b0fb4044a8026664951e5aab4700 (diff)
unifdef __UNIXOS2__
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/process.c b/process.c
index d49aa24..ac1b546 100644
--- a/process.c
+++ b/process.c
@@ -698,7 +698,7 @@ int auth_finalize (void)
ProgramName, temp_name);
} else {
(void) unlink (iceauth_filename);
-#if defined(WIN32) || defined(__UNIXOS2__)
+#ifdef WIN32
if (rename(temp_name, iceauth_filename) == -1)
#else
/* Attempt to rename() if link() fails, since this may be on a FS that does not support hard links */