OpenBSD CVS

CVS log for src/usr.bin/file/xmalloc.c


[BACK] Up to [local] / src / usr.bin / file

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.4 / (download) - annotate - [select for diffs], Fri Jun 28 05:44:09 2019 UTC (4 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, HEAD
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

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

Revision 1.3 / (download) - annotate - [select for diffs], Tue Nov 17 18:25:03 2015 UTC (8 years, 6 months ago) by tobias
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.2: +7 -12 lines
Diff to previous 1.2 (colored)

Merge xmalloc.[ch] files across base, skipping OpenSSH for now.

ok nicm

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 17 18:51:11 2015 UTC (8 years, 11 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.1: +3 -14 lines
Diff to previous 1.1 (colored)

Use strdup in xstrdup from Fritjof Bornebusch. While here, remove xfree
which is unused.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Apr 24 16:24:11 2015 UTC (9 years ago) by nicm
Branch: MAIN

New implementation of the file(1) utility. This is a simplified,
modernised version with a nearly complete magic(5) parser but omits some
of the complex builtin tests (notably ELF) and has a reduced set of
options.

ok deraadt

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.