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
/
tail
/
at
master
8 files
Makefile
Fix broken conversion of private err() function and make ierr() and oerr() back into functions, not macros. Also make functions that call mmap() return an int so we can fall back to non-mmap (slow) version on mmap failure. Noticable effects: o when you tail multiple files, if one of the files doesn't exist or is otherwise broken, keep on going to the next file. o it is now possible to tail files > 2gig, though it will be *very* slow since tail will be unable to use mmap()
27 years ago
extern.h
Don't reopen file if its stdin.
7 years ago
forward.c
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
6 years ago
misc.c
another try to allow tailing multiple files. maybe it works? commit now to allow people to test. from Martijn van Duren
10 years ago
read.c
Change a reallocarray+bzero into recallocarray.
9 years ago
reverse.c
another try to allow tailing multiple files. maybe it works? commit now to allow people to test. from Martijn van Duren
10 years ago
tail.1
tail(1) first appeared outside of Bell Labs in PWB/UNIX 1.0
3 years ago
tail.c
userspace: remove vestigial '?' cases from top-level getopt(3) loops
3 years ago