SOURCES: linux-2.4-sparc-utimes.patch (NEW) - handle utimes(file, N...

qboosh qboosh at pld-linux.org
Tue Jun 14 12:08:30 CEST 2005


Author: qboosh                       Date: Tue Jun 14 10:08:29 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- handle utimes(file,NULL) properly on 64-bit kernel with 32-bit userspace

---- Files affected:
SOURCES:
   linux-2.4-sparc-utimes.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/linux-2.4-sparc-utimes.patch
diff -u /dev/null SOURCES/linux-2.4-sparc-utimes.patch:1.1
--- /dev/null	Tue Jun 14 12:08:29 2005
+++ SOURCES/linux-2.4-sparc-utimes.patch	Tue Jun 14 12:08:20 2005
@@ -0,0 +1,11 @@
+--- linux-2.4.31/arch/sparc64/kernel/sys_sparc32.c.orig	2005-06-06 14:55:31.000000000 +0200
++++ linux-2.4.31/arch/sparc64/kernel/sys_sparc32.c	2005-06-14 12:00:15.000000000 +0200
+@@ -4267,7 +4267,7 @@
+ 
+ 		old_fs = get_fs();
+ 		set_fs(KERNEL_DS);
+-		ret = sys_utimes(kfilename, &ktvs[0]);
++		ret = sys_utimes(kfilename, (tvs ? &ktvs[0] : NULL));
+ 		set_fs(old_fs);
+ 
+ 		putname(kfilename);
================================================================



More information about the pld-cvs-commit mailing list