tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
usr.bin
/
file
/
at
jcs
1 folder
13 files
magdir
file(1): add support for Web Open Font Format (WOFF) detection.
2 months ago
Makefile
Revert my changes in r1.60 back to nicm@'s latest for now.
8 years ago
file.1
Add --brief and --dereference, used by xdg-open/xdg-mime.
10 years ago
file.c
Convert sbin and usr.bin to check for imsgbuf_init failure and add imsgbuf_allow_fdpass where needed.
1 year ago
file.h
Remove old unused prototype, from Ilya Kaliman.
9 years ago
magic-common.c
Accept hexadecimal numbers without 0x if they aren't a valid decimal number.
10 years ago
magic-dump.c
Add support for 'name' and 'use' which allows more of the latest magic files to work unchanged. (We are still missing 'indirect' and a few other bits.)
10 years ago
magic-load.c
Replace fgetln with POSIX getline, even though file was using fgetln in the idiomatic safe way. Also, check for stream errors with ferror and err(1, "") in that case.
8 years ago
magic-test.c
Regex flags should include REG_NEWLINE and REG_ICASE should actually be used if specified.
7 years ago
magic.5
remove macro instances from arbitrary string width specifiers. for example
5 years ago
magic.h
Tidy up some #include lines.
10 years ago
text.c
Style nits; no binary change.
9 years ago
xmalloc.c
asprintf returns -1, not an arbitrary value < 0. Also upon error the (very sloppy specification) leaves an undefined value in *ret, so it is wrong to inspect it, the error condition is enough. discussed a little with nicm, and then much more with millert until we were exasperated
6 years ago
xmalloc.h
Merge xmalloc.[ch] files across base, skipping OpenSSH for now.
10 years ago