Hello community, here is the log from the commit of package coreutils checked in at Sun May 20 21:29:53 CEST 2007. -------- --- coreutils/coreutils.changes 2007-05-20 10:53:25.000000000 +0200 +++ /mounts/work_src_done/STABLE/coreutils/coreutils.changes 2007-05-20 19:17:37.000000000 +0200 @@ -1,0 +2,5 @@ +Sun May 20 19:17:21 CEST 2007 - schwab@suse.de + +- Fix compiling with glibc 2.6. + +------------------------------------------------------------------- New: ---- futimens.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ coreutils.spec ++++++ --- /var/tmp/diff_new_pack.z21971/_old 2007-05-20 21:29:23.000000000 +0200 +++ /var/tmp/diff_new_pack.z21971/_new 2007-05-20 21:29:23.000000000 +0200 @@ -21,7 +21,7 @@ Autoreqprov: on PreReq: %{install_info_prereq} Version: 6.9 -Release: 14 +Release: 16 Summary: GNU Core Utilities Source: coreutils-%{version}.tar.bz2 Source1: su.pamd @@ -35,6 +35,7 @@ Patch7: fchownat.diff Patch8: coreutils-sysinfo.diff Patch9: ls-x.diff +Patch10: futimens.diff Patch11: i18n-monthsort.diff Patch16: invalid-ids.diff Patch17: no-no.diff @@ -104,6 +105,7 @@ %patch8 -p1 %patch9 -p1 chmod +x tests/ls/x-option +%patch10 %patch11 %patch16 -p1 %patch17 @@ -177,6 +179,8 @@ %changelog * Sun May 20 2007 - schwab@suse.de +- Fix compiling with glibc 2.6. +* Sun May 20 2007 - schwab@suse.de - Fix fchownat test. * Mon Apr 02 2007 - schwab@suse.de - Fix ls -x. ++++++ futimens.diff ++++++ --- lib/utimens.c +++ lib/utimens.c @@ -75,8 +75,8 @@ Return 0 on success, -1 (setting errno) on failure. */ int -futimens (int fd ATTRIBUTE_UNUSED, - char const *file, struct timespec const timespec[2]) +gl_futimens (int fd ATTRIBUTE_UNUSED, + char const *file, struct timespec const timespec[2]) { /* Some Linux-based NFS clients are buggy, and mishandle time stamps of files in NFS file systems in some cases. We have no @@ -185,5 +185,5 @@ int utimens (char const *file, struct timespec const timespec[2]) { - return futimens (-1, file, timespec); + return gl_futimens (-1, file, timespec); } --- lib/utimens.h +++ lib/utimens.h @@ -1,3 +1,3 @@ #include <time.h> -int futimens (int, char const *, struct timespec const [2]); +int gl_futimens (int, char const *, struct timespec const [2]); int utimens (char const *, struct timespec const [2]); --- src/copy.c +++ src/copy.c @@ -616,7 +616,7 @@ timespec[0] = get_stat_atime (src_sb); timespec[1] = get_stat_mtime (src_sb); - if (futimens (dest_desc, dst_name, timespec) != 0) + if (gl_futimens (dest_desc, dst_name, timespec) != 0) { error (0, errno, _("preserving times for %s"), quote (dst_name)); if (x->require_preserve) --- src/touch.c +++ src/touch.c @@ -182,7 +182,7 @@ t = timespec; } - ok = (futimens (fd, (fd == STDOUT_FILENO ? NULL : file), t) == 0); + ok = (gl_futimens (fd, (fd == STDOUT_FILENO ? NULL : file), t) == 0); if (fd == STDIN_FILENO) { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de