Harlan Stenn
05a2c22fee
Make test-eof fail with a timeout if we never get an eof.
...
Previously, it would just wait forever.
2011-02-22 00:25:12 -05:00
Christopher Davis
34b84b9727
Fix more wn64 warnings.
2010-11-03 23:30:29 -04:00
Dimitre Piskyulev
f817bfa4d3
Fix some ints to evutil_socket_t; make tests pass on win64.
2010-10-27 17:32:06 -04:00
Nick Mathewson
ec347b9225
Move event-config.h to include/event2
...
This change means that all required include files are in event2, and
all files not in event2/* are optional.
2010-08-06 20:21:27 -04:00
Nick Mathewson
0ee6f6ce80
Make test.sh support mingw/msys on win32
...
This required:
- Adding another WIN32 section in test.sh
- not running "touch /dev/null"
- calling WSAStartup in all the test binaries
- Fixing a dumb windows-only bug in test-time.c
2010-05-08 19:38:30 -04:00
Nick Mathewson
c7cf6f0049
Replace users of "int fd" with "evutil_socket_t fd" in portable code
...
Remeber, win32 has a socket type that's actually a handle, so if
there's a chance that code is run on win32, we can't use "int" as the
socket type.
This isn't a blind search-and-replace: sometimes an fd is really in
fact for a file, and not a socket at all.
2010-03-05 12:47:46 -05:00
Nick Mathewson
4faeaea90e
Clean up formatting: function/keyword spacing consistency.
...
- Keywords always have a space before a paren. Functions never do.
- No more than 3 blank lines in a row.
2010-02-19 03:39:50 -05:00
Nick Mathewson
784b8773a4
We do not work any more without an event-config.h; stop pretending that it is meaningful to check for HAVE_CONFIG_H
...
svn:r1516
2009-11-06 21:46:57 +00:00
Nick Mathewson
25a5e6819d
Build fixes for MSVC
...
svn:r1506
2009-11-05 20:37:19 +00:00
Nick Mathewson
d1ffba1d7c
Replace some read/write instances with send/recv to work properly on win32.
...
svn:r1324
2009-06-05 19:52:13 +00:00
Nick Mathewson
8889a77039
Replace all use of config.h with event-config.h.
...
svn:r1064
2009-01-27 22:30:46 +00:00
Nick Mathewson
9993137cbb
Remove all trailing whitespace in all the source files.
...
svn:r1063
2009-01-27 21:10:31 +00:00
Nick Mathewson
ce4ee418d2
r16733@catbus: nickm | 2007-11-26 14:18:25 -0500
...
Add an --enable-gcc-warnings option (lifted from Tor) to the configure script. When provided, and when we are using GCC, we enable a bunch of extra GCC warnings in the compiler. Also, make the code all build happily with these warnings.
svn:r553
2007-11-26 19:18:49 +00:00
Nick Mathewson
1e1f77c5b0
Make the test/ subdirectory buildable under Windows. Well, mingw at least. The tests still don't all pass, but at least now we know that.
...
svn:r447
2007-09-20 19:08:20 +00:00
Niels Provos
9e0333a8d5
include config.h if HAVE_CONFIG_H from Jan Kneschke
...
svn:r375
2007-07-30 23:56:05 +00:00
Niels Provos
c61a2547e2
__FUNCTION__ -> __func__
...
svn:r80
2003-09-25 03:30:49 +00:00
Niels Provos
409fcdd2fa
remove queue.h include
...
svn:r21
2002-04-10 14:48:31 +00:00
Niels Provos
aa6567fe64
Initial revision
...
svn:r2
2002-04-09 15:14:06 +00:00