OpenBSD CVS

CVS log for src/lib/libevent/poll.c


[BACK] Up to [local] / src / lib / libevent

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.22 / (download) - annotate - [select for diffs], Sat Sep 3 11:31:17 2016 UTC (7 years, 9 months ago) by nayden
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, 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, HEAD
Changes since 1.21: +5 -9 lines
Diff to previous 1.21 (colored)

Remove NULL pointer checks before calls to free().
OK bluhm@ nicm@

Revision 1.21 / (download) - annotate - [select for diffs], Thu Oct 30 16:45:37 2014 UTC (9 years, 7 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Fix whitespace errors in libevent.
OK nicm@

Revision 1.20 / (download) - annotate - [select for diffs], Wed Oct 29 22:47:29 2014 UTC (9 years, 7 months ago) by bluhm
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

After removing all the #ifdef, the wrappers in evutil are rather
useless.  Let libevent call the libc functions directly.
OK nicm@

Revision 1.19 / (download) - annotate - [select for diffs], Fri Oct 17 19:16:01 2014 UTC (9 years, 7 months ago) by bluhm
Branch: MAIN
Changes since 1.18: +2 -5 lines
Diff to previous 1.18 (colored)

Remove #ifdef HAVE_.*_H, just include the header files.
Do not include sys/param.h.
OK nicm@

Revision 1.18 / (download) - annotate - [select for diffs], Thu Oct 16 07:38:06 2014 UTC (9 years, 7 months ago) by bluhm
Branch: MAIN
Changes since 1.17: +1 -4 lines
Diff to previous 1.17 (colored)

Remove #ifdef HAVE_CONFIG_H, there is no config.h file.
OK nicm@

Revision 1.17 / (download) - annotate - [select for diffs], Wed Oct 8 05:41:42 2014 UTC (9 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.16: +9 -9 lines
Diff to previous 1.16 (colored)

use reallocarray() to detect multiplicative integer overflow; obvious
pattern.
This commit does not fix the non-obvious bloody horror of select.c.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Aug 24 10:46:48 2013 UTC (10 years, 9 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

replace random() with arc4random.

blambert didnt like stuff linking to libevent getting warnings about use of
an unsafe api.

ok blambert@ mikeb@ deraadt@ millert@

Revision 1.15 / (download) - annotate - [select for diffs], Wed Apr 21 20:02:40 2010 UTC (14 years, 1 month ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, 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
Changes since 1.14: +24 -37 lines
Diff to previous 1.14 (colored)

Update libevent to 1.4.13.

This is the core library only, the DNS parts are removed and it does not
include the other extra bits (HTTP, DNS, and RPC), a separate port for
these will appear in due course.

Thanks to jsg, sthen, alek, gilles, jacekm, bernd and any others I've
forgotten for testing/comments.

Note that /usr/include/evdns.h should be removed after updating.

ok deraadt

Revision 1.14 / (download) - annotate - [select for diffs], Fri May 2 06:09:11 2008 UTC (16 years, 1 month ago) by brad
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.13: +20 -26 lines
Diff to previous 1.13 (colored)

Update to libevent 1.3e while retaining our local changes.

"No objection" millert@
"the diff looks and works fine" reyk@

Revision 1.13 / (download) - annotate - [select for diffs], Sun Nov 26 15:24:34 2006 UTC (17 years, 6 months ago) by brad
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.12: +35 -15 lines
Diff to previous 1.12 (colored)

fail without leaking memory when poll set extension fails.

From Niels Provos via the libevent SVN

ok deraadt@

Revision 1.12 / (download) - annotate - [select for diffs], Thu Mar 30 06:32:36 2006 UTC (18 years, 2 months ago) by brad
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.11: +22 -2 lines
Diff to previous 1.11 (colored)

introduce a way to free the base.

From libevent CVS

Revision 1.11 / (download) - annotate - [select for diffs], Fri Dec 2 04:41:30 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

pollops should be const

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jul 2 07:15:13 2005 UTC (18 years, 11 months ago) by grunk
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

zap trailing whitespaces, no binary change

ok brad@ beck@

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jun 18 01:52:22 2005 UTC (18 years, 11 months ago) by brad
Branch: MAIN
Changes since 1.8: +157 -85 lines
Diff to previous 1.8 (colored)

update to libevent 1.1a; keep local changes

ok grunk@

Revision 1.8 / (download) - annotate - [select for diffs], Fri May 6 18:22:53 2005 UTC (19 years, 1 month ago) by brad
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

fix comment, kqueue -> {poll,select}

Revision 1.7 / (download) - annotate - [select for diffs], Wed May 4 03:17:48 2005 UTC (19 years, 1 month ago) by brad
Branch: MAIN
Changes since 1.6: +73 -28 lines
Diff to previous 1.6 (colored)

update to libevent 1.0d; keep local changes

thanks to Alexander von Gernler for testing
and some bug fixes

ok mpf@ norby@

Revision 1.6 / (download) - annotate - [select for diffs], Fri Apr 22 00:56:25 2005 UTC (19 years, 1 month ago) by brad
Branch: MAIN
Changes since 1.5: +21 -25 lines
Diff to previous 1.5 (colored)

update to libevent 1.0c; keep local changes

no shared lib so no ABI/API check is necessary

thanks to Alexander von Gernler for submitting
another diff in an attempt to update libevent
and for a use-after-free fix.

ok henning@ deraadt@

Revision 1.5 / (download) - annotate - [select for diffs], Tue Apr 19 08:07:45 2005 UTC (19 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.4: +24 -20 lines
Diff to previous 1.4 (colored)

backout.  not discussed, and very wrong.  bad brad

Revision 1.4 / (download) - annotate - [select for diffs], Tue Apr 19 02:03:12 2005 UTC (19 years, 1 month ago) by brad
Branch: MAIN
Changes since 1.3: +21 -25 lines
Diff to previous 1.3 (colored)

update to libevent 1.0c; keep local changes

Revision 1.3 / (download) - annotate - [select for diffs], Wed Apr 28 06:53:12 2004 UTC (20 years, 1 month ago) by brad
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.2: +15 -13 lines
Diff to previous 1.2 (colored)

update to libevent 0.8; keep local changes

ok markus@

Revision 1.2 / (download) - annotate - [select for diffs], Wed Oct 1 09:10:30 2003 UTC (20 years, 8 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.1: +7 -4 lines
Diff to previous 1.1 (colored)

poll fixes from Niels; ok deraadt

Revision 1.1 / (download) - annotate - [select for diffs], Tue Sep 23 08:52:04 2003 UTC (20 years, 8 months ago) by markus
Branch: MAIN

add support for poll(2); 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.