OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.13 / (download) - annotate - [select for diffs], Thu Nov 28 09:51:58 2019 UTC (4 years, 5 months ago) by nicm
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, HEAD
Changes since 1.12: +15 -1 lines
Diff to previous 1.12 (colored)

Add xrecallocarray.

Revision 1.12 / (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_6_6_BASE, OPENBSD_6_6
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (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.11 / (download) - annotate - [select for diffs], Thu Nov 17 10:06:08 2016 UTC (7 years, 6 months ago) by nicm
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
Changes since 1.10: +11 -1 lines
Diff to previous 1.10 (colored)

Key running commands for #() by the unexpanded command, and run them
again if the expanded form changes (otherwise at most once per second as
usual). Fixes issues reported by Gregory Pakosz.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Apr 4 16:19:43 2016 UTC (8 years, 1 month ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.9: +12 -12 lines
Diff to previous 1.9 (colored)

fatalx() not fatal().

Revision 1.9 / (download) - annotate - [select for diffs], Wed Nov 18 13:06:54 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.8: +65 -69 lines
Diff to previous 1.8 (colored)

Sync the entire xmalloc.[ch] with the other users, but with the addition
of xrealloc, xvasprintf, xvsnprintf.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Nov 17 18:25:03 2015 UTC (8 years, 6 months ago) by tobias
Branch: MAIN
Changes since 1.7: +21 -28 lines
Diff to previous 1.7 (colored)

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

ok nicm

Revision 1.7 / (download) - annotate - [select for diffs], Mon Oct 20 23:57:14 2014 UTC (9 years, 7 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Better format for printf format attributes.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Oct 20 23:27:14 2014 UTC (9 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.5: +2 -4 lines
Diff to previous 1.5 (colored)

Tidy up some includes.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Oct 8 17:35:58 2014 UTC (9 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.4: +16 -3 lines
Diff to previous 1.4 (colored)

Add xreallocarray and remove nmemb argument from xrealloc.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jul 10 11:53:01 2012 UTC (11 years, 10 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.3: +1 -9 lines
Diff to previous 1.3 (colored)

xfree is not particularly helpful, remove it. From Thomas Adam.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Oct 26 21:42:04 2009 UTC (14 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.2: +32 -32 lines
Diff to previous 1.2 (colored)

tabs are better; ok nicm

Revision 1.2 / (download) - annotate - [select for diffs], Mon Oct 26 21:10:24 2009 UTC (14 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.1: +4 -3 lines
Diff to previous 1.1 (colored)

Use strlcpy instead of strncpy, pointed out by deraadt.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jun 1 22:58:49 2009 UTC (14 years, 11 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6

Import tmux, a terminal multiplexor allowing (among other things) a single
terminal to be switched between several different windows and programs
displayed on one terminal be detached from one terminal and moved to another.

ok deraadt pirofti

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.