RE: Proposed magic number patch

Is there a "magic number registration authority" (or an equivalent) to be in touch with either before or after deciding on one? --ado

Olson, Arthur David wrote:
Is there a "magic number registration authority" (or an equivalent) to be in touch with either before or after deciding on one?
De facto, the known magic numbers are those interpreted by the Unix "file" command. There is a freeware version of this, which seems to be the latest, at ftp://ftp.deshaw.com/pub/file . The authors will accept magic number information in "/etc/magic" format, which they will propagate into the next release. A search of the current (3.22; January 1997) version reveals no conflicts (no magic numbers with "TZ" in them). The contact addresses given in the current version (3.22) are: Christos Zoulas <mailto:christos@deshaw.com> Mark Moraes <mailto:moraes@deshaw.com> They want to get lines of the following form: 0 string \x14\x1aTZ compiled time zone information 0 string \x89TZ\x0d\0x0a\x1a\x0a compiled time zone information I withdraw my proposal to insert a NUL into the magic number, as this will cause "file" to malfunction. When this list has settled on a magic number, ADO can drop them the appropriate line. -- John Cowan http://www.ccil.org/~cowan cowan@ccil.org e'osai ko sarji la lojban

They want to get lines of the following form:
0 string \x14\x1aTZ compiled time zone information 0 string \x89TZ\x0d\0x0a\x1a\x0a compiled time zone information
I already sent them lines of the following form: #------------------------------------------------------------------------------ # timezone: file(1) magic for timezone data # # from Daniel Quinlan (quinlan@yggdrasil.com) # this should work on Linux, SunOS, and maybe others 0 string \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0 timezone data 0 string \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0 timezone data 0 string \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3\0 timezone data 0 string \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0 timezone data 0 string \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\5\0 timezone data 0 string \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\6\0 timezone data which I snarfed from, I think, a Linux distribution (Debian?). No guarantees that it's the best possible choice, although it does manage to get the right answer on a SPARC/Solaris 2.5.1 system (on the time zone data files that come with Solaris 2.5.1), except for the "Eire" compiled file.
participants (3)
-
guy@netapp.com
-
John Cowan
-
Olson, Arthur David