1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00
2003-09-17  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/posix/utimes.c (__utimes): Truncate instead of round.
	* sysdeps/unix/sysv/linux/utimes.c (__utimes): Likewise.
This commit is contained in:
Ulrich Drepper
2003-09-17 09:18:37 +00:00
parent a4db3439f1
commit 3402852c2c
8 changed files with 36 additions and 23 deletions

View File

@ -1,3 +1,8 @@
2003-09-17 Ulrich Drepper <drepper@redhat.com>
* sysdeps/posix/utimes.c (__utimes): Truncate instead of round.
* sysdeps/unix/sysv/linux/utimes.c (__utimes): Likewise.
2003-09-15 Jakub Jelinek <jakub@redhat.com> 2003-09-15 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/Makefile (sysdep-CFLAGS): If not in math or csu * sysdeps/i386/Makefile (sysdep-CFLAGS): If not in math or csu

View File

@ -1,3 +1,9 @@
2003-09-15 Jakub Jelinek <jakub@redhat.com>
* 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 <drepper@redhat.com> 2003-09-16 Ulrich Drepper <drepper@redhat.com>
* attr.c (pthread_getattr_np): Correctly fill in the stack-related * attr.c (pthread_getattr_np): Correctly fill in the stack-related

View File

@ -6,15 +6,15 @@ CFLAGS-pt-initfini.s += -march=i386 -mcpu=i386
# Most files must not be compiled without frame pointer since we need # 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 # the frame base address which is stored in %ebp unless the frame pointer
# is optimized out. # 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-condvar.c += -fno-omit-frame-pointer
CFLAGS-join.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-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-ptlongjmp.c += -fno-omit-frame-pointer
CFLAGS-semaphore.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 endif
ifeq ($(subdir),csu) ifeq ($(subdir),csu)

View File

