Group :: System/Base
RPM: util-linux
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: util-linux-2.12r-mdk-alt-largefile.patch
Download
Download
--- ./mount/lomount.c.largefile 2003-07-17 01:56:53.000000000 +0200
+++ ./mount/lomount.c 2004-01-12 23:53:04.000000000 +0100
@@ -253,6 +253,9 @@
char *pass;
mode = (*loopro ? O_RDONLY : O_RDWR);
+#ifdef O_LARGEFILE
+ mode |= O_LARGEFILE;
+#endif
if ((ffd = open(file, mode)) < 0) {
if (!*loopro && errno == EROFS)
ffd = open(file, mode = O_RDONLY);