Skip to contentSkip to conversation

MIPS N32 tar could not change time on unpacked file

PATCH Johannes Dickgreber 2 participants 2 messages Sep 12, 2007 MIPS

lore
Share & tools
lore
#0 lore raw

Hi

After I installed a new glibc-2.5 with linux-headers-2.6.21 on my SGI Octane, tar could not change time on unpacked file.

For each file there was "utime invalid argument".

System Gentoo MIPS N32
Kernel 2.6.22 with mips-git20070902 plus modified skylark patches

I changed this

arch/mips/kernel/scall64-n32.S +1 -1
@@ -375,7 +375,7 @@ EXPORT(sysn32_call_table)
 	PTR	sys_mkdirat
 	PTR	sys_mknodat
 	PTR	sys_fchownat
-	PTR	sys_futimesat			/* 6255 */
+	PTR	compat_sys_futimesat		/* 6255 */
 	PTR	sys_newfstatat
 	PTR	sys_unlinkat
 	PTR	sys_renameat

Now tar was fully working.

Bye johannes

#1 lore raw
Quoted 7 lines · Johannes Dickgreber

After I installed a new glibc-2.5 with linux-headers-2.6.21 on my SGI Octane, tar could not change time on unpacked file.

For each file there was "utime invalid argument".

System Gentoo MIPS N32
Kernel 2.6.22 with mips-git20070902 plus modified skylark patches

Yep, makes perfect sense. Patch applied. Please include a Signed-off-by:
line when submitting patches, see Documentation/SubmittingPatches.

Thanks,

Ralf