2021-12-15 13:52:58 +01:00
|
|
|
--- ./mutt/file.c.orig 2021-12-15 17:56:42.465005012 +0530
|
|
|
|
+++ ./mutt/file.c 2021-12-15 18:16:25.832322927 +0530
|
|
|
|
@@ -354,6 +354,10 @@
|
2021-01-02 21:24:49 +01:00
|
|
|
*/
|
|
|
|
int mutt_file_safe_rename(const char *src, const char *target)
|
|
|
|
{
|
2021-12-15 13:52:58 +01:00
|
|
|
+/* Since Android 6.0, hardlinks are unsupported */
|
|
|
|
+#if defined(__ANDROID__)
|
2021-01-02 21:24:49 +01:00
|
|
|
+ return rename(src, target);
|
|
|
|
+#endif
|
2021-12-15 13:52:58 +01:00
|
|
|
struct stat st_src = { 0 };
|
|
|
|
struct stat st_target = { 0 };
|
2021-01-02 21:24:49 +01:00
|
|
|
int link_errno;
|