termux-packages/packages/aria2/a2io.h.patch

13 lines
550 B
Diff
Raw Normal View History

2016-03-08 00:41:45 +01:00
diff -u -r ../aria2-1.20.0/src/a2io.h ./src/a2io.h
--- ../aria2-1.20.0/src/a2io.h 2016-02-15 10:36:34.000000000 -0500
+++ ./src/a2io.h 2016-03-07 18:34:51.855777471 -0500
@@ -148,7 +148,7 @@
#define a2fstat(fd, buf) fstat64(fd, buf)
2015-06-13 01:03:31 +02:00
// # define a2ftell(fd): No ftell64 and not used in aria2
2016-03-08 00:41:45 +01:00
#define a2_struct_stat struct stat
-#define a2stat(path, buf) stat64(path, buf)
+#define a2stat(path, buf) stat(path, buf)
#define a2mkdir(path, openMode) mkdir(path, openMode)
#define a2utimbuf utimbuf
#define a2utime(path, times) ::utime(path, times)