[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#202243: marked as done (utimes() broken)



Your message dated Tue, 26 Aug 2003 17:34:27 -0400
with message-id <E19rlSN-0002LQ-00@auric.debian.org>
and subject line Bug#202243: fixed in glibc 2.3.2-4
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 21 Jul 2003 07:47:03 +0000
>From Roderich.Schupp@partner.bmw.de Mon Jul 21 02:47:00 2003
Return-path: <Roderich.Schupp@partner.bmw.de>
Received: from mailgw1.bmwgroup.com [192.109.190.190] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19eVNs-0005m9-00; Mon, 21 Jul 2003 02:47:00 -0500
Received: from mhub1.muc (mhub1.muc [160.50.97.116]) by mailgw1.bmwgroup.com with ESMTP for submit@bugs.debian.org; Mon, 21 Jul 2003 09:46:47 +0200
Received: from mailvsa2.muc ([160.50.97.63] [160.50.97.63]) by mhub1.muc for submit@bugs.debian.org; Mon, 21 Jul 2003 09:46:20 +0200
Received: from mhub1.muc(160.50.97.116) by mailvsa2.muc via csmap 
	 id 27945; Mon, 21 Jul 2003 09:46:20 +0200 (CEST)
Received: from mail02.muc (mail02.muc [160.50.97.31]) by mhub1.muc with ESMTP for submit@bugs.debian.org; Mon, 21 Jul 2003 09:46:19 +0200
Received: from dyndhcp-742-100.muc ([160.50.156.122] (may be forged))
	by mail02.muc (8.8.6 (PHNE_17190+no byaddr 2)/8.8.6) with ESMTP id JAA13000
	for <submit@bugs.debian.org>; Mon, 21 Jul 2003 09:46:19 +0200 (METDST)
Subject: utimes() broken
From: Roderich Schupp <Roderich.Schupp@partner.bmw.de>
To: submit@bugs.debian.org
Organization: argumentum GmbH
Message-Id: <1058770260.5448.31.camel@click.foo.org>
X-Mailer: Ximian Evolution 1.4.3 
Date: 21 Jul 2003 08:51:01 +0200
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-13.3 required=4.0
	tests=BAYES_20,HAS_PACKAGE,PATCH_UNIFIED_DIFF,USER_AGENT_XIMIAN
	autolearn=ham version=2.53-bugs.debian.org_2003_07_20
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_07_20 (1.174.2.15-2003-03-30-exp)

Package: libc6
Version: 2.3.2-1
Severity: important
Tags: patch

When using utimes() to set the timestamps on a file, they
always come out as the epoch (actually 1 second past the epoch :).
Reason is a thinko regarding operator precedence in C, patch below.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux click 2.4.22-pre5 #2 Mon Jul 14 22:39:42 CEST 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages libc6 depends on:
ii  libdb1-compat                 2.1.3-7   

-- no debconf information



--- ./debian/patches/10_cvs.dpatch~     2003-07-20 22:10:51.000000000
+0200
+++ ./debian/patches/10_cvs.dpatch      2003-07-20 22:12:13.000000000
+0200
@@ -107975,8 +107975,8 @@
 +  if (tvp != NULL)
 +    {
 +      times = &buf;
-+      buf.actime = tvp[0].tv_sec + tvp[0].tv_usec >= 500000;
-+      buf.modtime = tvp[1].tv_sec + tvp[1].tv_usec >= 500000;
++      buf.actime = tvp[0].tv_sec + (tvp[0].tv_usec >= 500000);
++      buf.modtime = tvp[1].tv_sec + (tvp[1].tv_usec >= 500000);
 +    }
 +  else
 +    times = NULL;
@@ -118962,8 +118962,8 @@
 +  if (tvp != NULL)
 +    {
 +      times = &buf;
-+      buf.actime = tvp[0].tv_sec + tvp[0].tv_usec >= 500000;
-+      buf.modtime = tvp[1].tv_sec + tvp[1].tv_usec >= 500000;
++      buf.actime = tvp[0].tv_sec + (tvp[0].tv_usec >= 500000);
++      buf.modtime = tvp[1].tv_sec + (tvp[1].tv_usec >= 500000);
 +    }
 +  else
 +    times = NULL;






---------------------------------------
Received: (at 202243-close) by bugs.debian.org; 26 Aug 2003 21:40:27 +0000
>From katie@auric.debian.org Tue Aug 26 16:40:24 2003
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19rlY4-0003Sf-00; Tue, 26 Aug 2003 16:40:20 -0500
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 19rlSN-0002LQ-00; Tue, 26 Aug 2003 17:34:27 -0400
From: Philip Blundell <pb@nexus.co.uk>
To: 202243-close@bugs.debian.org
X-Katie: $Revision: 1.35 $
Subject: Bug#202243: fixed in glibc 2.3.2-4
Message-Id: <E19rlSN-0002LQ-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Tue, 26 Aug 2003 17:34:27 -0400
Delivered-To: 202243-close@bugs.debian.org

Source: glibc
Source-Version: 2.3.2-4

We believe that the bug you reported is fixed in the latest version of
glibc, which is due to be installed in the Debian FTP archive:

glibc-doc_2.3.2-4_all.deb
  to pool/main/g/glibc/glibc-doc_2.3.2-4_all.deb
glibc_2.3.2-4.diff.gz
  to pool/main/g/glibc/glibc_2.3.2-4.diff.gz
glibc_2.3.2-4.dsc
  to pool/main/g/glibc/glibc_2.3.2-4.dsc
libc-udeb_2.3.2-4_i386.udeb
  to pool/main/g/glibc/libc-udeb_2.3.2-4_i386.udeb
libc6-dbg_2.3.2-4_i386.deb
  to pool/main/g/glibc/libc6-dbg_2.3.2-4_i386.deb
libc6-dev_2.3.2-4_i386.deb
  to pool/main/g/glibc/libc6-dev_2.3.2-4_i386.deb
libc6-pic_2.3.2-4_i386.deb
  to pool/main/g/glibc/libc6-pic_2.3.2-4_i386.deb
libc6-prof_2.3.2-4_i386.deb
  to pool/main/g/glibc/libc6-prof_2.3.2-4_i386.deb
libc6_2.3.2-4_i386.deb
  to pool/main/g/glibc/libc6_2.3.2-4_i386.deb
locales_2.3.2-4_all.deb
  to pool/main/g/glibc/locales_2.3.2-4_all.deb
nscd_2.3.2-4_i386.deb
  to pool/main/g/glibc/nscd_2.3.2-4_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 202243@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Philip Blundell <pb@nexus.co.uk> (supplier of updated glibc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 26 Aug 2003 17:27:00 +0100
Source: glibc
Binary: libc6.1-prof libc1 libc0.3-pic locales glibc-doc libc6-pic libc-udeb libc1-prof libc0.3 libc0.3-dbg libc6.1-dev libc1-pic libc6-s390x libc6-prof libc1-dbg libc6-dev-sparc64 libc6 libc0.3-dev libc6-dbg nscd libc6.1-dbg libc6.1-pic libc6-sparc64 libc6-dev libc0.3-prof libc6.1 libc6-dev-s390x libc1-dev
Architecture: source i386 all
Version: 2.3.2-4
Distribution: unstable
Urgency: low
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Philip Blundell <pb@nexus.co.uk>
Description: 
 glibc-doc  - GNU C Library: Documentation
 libc-udeb  - GNU C Library: Shared libraries and Timezone data - udeb (udeb)
 libc6      - GNU C Library: Shared libraries and Timezone data
 libc6-dbg  - GNU C Library: Libraries with debugging symbols
 libc6-dev  - GNU C Library: Development Libraries and Header Files.
 libc6-pic  - GNU C Library: PIC archive library
 libc6-prof - GNU C Library: Profiling Libraries.
 locales    - GNU C Library: National Language (locale) data [support]
 nscd       - GNU C Library: Name Service Cache Daemon
Closes: 202243 204728 205110 206464 206783 206839 206895
Changes: 
 glibc (2.3.2-4) unstable; urgency=low
 .
   * Jeff Bailey <jbailey@nisa.net>
     - debian/locales/DEBIAN/postinst: Use tail -n 1 instead of tail -1.
       Thanks to Jurij Smakov (Closes: #206464)
 .
   * Phil Blundell <pb@debian.org>
     - debian/patches/glibc23-arm-waitpid.dpatch: deleted.
     - for arm, Build-Depend on kernel-headers 2.4.19-4 or newer.
       (Closes: #206895)
     - debian/patches/revert-old-libio.dpatch: back out changes causing
       problems with fseek in binaries linked with glibc 2.0.
       (Closes: #206839)
     - debian/libc/DEBIAN/postinst: also restart cucipop (Closes: #206783)
     - debian/patches/arm-output-format.dpatch: Very bad hack to avoid
       problem with libc.so on ARM until a proper fix is forthcoming.
     - debian/patches/81_glibc232-utimes-fix.dpatch: replace with version
       that applies cleanly to current sources.
     - debian/control: require sed 4.0.5-4 or later.
 .
   * GOTO Masanori <gotom@debian.org>
 .
     - debian/po/es.po: Updated Spanish (es) debconf template.
       Patched by Carlos Valdivia Yagüe <valyag@dat.etsit.upm.es>.
     - debian/patches/81_glibc232-utimes-fix.dpatch: Fix utimes wrong time
       calculation.  Patched by Paul Eggert <eggert@CS.UCLA.EDU>.
       (Closes: #204728, #202243, #205110)
Files: 
 bf67d6d312907bb95ef5d7628d9a7336 1571 libs required glibc_2.3.2-4.dsc
 3596e4ac126820e32670cd764c669b9f 1161672 libs required glibc_2.3.2-4.diff.gz
 eab00d5074fa7920746f582c425c30eb 3599350 base required libc6_2.3.2-4_i386.deb
 9a0f06d585b253b59dac1bbc2a762290 1028264 debian-installer required libc-udeb_2.3.2-4_i386.udeb
 749436fe6cf59db4087ce142e88000fd 2574854 libdevel standard libc6-dev_2.3.2-4_i386.deb
 d9536fac17d02ba27e42ad9e0314bdff 1000852 devel extra libc6-prof_2.3.2-4_i386.deb
 18ff8946686e727a0bba9ccc0240f567 8469226 devel extra libc6-dbg_2.3.2-4_i386.deb
 c9b2fed3903d0312c789d7d09b4dc23b 952192 devel optional libc6-pic_2.3.2-4_i386.deb
 6bce03106f03c3db57e9190092b50c00 75002 admin optional nscd_2.3.2-4_i386.deb
 60caed78f6684f053eb1b065f134f278 3785602 base standard locales_2.3.2-4_all.deb
 0ad68a05ca661173a7aea4bad91d2d8b 3084010 doc optional glibc-doc_2.3.2-4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/S8gOVTLPJe9CT30RAvcrAJ9qWooWC2uZnN7+Wo2uBzcaXhDiPgCgsLQ2
oSLHKK6b02lODDQLI0+4Z/4=
=+3Qo
-----END PGP SIGNATURE-----



Reply to: