From 3402852c2c478213b086648eab9848a35b7f5dbf Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 17 Sep 2003 09:18:37 +0000 Subject: [PATCH] Update. 2003-09-17 Ulrich Drepper * sysdeps/posix/utimes.c (__utimes): Truncate instead of round. * sysdeps/unix/sysv/linux/utimes.c (__utimes): Likewise. --- ChangeLog | 5 +++++ linuxthreads/ChangeLog | 6 ++++++ linuxthreads/sysdeps/i386/Makefile | 8 ++++---- localedata/locales/lo_LA | 25 ++++++++++--------------- nptl/ChangeLog | 5 +++++ nptl/sysdeps/i386/Makefile | 2 ++ sysdeps/posix/utimes.c | 4 ++-- sysdeps/unix/sysv/linux/utimes.c | 4 ++-- 8 files changed, 36 insertions(+), 23 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1c28bf2..2c911e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-09-17 Ulrich Drepper + + * sysdeps/posix/utimes.c (__utimes): Truncate instead of round. + * sysdeps/unix/sysv/linux/utimes.c (__utimes): Likewise. + 2003-09-15 Jakub Jelinek * sysdeps/i386/Makefile (sysdep-CFLAGS): If not in math or csu diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index a9d73fd..ed71daa 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,9 @@ +2003-09-15 Jakub Jelinek + + * sysdeps/i386/Makefile (CFLAGS-cancel.c, CFLAGS-manager.c, + CFLAGS-pthread.c, CFLAGS-sighandler.c): Add + -mpreferred-stack-boundary=4. + 2003-09-16 Ulrich Drepper * attr.c (pthread_getattr_np): Correctly fill in the stack-related diff --git a/linuxthreads/sysdeps/i386/Makefile b/linuxthreads/sysdeps/i386/Makefile index b0051fb..45183d1 100644 --- a/linuxthreads/sysdeps/i386/Makefile +++ b/linuxthreads/sysdeps/i386/Makefile @@ -6,15 +6,15 @@ CFLAGS-pt-initfini.s += -march=i386 -mcpu=i386 # Most files must not be compiled without frame pointer since we need # the frame base address which is stored in %ebp unless the frame pointer # is optimized out. -CFLAGS-cancel.c += -fno-omit-frame-pointer +CFLAGS-cancel.c += -fno-omit-frame-pointer -mpreferred-stack-boundary=4 CFLAGS-condvar.c += -fno-omit-frame-pointer CFLAGS-join.c += -fno-omit-frame-pointer -CFLAGS-manager.c += -fno-omit-frame-pointer +CFLAGS-manager.c += -fno-omit-frame-pointer -mpreferred-stack-boundary=4 CFLAGS-oldsemaphore.c += -fno-omit-frame-pointer -CFLAGS-pthread.c += -fno-omit-frame-pointer +CFLAGS-pthread.c += -fno-omit-frame-pointer -mpreferred-stack-boundary=4 CFLAGS-ptlongjmp.c += -fno-omit-frame-pointer CFLAGS-semaphore.c += -fno-omit-frame-pointer -CFLAGS-sighandler.c += -fno-omit-frame-pointer +CFLAGS-sighandler.c += -fno-omit-frame-pointer -mpreferred-stack-boundary=4 endif ifeq ($(subdir),csu) diff --git a/localedata/locales/lo_LA b/localedata/locales/lo_LA index 926d60e..027aade 100644 --- a/localedata/locales/lo_LA +++ b/localedata/locales/lo_LA @@ -6,18 +6,18 @@ comment_char % % % Name: lo_LA % Author: Anousak Souphavanh -% Contact: +% Contact: % E-mail: Anousak@muanglao.com % Language: Lao % Territory: Laos % Charset: UTF-8 -% Revision: 1.1 -% Date: 2003-02-06 +% Revision: 1.2 +% Date: 2003-15-09 % % % Copyright (C) 2002 Anousak Souphavanh - + % % Permission is hereby granted, free of charge, to any person obtaining % a copy of this software and associated documentation files (the "Software"), @@ -283,7 +283,6 @@ UNDEFINED IGNORE;IGNORE;IGNORE;IGNORE IGNORE;IGNORE;;IGNORE % SOLIDUS IGNORE;IGNORE;;IGNORE % FULL STOP IGNORE;IGNORE;;IGNORE % Lao CHARACTER Lao Ellipse - IGNORE;IGNORE;;IGNORE % Lao CHARACTER mAI ko La IGNORE;IGNORE;;IGNORE % GRAVE ACCENT IGNORE;IGNORE;;IGNORE % CIRCUMFLEX IGNORE;IGNORE;;IGNORE % TILDE @@ -402,7 +401,7 @@ UNDEFINED IGNORE;IGNORE;IGNORE;IGNORE % % Lao consonants, with leading vowels rearrangement % - ;;; % Lao CHARACTER KO + ;;; % Lao CHARACTER KO "";;; "";;; "";;; @@ -423,14 +422,14 @@ UNDEFINED IGNORE;IGNORE;IGNORE;IGNORE "";;; "";;; - ;;; % Lao CHARACTER NGO + ;;; % Lao CHARACTER NGO "";;; "";;; "";;; "";;; "";;; - ;;; % Lao CHARACTER CHO + ;;; % Lao CHARACTER CHO "";;; "";;; "";;; @@ -458,7 +457,7 @@ UNDEFINED IGNORE;IGNORE;IGNORE;IGNORE "";;; "";;; - ;;; % Lao CHARACTER TO + ;;; % Lao CHARACTER TO "";;; "";;; "";;; @@ -607,8 +606,6 @@ UNDEFINED IGNORE;IGNORE;IGNORE;IGNORE "";;; "";;; - ;;; % Lao CHARACTER Ellipsis - % order of Lao vowels ;;; % Lao CHARACTER SAlA A @@ -724,9 +721,9 @@ END LC_TIME LC_MESSAGES -% yesexpr : begins with "y", "Y", or mo +% yesexpr : begins with "y", "Y", or mo % noexpr : begins with "n", "N", or Bo -% yesstr = "men" = Sala ae + Mo + MAI EK + No +% yesstr = "men" = Sala ae + Mo + MAI EK + No % nostr = "Bo Men" = Letter Bo +salo Or+ MAI EK + mo+ Ma Ek+ No yesexpr "" @@ -783,5 +780,3 @@ lang_ab "" lang_term "" lang_lib "" END LC_ADDRESS - - diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 0983e0b..90c7b26 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,8 @@ +2003-09-15 Jakub Jelinek + + * sysdeps/i386/Makefile (CFLAGS-pthread_create.c, + CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. + 2003-09-17 Jakub Jelinek * Makefile (CFLAGS-tst-align.c): Add $(stack-align-test-flags). diff --git a/nptl/sysdeps/i386/Makefile b/nptl/sysdeps/i386/Makefile index a18c1bc..fac6d8d 100644 --- a/nptl/sysdeps/i386/Makefile +++ b/nptl/sysdeps/i386/Makefile @@ -22,4 +22,6 @@ endif ifeq ($(subdir),nptl) CFLAGS-tst-align.c += -malign-double +CFLAGS-pthread_create.c += -mpreferred-stack-boundary=4 +CFLAGS-tst-align.c += -mpreferred-stack-boundary=4 endif diff --git a/sysdeps/posix/utimes.c b/sysdeps/posix/utimes.c index 21da947..d0381a5 100644 --- a/sysdeps/posix/utimes.c +++ b/sysdeps/posix/utimes.c @@ -31,8 +31,8 @@ __utimes (const char *file, const struct timeval tvp[2]) if (tvp) { times = &buf; - buf.actime = tvp[0].tv_sec + (tvp[0].tv_usec + 500000) / 1000000; - buf.modtime = tvp[1].tv_sec + (tvp[1].tv_usec + 500000) / 1000000; + buf.actime = tvp[0].tv_sec + tvp[0].tv_usec / 1000000; + buf.modtime = tvp[1].tv_sec + tvp[1].tv_usec / 1000000; } else times = NULL; diff --git a/sysdeps/unix/sysv/linux/utimes.c b/sysdeps/unix/sysv/linux/utimes.c index e4798ce..d777672 100644 --- a/sysdeps/unix/sysv/linux/utimes.c +++ b/sysdeps/unix/sysv/linux/utimes.c @@ -47,8 +47,8 @@ __utimes (const char *file, const struct timeval tvp[2]) if (tvp != NULL) { times = &buf; - buf.actime = tvp[0].tv_sec + (tvp[0].tv_usec + 500000) / 1000000; - buf.modtime = tvp[1].tv_sec + (tvp[1].tv_usec + 500000) / 1000000; + buf.actime = tvp[0].tv_sec + tvp[0].tv_usec / 1000000; + buf.modtime = tvp[1].tv_sec + tvp[1].tv_usec / 1000000; } else times = NULL; -- 2.7.4