Date: Mon, 30 Oct 2006 16:21:34 GMT From: Herve Boulouis<amon@sockar.homeip.net> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/104934: bug in some date handling of bsdtar Message-ID: <200610301621.k9UGLY8V074404@www.freebsd.org> Resent-Message-ID: <200610301630.k9UGUQB5017059@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 104934 >Category: bin >Synopsis: bug in some date handling of bsdtar >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 30 16:30:23 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Herve Boulouis >Release: Freebsd 6-STABLE >Organization: Nerim >Environment: FreeBSD marine.noc.nerim.net 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Sun Sep 10 23:41:48 CEST 2006 root@marine.noc.nerim.net:/usr/obj/usr/src/sys/GENERIC-NERIM i386 >Description: bsdtar does not handle some date forms correctly : marine:/usr/src/usr.bin/tar# date Mon Oct 30 17:16:08 CET 2006 marine:/usr/src/usr.bin/tar# tar -cvpf /opt/var.tar --newer-mtime '2006-10-29 17:16:00' /var -> correctly saves the files modified since yesterday marine:/usr/src/usr.bin/tar# tar -cvpf /opt/var.tar --newer-mtime '1 day ago' /var -> saves nothing marine:/usr/src/usr.bin/tar# tar -cvpf /opt/var.tar --newer-mtime 'yesterday' /var -> saves nothing The form with '1 day ago' worked ok with gnu tar before it was replaced by bsdtar. >How-To-Repeat: see full description >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610301621.k9UGLY8V074404>