ChangeLog revision 191771
12008-12-12 15:50 Christos Zoulas <christos@zoulas.com> 2 3 * fix initial offset calculation for non 4K sector files 4 5 * add loop limits to avoid DoS attacks by constructing 6 looping sector references. 7 82008-12-03 13:05 Christos Zoulas <christos@zoulas.com> 9 10 * fix memory botches on cdf file parsing. 11 12 * exit with non-zero value for any error, not just for the last 13 file processed. 14 152008-11-09 20:42 Charles Longeau <chl@tuxfamily.org> 16 17 * Replace all str{cpy,cat} functions with strl{cpy,cat} 18 * Ensure that strl{cpy,cat} are included in libmagic, 19 as needed. 20 212008-11-06 18:18 Christos Zoulas <christos@zoulas.com> 22 23 * Handle ID3 format files. 24 252008-11-06 23:00 Reuben Thomas <rrt@sc3d.org> 26 27 * Fix --mime, --mime-type and --mime-encoding under new scheme. 28 29 * Rename "ascii" to "text" and add "encoding" test. 30 31 * Return a precise ("utf-16le" or "utf-16be") MIME charset for 32 UTF-16. 33 34 * Fix error in comment caused by automatic indentation adding 35 words! 36 372008-11-06 10:35 Christos Zoulas <christos@astron.com> 38 39 * use memchr instead of strchr because the string 40 might not be NUL terminated (Scott MacVicar) 41 422008-11-03 07:31 Reuben Thomas <rrt@sc3d.org> 43 44 * Fix a printf with a non-literal format string. 45 46 * Fix formatting and punctuation of help for "--apple". 47 482008-10-30 11:00 Reuben Thomas <rrt@sc3d.org> 49 50 * Correct words counts in comments of struct magic. 51 52 * Fix handle_annotation to allow both Apple and MIME types to be 53 printed, and to return correct code if MIME type is 54 printed (1, not 0) or if there's an error (-1 not 1). 55 56 * Fix output of charset for MIME type (precede with semi-colon; 57 fixes Debian bug #501460). 58 59 * Fix potential attacks via conversion specifications in magic 60 strings. 61 62 * Add a FIXME for Debian bug #488562 (magic files should be 63 read in a defined order, by sorting the names). 64 652008-10-18 16:45 Christos Zoulas <christos@astron.com> 66 67 * Added APPLE file creator/type 68 692008-10-12 10:20 Christos Zoulas <christos@astron.com> 70 71 * Added CDF parsing 72 732008-10-09 16:40 Christos Zoulas <christos@astron.com> 74 75 * filesystem and msdos patches (Joerg Jenderek) 76 772008-10-09 13:20 Christos Zoulas <christos@astron.com> 78 79 * correct --exclude documentation issues: remove troff and fortran 80 and rename "token" to "tokens". (Randy McMurchy) 81 822008-10-01 10:30 Christos Zoulas <christos@astron.com> 83 84 * Read ~/.magic in addition to the default magic file not instead 85 of, as documented in the man page. 86 872008-09-10 21:30 Reuben Thomas <rrt@sc3d.org> 88 89 * Comment out graphviz patterns, as they match too many files. 90 912008-08-30 12:54 Christos Zoulas <christos@astron.com> 92 93 * Don't eat trailing \n in magic enties. 94 95 * Cast defines to allow compilation using a c++ compiler. 96 972008-08-25 23:56 Reuben Thomas <rrt@sc3d.org> 98 99 * Add text/x-lua MIME type for Lua scripts. 100 101 * Escape { in regex in graphviz patterns. 102 1032008-07-26 00:59 Reuben Thomas <rrt@sc3d.org> 104 105 * Add MIME types for special files. 106 107 * Use access to give more accurate information for files that 108 can't be opened. 109 110 * Add a TODO list. 111 1122008-07-02 11:15 Christos Zoulas <christos@astron.com> 113 114 * add !:strength op to adjust magic strength (experimental) 115 1162008-06-16 21:41 Reuben Thomas <rrt@sc3d.org> 117 118 * Fix automake error in configure.ac. 119 120 * Add MIME type for Psion Sketch files. 121 1222008-06-05 08:59 Christos Zoulas <christos@astron.com> 123 124 * Don't print warnings about bad namesize in stripped 125 binaries with PT_NOTE is still there, and the actual 126 note is gone (Jakub Jelinek) 127 1282008-05-28 15:12 Robert Byrnes <byrnes@wildpumpkin.net> 129 130 * magic/Magdir/elf: 131 Note invalid byte order for little-endian SPARC32PLUS. 132 Add SPARC V9 vendor extensions and memory model. 133 134 * src/elfclass.h: 135 Pass target machine to doshn (for Solaris hardware capabilities). 136 137 * src/readelf.c (doshn): 138 Add support for Solaris hardware/software capabilities. 139 140 * src/readelf.h: 141 Ditto. 142 143 * src/vasprintf.c (dispatch): 144 Add support for ll modifier. 145 1462008-05-16 10:25 Christos Zoulas <christos@astron.com> 147 148 * Fix compiler warnings. 149 150 * remove stray printf, and fix a vprintf bug. (Martin Dorey) 151 1522008-05-06 00:13 Robert Byrnes <byrnes@wildpumpkin.net> 153 154 * src/Makefile.am: 155 Ensure that getopt_long and [v]asprintf are included in libmagic, 156 as needed. 157 158 Remove unnecessary EXTRA_DIST. 159 160 * src/Makefile.in: 161 Rerun automake. 162 163 * src/vasprintf.c (dispatch): 164 Fix variable precision bug: be sure to step past '*'. 165 166 * src/vasprintf.c (core): 167 Remove unreachable code. 168 169 * src/apprentice.c (set_test_type): 170 Add cast to avoid compiler warning. 171 1722008-04-22 23:45 Christos Zoulas <christos@astron.com> 173 174 * Add magic submission guidelines (Abel Cheung) 175 176 * split msdos and windows magic (Abel Cheung) 177 1782008-04-04 11:00 Christos Zoulas <christos@astron.com> 179 180 * >= <= is not supported, so fix the magic and warn about it. 181 reported by: Thien-Thi Nguyen <ttn@gnuvola.org> 182 1832008-03-27 16:16 Robert Byrnes <byrnes@wildpumpkin.net> 184 185 * src/readelf.c (donote): 186 ELF core file command name/line bug fixes and enhancements: 187 188 Try larger offsets first to avoid false matches 189 from earlier data that happen to look like strings; 190 this primarily affected SunOS 5.x 32-bit Intel core files. 191 192 Add support for command line (instead of just short name) 193 for SunOS 5.x. 194 195 Add information about NT_PSINFO for SunOS 5.x. 196 197 Only trim whitespace from end of command line. 198 1992007-02-11 01:36 Reuben Thomas <rrt@sc3d.org> 200 201 * Change strength of ! from MULT to 0, as it matches almost 202 anything (Reuben Thomas) 203 204 * Debian fixes (Reuben Thomas) 205 2062007-02-11 00:17 Reuben Thomas <rrt@sc3d.org> 207 208 * Clarify UTF-8 BOM message (Reuben Thomas) 209 210 * Add HTML comment to token list in names.h 211 2122007-02-04 15:50 Christos Zoulas <christos@astron.com> 213 214 * Debian fixes (Reuben Thomas) 215 2162007-02-04 11:31 Christos Zoulas <christos@astron.com> 217 218 * !:mime annotations in magic files (Reuben Thomas) 219 2202007-01-29 15:35 Christos Zoulas <christos@astron.com> 221 222 * zero out utime/utimes structs (Gavin Atkinson) 223 2242007-01-26 13:45 Christos Zoulas <christos@astron.com> 225 226 * reduce writable data from Diego "Flameeyes" Petten 227 2282007-12-28 15:06 Christos Zoulas <christos@astron.com> 229 230 * strtof detection 231 232 * remove bogus regex magic that could cause a DoS 233 234 * better mismatch version message 235 2362007-12-27 11:35 Christos Zoulas <christos@astron.com> 237 238 * bring back some fixes from OpenBSD 239 240 * treat ELF dynamic objects as executables 241 242 * fix gcc warnings 243 2442007-12-01 19:55 Christos Zoulas <christos@astron.com> 245 246 * make sure we have zlib.h and libz to compile the builtin 247 decompress code 248 2492007-10-28 20:48 Christos Zoulas <christos@astron.com> 250 251 * float and double magic support (Behan Webster) 252 2532007-10-28 20:48 Christos Zoulas <christos@astron.com> 254 255 * Convert fortran to a soft test (Reuben Thomas) 256 2572007-10-23 5:25 Christos Zoulas <christos@astron.com> 258 259 * Add --with-filename, and --no-filename (Reuben Thomas) 260 2612007-10-23 3:59 Christos Zoulas <christos@astron.com> 262 263 * Rest of the mime split (Reuben Thomas) 264 265 * Make usage message generated from the flags so that 266 they stay consistent (Reuben Thomas) 267 2682007-10-20 3:06 Christos Zoulas <christos@astron.com> 269 270 * typo in comment, missing ifdef QUICK, remove unneeded code 271 (Charles Longeau) 272 2732007-10-17 3:33 Christos Zoulas <christos@astron.com> 274 275 * Fix problem printing -\012 in some entries 276 277 * Separate magic type and encoding flags (Reuben Thomas) 278 2792007-10-09 3:55 Christos Zoulas <christos@astron.com> 280 281 * configure fix for int64 and strndup (Reuben Thomas) 282 2832007-09-26 4:45 Christos Zoulas <christos@astron.com> 284 285 * Add magic_descriptor() function. 286 287 * Fix regression in elf reading code where the core name was 288 not being printed. 289 290 * Don't convert NUL's to spaces in {l,b}estring16 (Daniel Dawson) 291 2922007-08-19 6:30 Christos Zoulas <christos@astron.com> 293 294 * Make mime format consistent so that it can 295 be easily parsed: 296 mimetype [charset=character-set] [encoding=encoding-mime-type] 297 298 Remove spurious extra text from some MIME type printouts 299 (mostly in is_tar). 300 301 Fix one case where -i produced nothing at all (for a 1-byte file, 302 which is now classed as application/octet-stream). 303 304 Remove 7/8bit classifications, since they were arbitrary 305 and not based on the file data. 306 307 This work was done by Reuben Thomas 308 3092007-05-24 10:00 Christos Zoulas <christos@astron.com> 310 311 * Fix another integer overflow (Colin Percival) 312 3132007-03-26 13:58 Christos Zoulas <christos@astron.com> 314 315 * make sure that all of struct magic_set is initialized appropriately 316 (Brett) 317 3182007-03-25 17:44 Christos Zoulas <christos@astron.com> 319 320 * reset left bytes in the buffer (Dmitry V. Levin) 321 322 * compilation failed with COMPILE_ONLY and ENABLE_CONDITIONALS 323 (Peter Avalos) 324 3252007-03-15 10:51 Christos Zoulas <christos@astron.com> 326 327 * fix fortran and nroff reversed tests (Dmitry V. Levin) 328 329 * fix exclude option (Dmitry V. Levin) 330 3312007-02-08 17:30 Christos Zoulas <christos@astron.com> 332 333 * fix integer underflow in file_printf which can lead to 334 to exploitable heap overflow (Jean-Sebastien Guay-Lero) 335 3362007-02-05 11:35 Christos Zoulas <christos@astron.com> 337 338 * make socket/pipe reading more robust 339 3402007-01-25 16:01 Christos Zoulas <christos@astron.com> 341 342 * Centralize all the tests in file_buffer. 343 344 * Add exclude flag. 345 3462007-01-18 05:29 Anon Ymous <do@not.spam.me> 347 348 * Move the "type" detection code from parse() into its own table 349 driven routine. This avoids maintaining multiple lists in 350 file.h. 351 352 * Add an optional conditional field (ust before the type field). 353 This code is wrapped in "#ifdef ENABLE_CONDITIONALS" as it is 354 likely to go away. 355 3562007-01-16 23:24 Anon Ymous <do@not.spam.me> 357 358 * Fix an initialization bug in check_mem(). 359 3602007-01-16 14:58 Anon Ymous <do@not.spam.me> 361 362 * Add a "default" type to print a message if nothing previously 363 matched at that level or since the last default at that 364 level. This is useful for setting up switch-like statements. 365 It can also be used to do if/else constructions without a 366 redundant second test. 367 368 * Fix the "x" special case test so that one can test for that 369 string with "=x". 370 371 * Allow "search" to search the entire buffer if the "/N" 372 search count is missing. 373 374 * Make "regex" work! It now starts its search at the 375 specified offset and takes an (optional) "/N" line count to 376 specify the search range; otherwise it searches to the end 377 of the file. The match is now grabbed correctly for format 378 strings and the offset set to the end of the match. 379 380 * Add a "/s" flag to "regex" and "search" to set the offset to 381 the start of the match. By default the offset is set to the 382 end of the match, as it is with other tests. This is mostly 383 useful for "regex". 384 385 * Make "search", "string" and "pstring" use the same 386 file_strncmp() routine so that they support the same flags; 387 "bestring16" and "lestring16" call the same routine, but 388 with flags = 0. Also add a "/C" flag (in analogy to "/c") 389 to ignore the case on uppercase (lowercase) characters in 390 the test string. 391 392 * Strict adherence to C style string escapes. A warnings are 393 printed when compiling. Note: previously "\a" was 394 incorrectly translated to 'a' instead of an <alert> (i.e., 395 BELL, typically 0x07). 396 397 * Make this compile with "-Wall -Wextra" and all the warning 398 flags used with WARNS=4 in the NetBSD source. Also make it 399 pass lint. 400 401 * Many "cleanups" and hopefully not too many new bugs! 402 4032007-01-16 14:56 Anon Ymous <do@not.spam.me> 404 405 * make several more files compile with gcc warnings 406 on and also make them pass lint. 407 4082007-01-16 14:54 Anon Ymous <do@not.spam.me> 409 410 * fix a puts()/putc() usage goof in file.c 411 412 * make file.c compile with gcc warnings and pass lint 413 4142006-12-11 16:49 Christos Zoulas <christos@astron.com> 415 416 * fix byteswapping issue 417 418 * report the number of bytes we tried to 419 allocate when allocation fails 420 421 * add a few missed cases in the strength routine 422 4232006-12-08 16:32 Christos Zoulas <christos@astron.com> 424 425 * store and print the line number of the magic 426 entry for debugging. 427 428 * if the magic entry did not print anything, 429 don't treat it as a match 430 431 * change the magic strength algorithm to take 432 into account the relationship op. 433 434 * fix a bug in search where we could accidentally 435 return a match. 436 437 * propagate the error return from match to 438 file_softmagic. 439 4402006-11-25 13:35 Christos Zoulas <christos@astron.com> 441 442 * Don't store the current offset in the magic 443 struct, because it needs to be restored and 444 it was not done properly all the time. Bug 445 found by: Arkadiusz Miskiewicz 446 447 * Fix problem in the '\0' separator; and don't 448 print it as an additional separator; print 449 it as the only separator. 450 4512006-11-17 10:51 Christos Zoulas <christos@astron.com> 452 453 * Added a -0 option to print a '\0' separator 454 Etienne Buira <etienne.buira@free.fr> 455 4562006-10-31 15:14 Christos Zoulas <christos@astron.com> 457 458 * Check offset before copying (Mike Frysinger) 459 460 * merge duplicated code 461 462 * add quad date support 463 464 * make sure that we nul terminate desc (Ryoji Kanai) 465 466 * don't process elf notes multiple times 467 468 * allow -z to report empty compressed files 469 470 * use calloc to initialize the ascii buffers (Jos van den Oever) 471 4722006-06-08 11:11 Christos Zoulas <christos@astron.com> 473 474 * QNX fixes (Mike Gorchak) 475 476 * Add quad support. 477 478 * FIFO checks (Dr. Werner Fink) 479 480 * Linux ELF fixes (Dr. Werner Fink) 481 482 * Magic format checks (Dr. Werner Fink) 483 484 * Magic format function improvent (Karl Chen) 485 4862006-05-03 11:11 Christos Zoulas <christos@astron.com> 487 488 * Pick up some elf changes and some constant fixes from SUSE 489 490 * Identify gnu tar vs. posix tar 491 492 * When keep going, don't print spurious newlines (Radek Vok�l) 493 4942006-04-01 12:02 Christos Zoulas <christos@astron.com> 495 496 * Use calloc instead of malloc (Mike Frysinger) 497 498 * Fix configure script to detect wctypes.h (Mike Frysinger) 499 5002006-03-02 16:06 Christos Zoulas <christos@astron.com> 501 502 * Print empty if the file is (Mike Frysinger) 503 504 * Don't try to read past the end of the buffer (Mike Frysinger) 505 506 * Sort magic entries by strength [experimental] 507 5082005-11-29 13:26 Christos Zoulas <christos@astron.com> 509 510 * Use iswprint() to convert the output string. 511 (Bastien Nocera) 512 5132005-10-31 8:54 Christos Zoulas <christos@astron.com> 514 515 * Fix regression where the core info was not completely processed 516 (Radek Vok�l) 517 5182005-10-20 11:15 Christos Zoulas <christos@astron.com> 519 520 * Middle Endian magic (Diomidis Spinellis) 521 5222005-10-17 11:15 Christos Zoulas <christos@astron.com> 523 524 * Open with O_BINARY for CYGWIN (Corinna Vinschen) 525 526 * Don't close stdin (Arkadiusz Miskiewicz) 527 528 * Look for note sections in non executables. 529 5302005-09-20 13:33 Christos Zoulas <christos@astron.com> 531 532 * Don't print SVR4 Style in core files multiple times 533 (Radek Vok�l) 534 5352005-08-27 04:09 Christos Zoulas <christos@astron.com> 536 537 * Cygwin changes Corinna Vinschen 538 5392005-08-18 09:53 Christos Zoulas <christos@astron.com> 540 541 * Remove erroreous mention of /etc/magic in the file man page 542 This is gentoo bug 101639. (Mike Frysinger) 543 544 * Cross-compile support and detection (Mike Frysinger) 545 5462005-08-12 10:17 Christos Zoulas <christos@astron.com> 547 548 * Add -h flag and dereference symlinks if POSIXLY_CORRECT 549 is set. 550 5512005-07-29 13:57 Christos Zoulas <christos@astron.com> 552 553 * Avoid search and regex buffer overflows (Kelledin) 554 5552005-07-12 11:48 Christos Zoulas <christos@astron.com> 556 557 * Provide stub implementations for {v,}nsprintf() for older 558 OS's that don't have them. 559 * Change mbstate_t autoconf detection macro from AC_MBSTATE_T 560 to AC_TYPE_MBSTATE_T. 561 5622005-06-25 11:48 Christos Zoulas <christos@astron.com> 563 564 * Dynamically allocate the string buffers and make the 565 default read size 256K. 566 5672005-06-01 00:00 Joerg Sonnenberger <joerg@britannica.bec.de> 568 569 * Dragonfly ELF note support 570 5712005-03-14 00:00 Giuliano Bertoletti <gb@symbolic.it> 572 573 * Avoid NULL pointer dereference in time conversion. 574 5752005-03-06 00:00 Joerg Walter <jwalt@mail.garni.ch> 576 577 * Add indirect magic offset support, and search mode. 578 5792005-01-12 00:00 Stepan Kasal <kasal@ucw.cz> 580 581 * src/ascmagic.c (file_ascmagic): Fix three bugs about text files: 582 If a CRLF text file happens to have CR at offset HOWMANY - 1 583 (currently 0xffff), it should not be counted as CR line 584 terminator. 585 If a line has length exactly MAXLINELEN, it should not yet be 586 treated as a ``very long line'', as MAXLINELEN is ``longest sane 587 line length''. 588 With CRLF, the line length was not computed correctly, and even 589 lines of length MAXLINELEN - 1 were treated as ``very long''. 590 5912004-12-07 14:15 Christos Zoulas <christos@astron.com> 592 593 * bzip2 needs a lot of input buffer space on some files 594 before it can begin uncompressing. This makes file -z 595 fail on some bz2 files. Fix it by giving it a copy of 596 the file descriptor to read as much as it wants if we 597 have access to it. <christos@astron.com> 598 5992004-11-24 12:39 Christos Zoulas <christos@astron.com> 600 601 * Stack smash fix, and ELF more conservative reading. 602 Jakub Bogusz <qboosh@pld-linux.org> 603 6042004-11-20 18:50 Christos Zoulas <christos@astron.com> 605 606 * New FreeBSD version parsing code: 607 Jon Noack <noackjr@alumni.rice.edu> 608 609 * Hackish support for ucs16 strings <christos@astron.com> 610 6112004-11-13 03:07 Christos Zoulas <christos@astron.com> 612 613 * print the file name and line number in syntax errors. 614 6152004 10-12 10:50 Christos Zoulas <christos@astron.com> 616 617 * Fix stack overwriting on 0 length strings: Tim Waugh 618 <twaugh@redhat.com> Ned Ludd <solar@gentoo.org> 619 6202004-09-27 11:30 Christos Zoulas <christos@astron.com> 621 622 * Remove 3rd and 4th copyright clause; approved by Ian Darwin. 623 624 * Fix small memory leaks; caught by: Tamas Sarlos 625 <stamas@csillag.ilab.sztaki.hu> 626 6272004-07-24 16:33 Christos Zoulas <christos@astron.com> 628 629 * magic.mime update Danny Milosavljevic <danny.milo@gmx.net> 630 631 * FreeBSD version update Oliver Eikemeier <eikemeier@fillmore-labs.com> 632 633 * utime/utimes detection Ian Lance Taylor <ian@wasabisystems.com> 634 635 * errors reading elf magic Jakub Bogusz <qboosh@pld-linux.org> 636 6372004-04-12 10:55 Christos Zoulas <christos@astron.com> 638 639 * make sure that magic formats match magic types during compilation 640 641 * fix broken sgi magic file 642 6432004-04-06 20:36 Christos Zoulas <christos@astron.com> 644 645 * detect present of mbstate_t Petter Reinholdtsen <pere@hungry.com> 646 647 * magic fixes 648 6492004-03-22 15:25 Christos Zoulas <christos@astron.com> 650 651 * Lots of mime fixes 652 (Joerg Ostertag) <ostertag@rechengilde.de> 653 654 * FreeBSD ELF version handling 655 (Edwin Groothuis) <edwin@mavetju.org> 656 657 * correct cleanup in all cases; don't just close the file. 658 (Christos Zoulas) <christos@astron.com> 659 660 * add gettext message catalogue support 661 (Michael Piefel) <piefel@debian.org> 662 663 * better printout for unreadable files 664 (Michael Piefel) <piefel@debian.org> 665 666 * compensate for missing MAXPATHLEN 667 (Michael Piefel) <piefel@debian.org> 668 669 * add wide character string length computation 670 (Michael Piefel) <piefel@debian.org> 671 672 * Avoid infinite loops caused by bad elf alignments 673 or name and description note sizes. Reported by 674 (Mikael Magnusson) <mmikael@comhem.se> 675 6762004-03-09 13:55 Christos Zoulas <christos@astron.com> 677 678 * Fix possible memory leak on error and add missing regfree 679 (Dmitry V. Levin) <ldv@altlinux.org> 680 6812003-12-23 12:12 Christos Zoulas <christos@astron.com> 682 683 * fix -k flag (Maciej W. Rozycki) 684 6852003-11-18 14:10 Christos Zoulas <christos@astron.com> 686 687 * Try to give us much info as possible on corrupt elf files. 688 (Willy Tarreau) <willy@w.ods.org> 689 * Updated python bindings (Brett Funderburg) 690 <brettf@deepfile.com> 691 6922003-11-11 15:03 Christos Zoulas <christos@astron.com> 693 694 * Include file.h first, because it includes config.h 695 breaks largefile test macros otherwise. 696 (Paul Eggert <eggert@CS.UCLA.EDU> via 697 Lars Hecking <lhecking@nmrc.ie>) 698 6992003-10-14 21:39 Christos Zoulas <christos@astron.com> 700 701 * Python bindings (Brett Funderburg) <brettf@deepfile.com> 702 * Don't lookup past the end of the buffer 703 (Chad Hanson) <chanson@tcs-sec.com> 704 * Add MAGIC_ERROR and api on magic_errno() 705 7062003-10-08 12:40 Christos Zoulas <christos@astron.com> 707 708 * handle error conditions from compile as fatal 709 (Antti Kantee) <pooka@netbsd.org> 710 * handle magic filename parsing sanely 711 * more magic fixes. 712 * fix a memory leak (Illes Marton) <illes.marton@balabit.hu> 713 * describe magic file handling 714 (Bryan Henderson) <bryanh@giraffe-data.com> 715 7162003-09-12 15:09 Christos Zoulas <christos@astron.com> 717 718 * update magic files. 719 * remove largefile support from file.h; it breaks things on most OS's 720 7212003-08-10 10:25 Christos Zoulas <christos@astron.com> 722 723 * fix unmapping'ing of mmaped files. 724 7252003-07-10 12:03 Christos Zoulas <christos@astron.com> 726 727 * don't exit with -1 on error; always exit 1 (Marty Leisner) 728 * restore utimes code. 729 7302003-06-10 17:03 Christos Zoulas <christos@astron.com> 731 732 * make sure we don't access uninitialized memory. 733 * pass lint 734 * #ifdef __cplusplus in magic.h 735 7362003-05-25 19:23 Christos Zoulas <christos@astron.com> 737 738 * rename cvs magic file to revision to deal with 739 case insensitive filesystems. 740 7412003-05-23 17:03 Christos Zoulas <christos@astron.com> 742 743 * documentation fixes from Michael Piefel <piefel@debian.org> 744 * magic fixes (various) 745 * revert basename magic in .mgc name determination 746 * buffer protection in uncompress, 747 signness issues, 748 close files 749 Maciej W. Rozycki <macro@ds2.pg.gda.pl 750 7512003-04-21 20:12 Christos Zoulas <christos@astron.com> 752 753 * fix zsh magic 754 7552003-04-04 16:59 Christos Zoulas <christos@astron.com> 756 757 * fix operand sort order in string. 758 7592003-04-02 17:30 Christos Zoulas <christos@astron.com> 760 761 * cleanup namespace in magic.h 762 7632003-04-02 13:50 Christos Zoulas <christos@astron.com> 764 765 * Magic additions (Alex Ott) 766 * Fix bug that broke VPATH compilation (Peter Breitenlohner) 767 7682003-03-28 16:03 Christos Zoulas <christos@astron.com> 769 770 * remove packed attribute from magic struct. 771 * make the magic struct properly aligned. 772 * bump version number of compiled files to 2. 773 7742003-03-27 13:10 Christos Zoulas <christos@astron.com> 775 776 * separate tar detection and run it before softmagic. 777 * fix reversed symlink test. 778 * fix version printing. 779 * make separator a string instead of a char. 780 * update manual page and sort options. 781 7822003-03-26 11:00 Christos Zoulas <christos@astron.com> 783 784 * Pass lint 785 * make NULL in magic_file mean stdin 786 * Fix "-" argument to file to pass NULL to magic_file 787 * avoid pointer casts by using memcpy 788 * rename magic_buf -> magic_buffer 789 * keep only the first error 790 * manual page: new sentence, new line 791 * fix typo in api function (magic_buf -> magic_buffer) 792