/
nerfur
/
openbsd-src
ОбзорДокументацияВойти
/
nerfur
/
openbsd-src
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
openbsd-src/
usr.bin/tail/
..
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()

28 лет назад
extern.h

Don't reopen file if its stdin.

8 лет назад
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.

7 лет назад
misc.c

another try to allow tailing multiple files. maybe it works? commit now to allow people to test. from Martijn van Duren

11 лет назад
read.c

Change a reallocarray+bzero into recallocarray.

9 лет назад
reverse.c

another try to allow tailing multiple files. maybe it works? commit now to allow people to test. from Martijn van Duren

11 лет назад
tail.1

tail(1) first appeared outside of Bell Labs in PWB/UNIX 1.0

4 года назад
tail.c

userspace: remove vestigial '?' cases from top-level getopt(3) loops

4 года назад