mirror of
https://github.com/termux/termux-packages.git
synced 2025-07-23 09:41:41 +00:00
11 lines
338 B
Diff
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 */
|