christos
85ff5d2957
remove conflict.
2008-08-31 07:54:07 +00:00
christos
97a2ff3736
misc cleanups
2008-08-31 07:53:33 +00:00
christos
3f1ec0f434
fix printf format.
2008-08-31 04:51:20 +00:00
christos
fed53d5170
fix lp64 build.
2008-08-30 17:49:43 +00:00
christos
0bb40d37ac
add this back
2008-08-30 12:18:55 +00:00
christos
04eef3cfd2
resolve conflicts, fix build.
2008-08-30 12:16:51 +00:00
christos
04d459813f
resolve conflicts
2008-08-30 11:39:01 +00:00
christos
8bb07b3f43
try-again for file-4.26
2008-08-30 11:20:52 +00:00
christos
85e225d6b9
mport 4.26
2008-08-30 11:00:02 +00:00
wiz
9f2c3be631
Recognize CISO (.cso) files.
2008-08-18 22:04:47 +00:00
martin
11a6dbe728
Convert TNF licenses to new 2 clause variant
2008-04-30 13:10:46 +00:00
apb
436bad5beb
Rewrite the code that tried to canonicalise a path. Fixes a problem
...
in which "/wherever/src.2/../tools" was incorrectly changed to
"/wherever/src./tools" instead of the desired "/wherever/tools".
It's not clear to me that this script has any business trying to do this
sort of rewriting (and there's no guarantee that "/wherever/foo/.." and
"/wherever" both refer to the same place), but at least the new code
tries to be more careful than the old code.
2008-04-20 12:57:40 +00:00
ragge
a24df7ca50
Include sys/param.h before file.h, to avoid redefinition of MIN.
2008-03-29 09:40:41 +00:00
pooka
86146f9e2e
put LP64 SIZE_T_MAX on a diet: 17 f's is too much, trim it down to 16
2007-06-14 19:26:17 +00:00
pooka
549f6b16d1
Make this match the distributing by removing some extra goo that was
...
added a few years back when battling AM_MAINTAINER_MODE and has been
lugged around ever since.
from adrianp
2007-06-14 19:10:54 +00:00
pooka
9afe6367b3
crunch cornflakes
2007-06-07 11:32:44 +00:00
pooka
40ad27db84
file 4.21. bugfixes
2007-06-07 11:24:27 +00:00
christos
67f0e23f0f
coverity CID 4418: Don't call strlen() with NULL.
2007-05-16 20:53:49 +00:00
pooka
000760c6d5
make print format specifiers match types printed
2007-03-04 21:50:43 +00:00
pooka
7a41045ba4
squelch gcc warnings
2007-03-04 15:25:10 +00:00
pooka
17dbe768ca
apply conflict therapy for 4.20 import
2007-03-04 15:22:07 +00:00
pooka
67e9db49c9
file 4.20, contains fixes to the magic parser, new syntax and a
...
buffer overflow fix
2007-03-04 14:54:42 +00:00
christos
7b1864c5ec
fix byte-swapping code.
2006-12-11 22:05:38 +00:00
martin
9013d7c51c
Remove a strange #if that broke libmagic for most 64 bit archs.
...
OK'd by christos.
2006-11-14 14:12:24 +00:00
pooka
1231a9a93e
renamed to bflt in upstream
...
keen-eyed source-changes reader was Jed Davis
2006-11-03 10:10:39 +00:00
dogcow
3429d8a242
Sprinkle llx -> PRIx64 around; fixes compilation on 64 bit platforms.
2006-11-01 00:33:40 +00:00
pooka
91e9593f57
file 4.18 last-minute conflix
2006-10-31 21:50:54 +00:00
pooka
26e338dcb4
readd winzip
2006-10-31 21:47:24 +00:00
pooka
2a4995fe7b
this is file 4.18 already, bump patchlevel
2006-10-31 21:39:08 +00:00
pooka
74d6dfb485
errno is in 2
2006-10-31 21:17:15 +00:00
pooka
910040d09f
welcome to file 4.18. have a nice day.
2006-10-31 21:16:23 +00:00
pooka
0968f96e37
file 4.18
...
changes since 4.16: bugfixes, magic improvements, other minor improvements
2006-10-31 20:34:42 +00:00
christos
2933708c6a
remove 3d magic.
2006-10-20 15:54:45 +00:00
wiz
d72654d9e5
Fix spacing issue, reported by anonymous.
2006-10-19 20:28:45 +00:00
thorpej
5da5f197c5
Use "unsigned int" rather than "u_int" to be consistent with the rest
...
of file(1).
2006-08-20 19:49:31 +00:00
christos
f503e58dd8
PR/33723: Arthur Townsend: file command doesn't show 'executable' for
...
statically linked sun3 exec
2006-06-13 22:20:20 +00:00
christos
f5b7b11e49
Coverity CID 346: Double free.
2006-03-18 04:41:57 +00:00
christos
a7e5a4a743
Coverity CID 347: remove dead code.
2006-03-18 04:39:50 +00:00
pooka
f8ed783b2b
some new signatures provided by Sergey Svishchev in private email
2006-02-13 22:57:55 +00:00
grant
999434556e
add magic for rzip archives.
2005-12-07 03:20:45 +00:00
christos
090e33a95c
reverting to the previous version of file 4.16, not 4.15.
2005-10-21 16:01:16 +00:00
christos
5e183c30fc
use strlen properly.
2005-10-17 19:07:43 +00:00
christos
c3f8b2f036
add more void casts.
2005-10-17 18:51:40 +00:00
christos
6af7fa0a20
revert previous
2005-10-17 18:49:54 +00:00
christos
0180aa059f
Fix lint issues.
2005-10-17 18:34:47 +00:00
pooka
4a4afdeb8b
fix a few signed/unsigned lint warnings
2005-10-17 18:13:04 +00:00
pooka
5c9948c400
fix "emulated" {v,}snprintf to return real values
...
(which really aren't used on NetBSD at all)
2005-10-17 18:03:01 +00:00
pooka
61f5a53c25
con conflicts into going away
2005-10-17 17:59:59 +00:00
pooka
0c2bfb7f3f
file 4.16
...
Changes since 4.13:
* DragonFly ELF note support
* read buffer dynamically allocated
* Add -h flag and dereference symlinks if POSIXLY_CORRECT
* Avoid search and regex buffer overflows
* cross-compilation fixes
* don't close stdin in the library.
* search for elf notes in shared libraries too.
Now with more magic than ever before!
2005-10-17 17:47:49 +00:00
christos
8e3cd7a471
PR/29682: sigsegv: /usr/bin/file does not seem to understand some fields
...
of an ELF binary. Someone ate my !
2005-03-25 18:07:09 +00:00