Files
termux-packages/x11-packages/xorg-iceauth/process.c.patch
2024-05-12 16:37:38 +00:00

11 lines
338 B
Diff

+++ ./process.c
@@ -698,7 +698,7 @@
ProgramName, temp_name);
} else {
(void) unlink (iceauth_filename);
-#ifdef WIN32
+#if defined(WIN32) || defined(__ANDROID__)
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 */