mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-11 22:33:29 +08:00
genext2fs: update to CVS rev 1.118
See http://genext2fs.cvs.sourceforge.net/viewvc/genext2fs/genext2fs/genext2fs.c?view=log for details. Numerous bugfixes, large file and filesystem support, rev 1 filesystems, volume id support, block size, .. And drop unneeded patches while we're at it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
90f908f21e
commit
fa2ab8ac34
@ -1,14 +0,0 @@
|
||||
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)
|
||||
{
|
@ -1,21 +0,0 @@
|
||||
diff -ru genext2fs-1.4/genext2fs.c genext2fs-1.4-remove_ugly_warnings/genext2fs.c
|
||||
--- genext2fs-1.4/genext2fs.c 2007-02-09 10:54:56.000000000 +0100
|
||||
+++ genext2fs-1.4-remove_ugly_warnings/genext2fs.c 2007-02-09 10:54:30.000000000 +0100
|
||||
@@ -1606,7 +1606,7 @@
|
||||
static void
|
||||
add2fs_from_dir(filesystem *fs, uint32 this_nod, int squash_uids, int squash_perms, uint32 fs_timestamp, struct stats *stats)
|
||||
{
|
||||
- uint32 nod;
|
||||
+ uint32 nod = 0;
|
||||
uint32 uid, gid, mode, ctime, mtime;
|
||||
const char *name;
|
||||
FILE *fh;
|
||||
@@ -2056,7 +2056,7 @@
|
||||
static filesystem *
|
||||
load_fs(FILE * fh, int swapit)
|
||||
{
|
||||
- size_t fssize;
|
||||
+ size_t fssize = 0;
|
||||
filesystem *fs;
|
||||
if((fseek(fh, 0, SEEK_END) < 0) || ((ssize_t)(fssize = ftell(fh)) == -1))
|
||||
perror_msg_and_die("input filesystem image");
|
2971
package/genext2fs/genext2fs-update-genext2fs.c-to-rev-1.118.patch
Normal file
2971
package/genext2fs/genext2fs-update-genext2fs.c-to-rev-1.118.patch
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user