linux-mips
[Top] [All Lists]

MIPS N32 tar could not change time on unpacked file

To: linux-mips@linux-mips.org
Subject: MIPS N32 tar could not change time on unpacked file
From: Johannes Dickgreber <tanzy@gmx.de>
Date: Wed, 12 Sep 2007 18:22:04 +0200
Cc: ralf@linux-mips.org, kumba@gentoo.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 1.5.0.12 (X11/20060911)
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

--- linux-2.6.22-mips20070902/arch/mips/kernel/scall64-n32.S    2007-07-09 
01:32:17 +0200
+++ linux-octane-1/arch/mips/kernel/scall64-n32.S       2007-09-12 12:14:41 
+0200
@@ -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

<Prev in Thread] Current Thread [Next in Thread>