kumquat-buildroot/package/genext2fs/genext2fs-1.4-nosquash.patch
Thomas Petazzoni 069290f197 genext2fs: new package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:03:54 +02:00

15 lines
452 B
Diff

diff -ru genext2fs-1.4/genext2fs.c genext2fs-1.4-nosquash/genext2fs.c
--- genext2fs-1.4/genext2fs.c 2006-12-19 17:45:31.000000000 +0100
+++ genext2fs-1.4-nosquash/genext2fs.c 2007-02-09 10:47:05.000000000 +0100
@@ -1629,10 +1629,6 @@
mtime = st.st_mtime;
name = dent->d_name;
mode = get_mode(&st);
- if(squash_uids)
- uid = gid = 0;
- if(squash_perms)
- mode &= ~(FM_IRWXG | FM_IRWXO);
if(stats)
switch(st.st_mode & S_IFMT)
{