Bug#284449: [patch/hppa] fix utimes() for hppa

2004-12-15 Thread GOTO Masanori
Hi,

At Thu, 9 Dec 2004 13:52:03 -0800,
Randolph Chung wrote:
 This patch fixes the utimes() problem on hppa -- the cvs patch applied
 to debian's glibc has a bug in it. tested against 2.3.2.ds1-19

Thanks!  I've put it into cvs/svn.

Regards,
-- gotom


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Bug#284449: [patch/hppa] fix utimes() for hppa

2004-12-10 Thread Christoph Hellwig
On Thu, Dec 09, 2004 at 01:52:03PM -0800, Randolph Chung wrote:
 tag 284449 +patch
 thanks
 
 This patch fixes the utimes() problem on hppa -- the cvs patch applied
 to debian's glibc has a bug in it. tested against 2.3.2.ds1-19

And while you're at it - what about submitting a kernel patch to add 
sys_utimes on parisc?



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#284449: [patch/hppa] fix utimes() for hppa

2004-12-10 Thread Randolph Chung
 And while you're at it - what about submitting a kernel patch to add 
 sys_utimes on parisc?

willy and i talked about this yesterday. i'll commit this directly to
the parisc tree.

randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#284449: [patch/hppa] fix utimes() for hppa

2004-12-09 Thread Randolph Chung
tag 284449 +patch
thanks

This patch fixes the utimes() problem on hppa -- the cvs patch applied
to debian's glibc has a bug in it. tested against 2.3.2.ds1-19

thanks,
randolph


#! /bin/sh -e

# DP: Description: Don't define __ASSUME_UTIMES for hppa
# DP: Author: Randolph Chung [EMAIL PROTECTED]
# DP: Upstream status: Pending
# DP: Date: Thu, 09 Dec 2004 12:01:12 -0800

if [ $# -ne 2 ]; then
echo 2 `basename $0`: script expects -patch|-unpatch as argument
exit 1
fi
case $1 in
-patch) patch -d $2 -f --no-backup-if-mismatch -p1  $0;;
-unpatch) patch -d $2 -f --no-backup-if-mismatch -R -p1  $0;;
*)
echo 2 `basename $0`: script expects -patch|-unpatch as argument
exit 1
esac
exit 0

2004-12-09  Randolph Chung  [EMAIL PROTECTED]

* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Don't
define for hppa, which doesn't support this syscall.

--- glibc-2.3.2/sysdeps/unix/sysv/linux/kernel-features.h.orig  2004-12-09 
11:59:32.138873056 -0800
+++ glibc-2.3.2/sysdeps/unix/sysv/linux/kernel-features.h   2004-12-09 
11:59:49.386251056 -0800
@@ -351,7 +351,7 @@
 
 /* The utimes syscall has been available for some architectures
forever.  For x86 it was introduced after 2.5.75.  */
-#if defined __alpha__ || defined __ia64__ || defined __hppa__ \
+#if defined __alpha__ || defined __ia64__ \
 || defined __sparc__ \
 || (__LINUX_KERNEL_VERSION  132427  defined __i386__)
 # define __ASSUME_UTIMES   1


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]