Skip to contentSkip to conversation

fix bulid against newer glibc

PATCH Applied Eric Sandeen 2 participants 2 messages Feb 13, 2010 – Feb 14, 2010 1 message not in the archive NILFS2 filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix bulid against newer glibc

Changes in recent glibc were breaking the build on Rawhide; we need to explicitly include sys/stat.h to get S_ISREG etc.

See also https://bugzilla.redhat.com/show_bug.cgi?id=564788

---

sbin/mkfs/mkfs.c +1 -0
Index: nilfs-utils-2.0.15/sbin/mkfs/mkfs.c
===================================================================
@@ -42,6 +42,7 @@
 #include <strings.h>
 #include <stdarg.h>
 #include <sys/ioctl.h>
+#include <sys/stat.h>
 #include <sys/wait.h>
 #include <uuid/uuid.h>
 #include <string.h>

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hi,

Quoted 6 lines · Eric Sandeen

Changes in recent glibc were breaking the build on Rawhide; we need to explicitly include sys/stat.h to get S_ISREG etc.

See also https://bugzilla.redhat.com/show_bug.cgi?id=564788

Applied to utils git repo, Thanks!

Ryusuke Konishi

Quoted 17 lines

---

Index: nilfs-utils-2.0.15/sbin/mkfs/mkfs.c
===================================================================

sbin/mkfs/mkfs.c +1 -1
@@ -42,6 +42,7 @@
 #include <strings.h>
 #include <stdarg.h>
 #include <sys/ioctl.h>
+#include <sys/stat.h>
 #include <sys/wait.h>
 #include <uuid/uuid.h>
 #include <string.h>
 
 
--
Quoted 3 lines

To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html