@ -6,18 +6,18 @@ comment_char %
% %
% Name: lo_LA % Name: lo_LA
% Author: Anousak Souphavanh % Author: Anousak Souphavanh
% Contact: % Contact:
% E-mail: Anousak@muanglao.com % E-mail: Anousak@muanglao.com
% Language: Lao % Language: Lao
% Territory: Laos % Territory: Laos
% Charset: UTF-8 % Charset: UTF-8
% Revision: 1.1 % Revision: 1.2
% Date: 2003-02-06 % Date: 2003-15-09
% %
% %
% Copyright (C) 2002 Anousak Souphavanh % Copyright (C) 2002 Anousak Souphavanh
% %
% Permission is hereby granted, free of charge, to any person obtaining % Permission is hereby granted, free of charge, to any person obtaining
% a copy of this software and associated documentation files (the "Software"), % a copy of this software and associated documentation files (the "Software"),
@ -283,7 +283,6 @@ UNDEFINED IGNORE;IGNORE;IGNORE;IGNORE
<U002F> IGNORE;IGNORE;<U002F>;IGNORE % SOLIDUS <U002F> IGNORE;IGNORE;<U002F>;IGNORE % SOLIDUS
<U002E> IGNORE;IGNORE;<U002E>;IGNORE % FULL STOP <U002E> IGNORE;IGNORE;<U002E>;IGNORE % FULL STOP
<U0EAF> IGNORE;IGNORE;<U0EAF>;IGNORE % Lao CHARACTER Lao Ellipse <U0EAF> IGNORE;IGNORE;<U0EAF>;IGNORE % Lao CHARACTER Lao Ellipse
<U0EC6> IGNORE;IGNORE;<U0EC6>;IGNORE % Lao CHARACTER mAI ko La
<U0060> IGNORE;IGNORE;<U0060>;IGNORE % GRAVE ACCENT <U0060> IGNORE;IGNORE;<U0060>;IGNORE % GRAVE ACCENT
<U005E> IGNORE;IGNORE;<U005E>;IGNORE % CIRCUMFLEX <U005E> IGNORE;IGNORE;<U005E>;IGNORE % CIRCUMFLEX
<U007E> IGNORE;IGNORE;<U007E>;IGNORE % TILDE <U007E> IGNORE;IGNORE;<U007E>;IGNORE % TILDE
@ -402,7 +401,7 @@ UNDEFINED IGNORE;IGNORE;IGNORE;IGNORE
% %
% Lao consonants, with leading vowels rearrangement % Lao consonants, with leading vowels rearrangement
% %
<U0E81> <U0E81>;<BLANK>;<BLANK>;<BLANK> % Lao CHARACTER KO <U0E81> <U0E81>;<BLANK>;<BLANK>;<BLANK> % Lao CHARACTER KO
<ko-e> "<U0E81><U0EC0>";<BLANK>;<BLANK>;<BLANK> <ko-e> "<U0E81><U0EC0>";<BLANK>;<BLANK>;<BLANK>
<ko-ae> "<U0E81><U0EC1>";<BLANK>;<BLANK>;<BLANK> <ko-ae> "<U0E81><U0EC1>";<BLANK>;<BLANK>;<BLANK>
<ko-o> "<U0E81><U0EC2>";<BLANK>;<BLANK>;<BLANK> <ko-o> "<U0E81><U0EC2>";<BLANK>;<BLANK>;<BLANK>
@ -423,14 +422,14 @@ UNDEFINED IGNORE;IGNORE;IGNORE;IGNORE
<kho-tam-ai-maimuan> "<U0E84><U0EC3>";<BLANK>;<BLANK>;<BLANK> <kho-tam-ai-maimuan> "<U0E84><U0EC3>";<BLANK>;<BLANK>;<BLANK>
<kho-tam-ai-maimalai> "<U0E84><U0EC4>";<BLANK>;<BLANK>;<BLANK> <kho-tam-ai-maimalai> "<U0E84><U0EC4>";<BLANK>;<BLANK>;<BLANK>
<U0E87> <U0E87>;<BLANK>;<BLANK>;<BLANK> % Lao CHARACTER NGO <U0E87> <U0E87>;<BLANK>;<BLANK>;<BLANK> % Lao CHARACTER NGO
<ngo-e> "<U0E87><U0EC0>";<BLANK>;<BLANK>;<BLANK> <ngo-e> "<U0E87><U0EC0>";<BLANK>;<BLANK>;<BLANK>
<ngo-ae> "<U0E87><U0EC1>";<BLANK>;<BLANK>;<BLANK> <ngo-ae> "<U0E87><U0EC1>";<BLANK>;<BLANK>;<BLANK>
<ngo-o> "<U0E87><U0EC2>";<BLANK>;<BLANK>;<BLANK> <ngo-o> "<U0E87><U0EC2>";<BLANK>;<BLANK>;<BLANK>
<ngo-ai-maimuan> "<U0E87><U0EC3>";<BLANK>;<BLANK>;<BLANK> <ngo-ai-maimuan> "<U0E87><U0EC3>";<BLANK>;<BLANK>;<BLANK>
<ngo-ai-maimalai> "<U0E87><U0EC4>";<BLANK>;<BLANK>;<BLANK> <ngo-ai-maimalai> "<U0E87><U0EC4>";<BLANK>;<BLANK>;<BLANK>
<U0E88> <U0E88>;<BLANK>;<BLANK>;<BLANK> % Lao CHARACTER CHO <U0E88> <U0E88>;<BLANK>;<BLANK>;<BLANK> % Lao CHARACTER CHO
<cho-e> "<U0E88><U0EC0>";<BLANK>;<BLANK>;<BLANK> <cho-e> "<U0E88><U0EC0>";<BLANK>;<BLANK>;<BLANK>
<cho-ae> "<U0E88><U0EC1>";<BLANK>;<BLANK>;<BLANK> <cho-ae> "<U0E88><U0EC1>";<BLANK>;<BLANK>;<BLANK>
<cho-o> "<U0E88><U0EC2>";<BLANK>;<BLANK>;<BLANK> <cho-o> "<U0E88><U0EC2>";<BLANK>;<BLANK>;<BLANK>
@ -458,7 +457,7 @@ UNDEFINED IGNORE;IGNORE;IGNORE;IGNORE
<do-ai-maimuan> "<U0E94><U0EC3>";<BLANK>;<BLANK>;<BLANK> <do-ai-maimuan> "<U0E94><U0EC3>";<BLANK>;<BLANK>;<BLANK>
<do-ai-maimalai> "<U0E94><U0EC4>";<BLANK>;<BLANK>;<BLANK> <do-ai-maimalai> "<U0E94><U0EC4>";<BLANK>;<BLANK>;<BLANK>
<U0E95> <U0E95>;<BLANK>;<BLANK>;<BLANK> % Lao CHARACTER TO <U0E95> <U0E95>;<BLANK>;<BLANK>;<BLANK> % Lao CHARACTER TO
<to-e> "<U0E95><U0EC0>";<BLANK>;<BLANK>;<BLANK> <to-e> "<U0E95><U0EC0>";<BLANK>;<BLANK>;<BLANK>
<to-ae> "<U0E95><U0EC1>";<BLANK>;<BLANK>;<BLANK> <to-ae> "<U0E95><U0EC1>";<BLANK>;<BLANK>;<BLANK>
<to-o> "<U0E95><U0EC2>";<BLANK>;<BLANK>;<BLANK> <to-o> "<U0E95><U0EC2>";<BLANK>;<BLANK>;<BLANK>
@ -607,8 +606,6 @@ UNDEFINED IGNORE;IGNORE;IGNORE;IGNORE
<mor-ai-maimuan> "<U0EDD><U0EC3>";<BLANK>;<BLANK>;<BLANK> <mor-ai-maimuan> "<U0EDD><U0EC3>";<BLANK>;<BLANK>;<BLANK>
<mor-ai-maimalai> "<U0EDD><U0EC4>";<BLANK>;<BLANK>;<BLANK> <mor-ai-maimalai> "<U0EDD><U0EC4>";<BLANK>;<BLANK>;<BLANK>
<U0EAF> <U0EAF>;<BLANK>;<BLANK>;<BLANK> % Lao CHARACTER Ellipsis
% order of Lao vowels % order of Lao vowels
<U0EB0> <U0EB0>;<BLANK>;<BLANK>;<BLANK> % Lao CHARACTER SAlA A <U0EB0> <U0EB0>;<BLANK>;<BLANK>;<BLANK> % Lao CHARACTER SAlA A
@ -724,9 +721,9 @@ END LC_TIME
LC_MESSAGES LC_MESSAGES
% yesexpr : begins with "y", "Y", or mo % yesexpr : begins with "y", "Y", or mo
% noexpr : begins with "n", "N", or Bo % 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 % nostr = "Bo Men" = Letter Bo +salo Or+ MAI EK + mo+ Ma Ek+ No
yesexpr "<U005E><U005B><U0079><U0059><U0EA1><U005D>" yesexpr "<U005E><U005B><U0079><U0059><U0EA1><U005D>"
@ -783,5 +780,3 @@ lang_ab "<U006C><U006F>"
lang_term "<U006c><U0061><U006F>" lang_term "<U006c><U0061><U006F>"
lang_lib "<U006C><U0061><U006F>" lang_lib "<U006C><U0061><U006F>"
END LC_ADDRESS END LC_ADDRESS

