ChangeLog revision 175296
1175296Sobrien2007-12-28 15:06 Christos Zoulas <christos@zoulas.com> 2175296Sobrien 3175296Sobrien * strtof detection 4175296Sobrien 5175296Sobrien * remove bogus regex magic that could cause a DoS 6175296Sobrien 7175296Sobrien * better mismatch version message 8175296Sobrien 9175296Sobrien2007-12-27 11:35 Christos Zoulas <christos@zoulas.com> 10175296Sobrien 11175296Sobrien * bring back some fixes from OpenBSD 12175296Sobrien 13175296Sobrien * treat ELF dynamic objects as executables 14175296Sobrien 15175296Sobrien * fix gcc warnings 16175296Sobrien 17175296Sobrien2007-12-01 19:55 Christos Zoulas <christos@zoulas.com> 18175296Sobrien 19175296Sobrien * make sure we have zlib.h and libz to compile the builtin 20175296Sobrien decompress code 21175296Sobrien 22175296Sobrien2007-10-28 20:48 Christos Zoulas <christos@zoulas.com> 23175296Sobrien 24175296Sobrien * float and double magic support (Behan Webster) 25175296Sobrien 26175296Sobrien2007-10-28 20:48 Christos Zoulas <christos@zoulas.com> 27175296Sobrien 28175296Sobrien * Convert fortran to a soft test (Reuben Thomas) 29175296Sobrien 30175296Sobrien2007-10-23 5:25 Christos Zoulas <christos@zoulas.com> 31175296Sobrien 32175296Sobrien * Add --with-filename, and --no-filename (Reuben Thomas) 33175296Sobrien 34175296Sobrien2007-10-23 3:59 Christos Zoulas <christos@zoulas.com> 35175296Sobrien 36175296Sobrien * Rest of the mime split (Reuben Thomas) 37175296Sobrien 38175296Sobrien * Make usage message generated from the flags so that 39175296Sobrien they stay consistent (Reuben Thomas) 40175296Sobrien 41175296Sobrien2007-10-20 3:06 Christos Zoulas <christos@zoulas.com> 42175296Sobrien 43175296Sobrien * typo in comment, missing ifdef QUICK, remove unneeded code 44175296Sobrien (Charles Longeau) 45175296Sobrien 46175296Sobrien2007-10-17 3:33 Christos Zoulas <christos@zoulas.com> 47175296Sobrien 48175296Sobrien * Fix problem printing -\012 in some entries 49175296Sobrien 50175296Sobrien * Separate magic type and encoding flags (Reuben Thomas) 51175296Sobrien 52175296Sobrien2007-10-09 3:55 Christos Zoulas <christos@zoulas.com> 53175296Sobrien 54175296Sobrien * configure fix for int64 and strndup (Reuben Thomas) 55175296Sobrien 56175296Sobrien2007-09-26 4:45 Christos Zoulas <christos@zoulas.com> 57175296Sobrien 58175296Sobrien * Add magic_descriptor() function. 59175296Sobrien 60175296Sobrien * Fix regression in elf reading code where the core name was 61175296Sobrien not being printed. 62175296Sobrien 63175296Sobrien * Don't convert NUL's to spaces in {l,b}estring16 (Daniel Dawson) 64175296Sobrien 65175296Sobrien2007-08-19 6:30 Christos Zoulas <christos@zoulas.com> 66175296Sobrien 67175296Sobrien * Make mime format consistent so that it can 68175296Sobrien be easily parsed: 69175296Sobrien mimetype [charset=character-set] [encoding=encoding-mime-type] 70175296Sobrien 71175296Sobrien Remove spurious extra text from some MIME type printouts 72175296Sobrien (mostly in is_tar). 73175296Sobrien 74175296Sobrien Fix one case where -i produced nothing at all (for a 1-byte file, 75175296Sobrien which is now classed as application/octet-stream). 76175296Sobrien 77175296Sobrien Remove 7/8bit classifications, since they were arbitrary 78175296Sobrien and not based on the file data. 79175296Sobrien 80175296Sobrien This work was done by Reuben Thomas 81175296Sobrien 82169962Sobrien2007-05-24 10:00 Christos Zoulas <christos@zoulas.com> 83169962Sobrien 84169962Sobrien * Fix another integer overflow (Colin Percival) 85169962Sobrien 86169962Sobrien2007-03-26 13:58 Christos Zoulas <christos@zoulas.com> 87169962Sobrien 88169962Sobrien * make sure that all of struct magic_set is initialized appropriately 89169962Sobrien (Brett) 90169962Sobrien 91169962Sobrien2007-03-25 17:44 Christos Zoulas <christos@zoulas.com> 92169962Sobrien 93169962Sobrien * reset left bytes in the buffer (Dmitry V. Levin) 94169962Sobrien 95169962Sobrien * compilation failed with COMPILE_ONLY and ENABLE_CONDITIONALS 96169962Sobrien (Peter Avalos) 97169962Sobrien 98169962Sobrien2007-03-15 10:51 Christos Zoulas <christos@zoulas.com> 99169962Sobrien 100169962Sobrien * fix fortran and nroff reversed tests (Dmitry V. Levin) 101169962Sobrien 102169962Sobrien * fix exclude option (Dmitry V. Levin) 103169962Sobrien 104169962Sobrien2007-02-08 17:30 Christos Zoulas <christos@zoulas.com> 105169962Sobrien 106169962Sobrien * fix integer underflow in file_printf which can lead to 107169962Sobrien to exploitable heap overflow (Jean-Sebastien Guay-Lero) 108169962Sobrien 109169962Sobrien2007-02-05 11:35 Christos Zoulas <christos@zoulas.com> 110169962Sobrien 111169962Sobrien * make socket/pipe reading more robust 112169962Sobrien 113169962Sobrien2007-01-25 16:01 Christos Zoulas <christos@zoulas.com> 114169962Sobrien 115169962Sobrien * Centralize all the tests in file_buffer. 116169962Sobrien 117169962Sobrien * Add exclude flag. 118169962Sobrien 119169962Sobrien2007-01-18 05:29 Anon Ymous <do@not.spam.me> 120169962Sobrien 121169962Sobrien * Move the "type" detection code from parse() into its own table 122169962Sobrien driven routine. This avoids maintaining multiple lists in 123169962Sobrien file.h. 124169962Sobrien 125169962Sobrien * Add an optional conditional field (ust before the type field). 126169962Sobrien This code is wrapped in "#ifdef ENABLE_CONDITIONALS" as it is 127169962Sobrien likely to go away. 128169962Sobrien 129169962Sobrien2007-01-16 23:24 Anon Ymous <do@not.spam.me> 130169962Sobrien 131169962Sobrien * Fix an initialization bug in check_mem(). 132169962Sobrien 133169962Sobrien2007-01-16 14:58 Anon Ymous <do@not.spam.me> 134169962Sobrien 135169962Sobrien * Add a "default" type to print a message if nothing previously 136169962Sobrien matched at that level or since the last default at that 137169962Sobrien level. This is useful for setting up switch-like statements. 138169962Sobrien It can also be used to do if/else constructions without a 139169962Sobrien redundant second test. 140169962Sobrien 141169962Sobrien * Fix the "x" special case test so that one can test for that 142169962Sobrien string with "=x". 143169962Sobrien 144169962Sobrien * Allow "search" to search the entire buffer if the "/N" 145169962Sobrien search count is missing. 146169962Sobrien 147169962Sobrien * Make "regex" work! It now starts its search at the 148169962Sobrien specified offset and takes an (optional) "/N" line count to 149169962Sobrien specify the search range; otherwise it searches to the end 150169962Sobrien of the file. The match is now grabbed correctly for format 151169962Sobrien strings and the offset set to the end of the match. 152169962Sobrien 153169962Sobrien * Add a "/s" flag to "regex" and "search" to set the offset to 154169962Sobrien the start of the match. By default the offset is set to the 155169962Sobrien end of the match, as it is with other tests. This is mostly 156169962Sobrien useful for "regex". 157169962Sobrien 158169962Sobrien * Make "search", "string" and "pstring" use the same 159169962Sobrien file_strncmp() routine so that they support the same flags; 160169962Sobrien "bestring16" and "lestring16" call the same routine, but 161169962Sobrien with flags = 0. Also add a "/C" flag (in analogy to "/c") 162169962Sobrien to ignore the case on uppercase (lowercase) characters in 163169962Sobrien the test string. 164169962Sobrien 165169962Sobrien * Strict adherence to C style string escapes. A warnings are 166169962Sobrien printed when compiling. Note: previously "\a" was 167169962Sobrien incorrectly translated to 'a' instead of an <alert> (i.e., 168169962Sobrien BELL, typically 0x07). 169169962Sobrien 170169962Sobrien * Make this compile with "-Wall -Wextra" and all the warning 171169962Sobrien flags used with WARNS=4 in the NetBSD source. Also make it 172169962Sobrien pass lint. 173169962Sobrien 174169962Sobrien * Many "cleanups" and hopefully not too many new bugs! 175169962Sobrien 176169962Sobrien2007-01-16 14:56 Anon Ymous <do@not.spam.me> 177169962Sobrien 178169962Sobrien * make several more files compile with gcc warnings 179169962Sobrien on and also make them pass lint. 180169962Sobrien 181169962Sobrien2007-01-16 14:54 Anon Ymous <do@not.spam.me> 182169962Sobrien 183169962Sobrien * fix a puts()/putc() usage goof in file.c 184169962Sobrien 185169962Sobrien * make file.c compile with gcc warnings and pass lint 186169962Sobrien 187169942Sobrien2006-12-11 16:49 Christos Zoulas <christos@zoulas.com> 188169942Sobrien 189169942Sobrien * fix byteswapping issue 190169942Sobrien 191169942Sobrien * report the number of bytes we tried to 192169942Sobrien allocate when allocation fails 193169942Sobrien 194169942Sobrien * add a few missed cases in the strength routine 195169942Sobrien 196169942Sobrien2006-12-08 16:32 Christos Zoulas <christos@zoulas.com> 197169942Sobrien 198169942Sobrien * store and print the line number of the magic 199169942Sobrien entry for debugging. 200169942Sobrien 201169942Sobrien * if the magic entry did not print anything, 202169942Sobrien don't treat it as a match 203169942Sobrien 204169942Sobrien * change the magic strength algorithm to take 205169942Sobrien into account the relationship op. 206169942Sobrien 207169942Sobrien * fix a bug in search where we could accidentally 208169942Sobrien return a match. 209169942Sobrien 210169942Sobrien * propagate the error return from match to 211169942Sobrien file_softmagic. 212169942Sobrien 213169942Sobrien2006-11-25 13:35 Christos Zoulas <christos@zoulas.com> 214169942Sobrien 215169942Sobrien * Don't store the current offset in the magic 216169942Sobrien struct, because it needs to be restored and 217169942Sobrien it was not done properly all the time. Bug 218169942Sobrien found by: Arkadiusz Miskiewicz 219169942Sobrien 220169942Sobrien * Fix problem in the '\0' separator; and don't 221169942Sobrien print it as an additional separator; print 222169942Sobrien it as the only separator. 223169942Sobrien 224169942Sobrien2006-11-17 10:51 Christos Zoulas <christos@zoulas.com> 225169942Sobrien 226169942Sobrien * Added a -0 option to print a '\0' separator 227169942Sobrien Etienne Buira <etienne.buira@free.fr> 228169942Sobrien 229169942Sobrien2006-10-31 15:14 Christos Zoulas <christos@zoulas.com> 230169942Sobrien 231169942Sobrien * Check offset before copying (Mike Frysinger) 232169942Sobrien 233169942Sobrien * merge duplicated code 234169942Sobrien 235169942Sobrien * add quad date support 236169942Sobrien 237169942Sobrien * make sure that we nul terminate desc (Ryoji Kanai) 238169942Sobrien 239169942Sobrien * don't process elf notes multiple times 240169942Sobrien 241169942Sobrien * allow -z to report empty compressed files 242169942Sobrien 243169942Sobrien * use calloc to initialize the ascii buffers (Jos van den Oever) 244169942Sobrien 245169942Sobrien2006-06-08 11:11 Christos Zoulas <christos@zoulas.com> 246169942Sobrien 247169942Sobrien * QNX fixes (Mike Gorchak) 248169942Sobrien 249169942Sobrien * Add quad support. 250169942Sobrien 251169942Sobrien * FIFO checks (Dr. Werner Fink) 252169942Sobrien 253169942Sobrien * Linux ELF fixes (Dr. Werner Fink) 254169942Sobrien 255169942Sobrien * Magic format checks (Dr. Werner Fink) 256169942Sobrien 257169942Sobrien * Magic format function improvent (Karl Chen) 258169942Sobrien 259169942Sobrien2006-05-03 11:11 Christos Zoulas <christos@zoulas.com> 260169942Sobrien 261169942Sobrien * Pick up some elf changes and some constant fixes from SUSE 262169942Sobrien 263169942Sobrien * Identify gnu tar vs. posix tar 264169942Sobrien 265169942Sobrien * When keep going, don't print spurious newlines (Radek Vok�l) 266169942Sobrien 267169942Sobrien2006-04-01 12:02 Christos Zoulas <christos@zoulas.com> 268169942Sobrien 269169942Sobrien * Use calloc instead of malloc (Mike Frysinger) 270169942Sobrien 271169942Sobrien * Fix configure script to detect wctypes.h (Mike Frysinger) 272169942Sobrien 273159764Sobrien2006-03-02 16:06 Christos Zoulas <christos@zoulas.com> 274159764Sobrien 275159764Sobrien * Print empty if the file is (Mike Frysinger) 276159764Sobrien 277159764Sobrien * Don't try to read past the end of the buffer (Mike Frysinger) 278159764Sobrien 279159764Sobrien * Sort magic entries by strength [experimental] 280159764Sobrien 281159764Sobrien2005-11-29 13:26 Christos Zoulas <christos@zoulas.com> 282159764Sobrien 283159764Sobrien * Use iswprint() to convert the output string. 284159764Sobrien (Bastien Nocera) 285159764Sobrien 286159764Sobrien2005-10-31 8:54 Christos Zoulas <christos@zoulas.com> 287159764Sobrien 288159764Sobrien * Fix regression where the core info was not completely processed 289159764Sobrien (Radek Vok�l) 290159764Sobrien 291159764Sobrien2005-10-20 11:15 Christos Zoulas <christos@zoulas.com> 292159764Sobrien 293159764Sobrien * Middle Endian magic (Diomidis Spinellis) 294159764Sobrien 295159764Sobrien2005-10-17 11:15 Christos Zoulas <christos@zoulas.com> 296159764Sobrien 297159764Sobrien * Open with O_BINARY for CYGWIN (Corinna Vinschen) 298159764Sobrien 299159764Sobrien * Don't close stdin (Arkadiusz Miskiewicz) 300159764Sobrien 301159764Sobrien * Look for note sections in non executables. 302159764Sobrien 303159764Sobrien2005-09-20 13:33 Christos Zoulas <christos@zoulas.com> 304159764Sobrien 305159764Sobrien * Don't print SVR4 Style in core files multiple times 306159764Sobrien (Radek Vok�l) 307159764Sobrien 308159764Sobrien2005-08-27 04:09 Christos Zoulas <christos@zoulas.com> 309159764Sobrien 310159764Sobrien * Cygwin changes Corinna Vinschen 311159764Sobrien 312159764Sobrien2005-08-18 09:53 Christos Zoulas <christos@zoulas.com> 313159764Sobrien 314159764Sobrien * Remove erroreous mention of /etc/magic in the file man page 315159764Sobrien This is gentoo bug 101639. (Mike Frysinger) 316159764Sobrien 317159764Sobrien * Cross-compile support and detection (Mike Frysinger) 318159764Sobrien 319159764Sobrien2005-08-12 10:17 Christos Zoulas <christos@zoulas.com> 320159764Sobrien 321159764Sobrien * Add -h flag and dereference symlinks if POSIXLY_CORRECT 322159764Sobrien is set. 323159764Sobrien 324159764Sobrien2005-07-29 13:57 Christos Zoulas <christos@zoulas.com> 325159764Sobrien 326159764Sobrien * Avoid search and regex buffer overflows (Kelledin) 327159764Sobrien 328159764Sobrien2005-07-12 11:48 Christos Zoulas <christos@zoulas.com> 329159764Sobrien 330159764Sobrien * Provide stub implementations for {v,}nsprintf() for older 331159764Sobrien OS's that don't have them. 332159764Sobrien * Change mbstate_t autoconf detection macro from AC_MBSTATE_T 333159764Sobrien to AC_TYPE_MBSTATE_T. 334159764Sobrien 335159764Sobrien2005-06-25 11:48 Christos Zoulas <christos@zoulas.com> 336159764Sobrien 337159764Sobrien * Dynamically allocate the string buffers and make the 338159764Sobrien default read size 256K. 339159764Sobrien 340159764Sobrien2005-06-01 00:00 Joerg Sonnenberger <joerg@britannica.bec.de> 341159764Sobrien 342159764Sobrien * Dragonfly ELF note support 343159764Sobrien 344159764Sobrien2005-03-14 00:00 Giuliano Bertoletti <gb@symbolic.it> 345159764Sobrien 346159764Sobrien * Avoid NULL pointer dereference in time conversion. 347159764Sobrien 348159764Sobrien2005-03-06 00:00 Joerg Walter <jwalt@mail.garni.ch> 349159764Sobrien 350159764Sobrien * Add indirect magic offset support, and search mode. 351159764Sobrien 352159764Sobrien2005-01-12 00:00 Stepan Kasal <kasal@ucw.cz> 353159764Sobrien 354159764Sobrien * src/ascmagic.c (file_ascmagic): Fix three bugs about text files: 355159764Sobrien If a CRLF text file happens to have CR at offset HOWMANY - 1 356159764Sobrien (currently 0xffff), it should not be counted as CR line 357159764Sobrien terminator. 358159764Sobrien If a line has length exactly MAXLINELEN, it should not yet be 359159764Sobrien treated as a ``very long line'', as MAXLINELEN is ``longest sane 360159764Sobrien line length''. 361159764Sobrien With CRLF, the line length was not computed correctly, and even 362159764Sobrien lines of length MAXLINELEN - 1 were treated as ``very long''. 363159764Sobrien 364159764Sobrien2004-12-07 14:15 Christos Zoulas <christos@zoulas.com> 365159764Sobrien 366159764Sobrien * bzip2 needs a lot of input buffer space on some files 367159764Sobrien before it can begin uncompressing. This makes file -z 368159764Sobrien fail on some bz2 files. Fix it by giving it a copy of 369159764Sobrien the file descriptor to read as much as it wants if we 370159764Sobrien have access to it. <christos@zoulas.com> 371159764Sobrien 372139368Sobrien2004-11-24 12:39 Christos Zoulas <christos@zoulas.com> 373133359Sobrien 374139368Sobrien * Stack smash fix, and ELF more conservative reading. 375139368Sobrien Jakub Bogusz <qboosh@pld-linux.org> 376139368Sobrien 377139368Sobrien2004-11-20 18:50 Christos Zoulas <christos@zoulas.com> 378139368Sobrien 379139368Sobrien * New FreeBSD version parsing code: 380139368Sobrien Jon Noack <noackjr@alumni.rice.edu> 381139368Sobrien 382139368Sobrien * Hackish support for ucs16 strings <christos@zoulas.com> 383139368Sobrien 384139368Sobrien2004-11-13 03:07 Christos Zoulas <christos@zoulas.com> 385139368Sobrien 386139368Sobrien * print the file name and line number in syntax errors. 387139368Sobrien 388139368Sobrien2004 10-12 10:50 Christos Zoulas <christos@zoulas.com> 389139368Sobrien 390139368Sobrien * Fix stack overwriting on 0 length strings: Tim Waugh 391139368Sobrien <twaugh@redhat.com> Ned Ludd <solar@gentoo.org> 392139368Sobrien 393139368Sobrien2004-09-27 11:30 Christos Zoulas <christos@zoulas.com> 394139368Sobrien 395139368Sobrien * Remove 3rd and 4th copyright clause; approved by Ian Darwin. 396139368Sobrien 397139368Sobrien * Fix small memory leaks; caught by: Tamas Sarlos 398139368Sobrien <stamas@csillag.ilab.sztaki.hu> 399139368Sobrien 400133359Sobrien2004-07-24 16:33 Christos Zoulas <christos@zoulas.com> 401133359Sobrien 402133359Sobrien * magic.mime update Danny Milosavljevic <danny.milo@gmx.net> 403133359Sobrien 404133359Sobrien * FreeBSD version update Oliver Eikemeier <eikemeier@fillmore-labs.com> 405133359Sobrien 406133359Sobrien * utime/utimes detection Ian Lance Taylor <ian@wasabisystems.com> 407133359Sobrien 408133359Sobrien * errors reading elf magic Jakub Bogusz <qboosh@pld-linux.org> 409133359Sobrien 410133359Sobrien2004-04-12 10:55 Christos Zoulas <christos@zoulas.com> 411133359Sobrien 412133359Sobrien * make sure that magic formats match magic types during compilation 413133359Sobrien 414133359Sobrien * fix broken sgi magic file 415133359Sobrien 416133359Sobrien2004-04-06 20:36 Christos Zoulas <christos@zoulas.com> 417133359Sobrien 418133359Sobrien * detect present of mbstate_t Petter Reinholdtsen <pere@hungry.com> 419133359Sobrien 420133359Sobrien * magic fixes 421133359Sobrien 422133359Sobrien2004-03-22 15:25 Christos Zoulas <christos@zoulas.com> 423133359Sobrien 424133359Sobrien * Lots of mime fixes 425133359Sobrien (Joerg Ostertag) <ostertag@rechengilde.de> 426133359Sobrien 427133359Sobrien * FreeBSD ELF version handling 428133359Sobrien (Edwin Groothuis) <edwin@mavetju.org> 429133359Sobrien 430133359Sobrien * correct cleanup in all cases; don't just close the file. 431133359Sobrien (Christos Zoulas) <christos@zoulas.com> 432133359Sobrien 433133359Sobrien * add gettext message catalogue support 434133359Sobrien (Michael Piefel) <piefel@debian.org> 435133359Sobrien 436133359Sobrien * better printout for unreadable files 437133359Sobrien (Michael Piefel) <piefel@debian.org> 438133359Sobrien 439133359Sobrien * compensate for missing MAXPATHLEN 440133359Sobrien (Michael Piefel) <piefel@debian.org> 441133359Sobrien 442133359Sobrien * add wide character string length computation 443133359Sobrien (Michael Piefel) <piefel@debian.org> 444133359Sobrien 445133359Sobrien * Avoid infinite loops caused by bad elf alignments 446133359Sobrien or name and description note sizes. Reported by 447133359Sobrien (Mikael Magnusson) <mmikael@comhem.se> 448133359Sobrien 449133359Sobrien2004-03-09 13:55 Christos Zoulas <christos@zoulas.com> 450133359Sobrien 451133359Sobrien * Fix possible memory leak on error and add missing regfree 452133359Sobrien (Dmitry V. Levin) <ldv@altlinux.org> 453133359Sobrien 454133359Sobrien2003-12-23 12:12 Christos Zoulas <christos@zoulas.com> 455133359Sobrien 456133359Sobrien * fix -k flag (Maciej W. Rozycki) 457133359Sobrien 458133359Sobrien2003-11-18 14:10 Christos Zoulas <christos@zoulas.com> 459133359Sobrien 460133359Sobrien * Try to give us much info as possible on corrupt elf files. 461133359Sobrien (Willy Tarreau) <willy@w.ods.org> 462133359Sobrien * Updated python bindings (Brett Funderburg) 463133359Sobrien <brettf@deepfile.com> 464133359Sobrien 465133359Sobrien2003-11-11 15:03 Christos Zoulas <christos@zoulas.com> 466133359Sobrien 467133359Sobrien * Include file.h first, because it includes config.h 468133359Sobrien breaks largefile test macros otherwise. 469133359Sobrien (Paul Eggert <eggert@CS.UCLA.EDU> via 470133359Sobrien Lars Hecking <lhecking@nmrc.ie>) 471133359Sobrien 472133359Sobrien2003-10-14 21:39 Christos Zoulas <christos@zoulas.com> 473133359Sobrien 474133359Sobrien * Python bindings (Brett Funderburg) <brettf@deepfile.com> 475133359Sobrien * Don't lookup past the end of the buffer 476133359Sobrien (Chad Hanson) <chanson@tcs-sec.com> 477133359Sobrien * Add MAGIC_ERROR and api on magic_errno() 478133359Sobrien 479133359Sobrien2003-10-08 12:40 Christos Zoulas <christos@zoulas.com> 480133359Sobrien 481133359Sobrien * handle error conditions from compile as fatal 482133359Sobrien (Antti Kantee) <pooka@netbsd.org> 483133359Sobrien * handle magic filename parsing sanely 484133359Sobrien * more magic fixes. 485133359Sobrien * fix a memory leak (Illes Marton) <illes.marton@balabit.hu> 486133359Sobrien * describe magic file handling 487133359Sobrien (Bryan Henderson) <bryanh@giraffe-data.com> 488133359Sobrien 489133359Sobrien2003-09-12 15:09 Christos Zoulas <christos@zoulas.com> 490133359Sobrien 491133359Sobrien * update magic files. 492133359Sobrien * remove largefile support from file.h; it breaks things on most OS's 493133359Sobrien 494133359Sobrien2003-08-10 10:25 Christos Zoulas <christos@zoulas.com> 495133359Sobrien 496133359Sobrien * fix unmapping'ing of mmaped files. 497133359Sobrien 498133359Sobrien2003-07-10 12:03 Christos Zoulas <christos@zoulas.com> 499133359Sobrien 500133359Sobrien * don't exit with -1 on error; always exit 1 (Marty Leisner) 501133359Sobrien * restore utimes code. 502133359Sobrien 503133359Sobrien2003-06-10 17:03 Christos Zoulas <christos@zoulas.com> 504133359Sobrien 505133359Sobrien * make sure we don't access uninitialized memory. 506133359Sobrien * pass lint 507133359Sobrien * #ifdef __cplusplus in magic.h 508133359Sobrien 509133359Sobrien2003-05-25 19:23 Christos Zoulas <christos@zoulas.com> 510133359Sobrien 511133359Sobrien * rename cvs magic file to revision to deal with 512133359Sobrien case insensitive filesystems. 513133359Sobrien 514133359Sobrien2003-05-23 17:03 Christos Zoulas <christos@zoulas.com> 515133359Sobrien 516133359Sobrien * documentation fixes from Michael Piefel <piefel@debian.org> 517133359Sobrien * magic fixes (various) 518133359Sobrien * revert basename magic in .mgc name determination 519133359Sobrien * buffer protection in uncompress, 520133359Sobrien signness issues, 521133359Sobrien close files 522133359Sobrien Maciej W. Rozycki <macro@ds2.pg.gda.pl 523133359Sobrien 524133359Sobrien2003-04-21 20:12 Christos Zoulas <christos@zoulas.com> 525133359Sobrien 526133359Sobrien * fix zsh magic 527133359Sobrien 528133359Sobrien2003-04-04 16:59 Christos Zoulas <christos@zoulas.com> 529133359Sobrien 530133359Sobrien * fix operand sort order in string. 531133359Sobrien 532133359Sobrien2003-04-02 17:30 Christos Zoulas <christos@zoulas.com> 533133359Sobrien 534133359Sobrien * cleanup namespace in magic.h 535133359Sobrien 536133359Sobrien2003-04-02 13:50 Christos Zoulas <christos@zoulas.com> 537133359Sobrien 538133359Sobrien * Magic additions (Alex Ott) 539133359Sobrien * Fix bug that broke VPATH compilation (Peter Breitenlohner) 540133359Sobrien 541133359Sobrien2003-03-28 16:03 Christos Zoulas <christos@zoulas.com> 542133359Sobrien 543133359Sobrien * remove packed attribute from magic struct. 544133359Sobrien * make the magic struct properly aligned. 545133359Sobrien * bump version number of compiled files to 2. 546133359Sobrien 547133359Sobrien2003-03-27 13:10 Christos Zoulas <christos@zoulas.com> 548133359Sobrien 549133359Sobrien * separate tar detection and run it before softmagic. 550133359Sobrien * fix reversed symlink test. 551133359Sobrien * fix version printing. 552133359Sobrien * make separator a string instead of a char. 553133359Sobrien * update manual page and sort options. 554133359Sobrien 555133359Sobrien2003-03-26 11:00 Christos Zoulas <christos@zoulas.com> 556133359Sobrien 557133359Sobrien * Pass lint 558133359Sobrien * make NULL in magic_file mean stdin 559133359Sobrien * Fix "-" argument to file to pass NULL to magic_file 560133359Sobrien * avoid pointer casts by using memcpy 561133359Sobrien * rename magic_buf -> magic_buffer 562133359Sobrien * keep only the first error 563133359Sobrien * manual page: new sentence, new line 564133359Sobrien * fix typo in api function (magic_buf -> magic_buffer) 565