opnsense-src/usr.bin/diff
Baptiste Daroussin 12d9c0dc55 When system calls indicate an error they return -1, not some arbitrary
value < 0.  errno is only updated in this case.

Obtained from:	OpenBSD
MFC after:	3 days
2020-01-14 08:22:28 +00:00
..
tests diff(1): Implement -B/--ignore-blank-lines 2018-08-19 03:57:20 +00:00
diff.1 diff(1): Implement -B/--ignore-blank-lines 2018-08-19 03:57:20 +00:00
diff.c When system calls indicate an error they return -1, not some arbitrary 2020-01-14 08:22:28 +00:00
diff.h diff(1): Implement -B/--ignore-blank-lines 2018-08-19 03:57:20 +00:00
diffdir.c diff: Import fixes from OpenBSD 2018-06-09 21:09:24 +00:00
diffreg.c When system calls indicate an error they return -1, not some arbitrary 2020-01-14 08:22:28 +00:00
Makefile Isolate the pr(1) related code in its own source files 2018-06-09 20:24:17 +00:00
pr.c Fix memory leak 2018-06-12 16:42:11 +00:00
pr.h Isolate the pr(1) related code in its own source files 2018-06-09 20:24:17 +00:00
TODO diff(1): Implement -B/--ignore-blank-lines 2018-08-19 03:57:20 +00:00
xmalloc.c asprintf returns -1, not an arbitrary value < 0. Also upon error the 2020-01-14 08:18:04 +00:00
xmalloc.h