View File

@ -1,3 +1,8 @@
2003-09-15 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/Makefile (CFLAGS-pthread_create.c,
CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.
2003-09-17 Jakub Jelinek <jakub@redhat.com> 2003-09-17 Jakub Jelinek <jakub@redhat.com>
* Makefile (CFLAGS-tst-align.c): Add $(stack-align-test-flags). * Makefile (CFLAGS-tst-align.c): Add $(stack-align-test-flags).

View File

@ -22,4 +22,6 @@ endif
ifeq ($(subdir),nptl) ifeq ($(subdir),nptl)
CFLAGS-tst-align.c += -malign-double CFLAGS-tst-align.c += -malign-double
CFLAGS-pthread_create.c += -mpreferred-stack-boundary=4
CFLAGS-tst-align.c += -mpreferred-stack-boundary=4
endif endif

View File

@ -31,8 +31,8 @@ __utimes (const char *file, const struct timeval tvp[2])
if (tvp) if (tvp)
{ {
times = &buf; times = &buf;
buf.actime = tvp[0].tv_sec + (tvp[0].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 + 500000) / 1000000; buf.modtime = tvp[1].tv_sec + tvp[1].tv_usec / 1000000;
} }
else else
times = NULL; times = NULL;

View File

@ -47,8 +47,8 @@ __utimes (const char *file, const struct timeval tvp[2])
if (tvp != NULL) if (tvp != NULL)
{ {
times = &buf; times = &buf;
buf.actime = tvp[0].tv_sec + (tvp[0].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 + 500000) / 1000000; buf.modtime = tvp[1].tv_sec + tvp[1].tv_usec / 1000000;
} }
else else
times = NULL; times = NULL;