Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Dec 2011 17:41:39 +0100
From:      "Julian H. Stacey" <jhs@berklix.com>
To:        "ctm-users@freebsd.org" <ctm-users@freebsd.org>
Subject:   File recognition for CTM deltas
Message-ID:  <201112271641.pBRGfdog009651@fire.js.berklix.net>
In-Reply-To: Your message "Tue, 27 Dec 2011 13:00:15 GMT." <CADLo838PROzusosLJO1OKjPe=QzLG0CxrzSUnTCtxt0DtypJew@mail.gmail.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

I hacked 8.2-RELEASE /usr/src/contrib/file/ to recognise CTM deltas.
	http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/gen/contrib/file/
I (or someone else) could look at 2 points marked JJLATER, before I run send-pr.

It now reports:
  file -z src-9.0001.gz src-9.0077.gz
    src-9.0001.gz: ctm input text \
	(gzip compressed data, from Unix, \
	last modified: Sun Sep 25 03:36:30 2011, max compression)
    src-9.0077.gz: ctm input text \
	(gzip compressed data, from Unix, \
	last modified: Sat Dec 24 07:04:11 2011, max compression)

whereas it used to report:
  file -z src-9.000[12].gz
    src-9.0001.gz: ASCII English text \
	(gzip compressed data, from Unix, \
	last modified: Sun Sep 25 03:36:30 2011, max compression)
    src-9.0002.gz: troff or preprocessor input text \
	(gzip compressed data, from Unix, \
	last modified: Tue Sep 27 23:15:29 2011, max compression)

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below not above, cumulative like a play script, & indent with "> ".
 Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.
 EU tax to kill London Vetoed   http://berklix.com/~jhs/blog/2011_12_11



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112271641.pBRGfdog009651>