]> jfr.im git - irc/atheme/libmowgli-2.git/log
irc/atheme/libmowgli-2.git
6 years agom4/ax_check_openssl.m4: respect --with-openssl=yes in addition to =no v2.1.2
Aaron Jones [Tue, 12 Sep 2017 08:08:09 +0000 (08:08 +0000)] 
m4/ax_check_openssl.m4: respect --with-openssl=yes in addition to =no
configure: update version to 2.1.2

Reported-By: Wade Cline <redacted>
6 years agoconfigure: update version to 2.1.1 v2.1.1
Aaron Jones [Tue, 5 Sep 2017 05:11:50 +0000 (05:11 +0000)] 
configure: update version to 2.1.1

6 years agoOpenSSL: Several minor fixups
Aaron Jones [Tue, 5 Sep 2017 04:52:26 +0000 (04:52 +0000)] 
OpenSSL: Several minor fixups

- Respect --with-openssl=no and skip tests for building against it
- Test whether openssl/ec.h exists and conditionally build with that
  cf. https://bugs.gentoo.org/show_bug.cgi?id=629856

Usual huge diffstat from munging autotools files.

7 years agoREADME: remove broken link
Max Teufel [Sun, 4 Sep 2016 07:28:40 +0000 (09:28 +0200)] 
README: remove broken link

This link is unavailable, and probably won't be up at the same location,
if at all, again. Remove it.

Fixes atheme/libmowgli-2#38 ("README “More information is available at”
link broken")

8 years agoFix up several minor code quality problems that trigger clang warnings
Aaron Jones [Tue, 17 May 2016 04:16:02 +0000 (04:16 +0000)] 
Fix up several minor code quality problems that trigger clang warnings

Includes break statements that will never be executed, functions that
should be marked noreturn, and shadowed variable declarations.

8 years agoconfigure: update version to 2.1.0 v2.1.0
Max Teufel [Wed, 6 Apr 2016 15:32:31 +0000 (17:32 +0200)] 
configure: update version to 2.1.0

8 years agoMerge pull request #37 from staticfox/func
William Pitcock [Wed, 6 Apr 2016 15:28:42 +0000 (10:28 -0500)] 
Merge pull request #37 from staticfox/func

program_opts: Remove unused function

8 years agoprogram_opts: Remove unused function
Matt Ullman [Thu, 24 Mar 2016 01:32:05 +0000 (21:32 -0400)] 
program_opts: Remove unused function

8 years agoSeriously rework the OpenSSL context code
Aaron Jones [Mon, 16 Nov 2015 20:22:08 +0000 (20:22 +0000)] 
Seriously rework the OpenSSL context code

* Always negotiate the highest mutually supported protocol version
* Use the new TLS_{client,server}_method() APIs from OpenSSL 1.1.0
* Explicitly disable SSLv2 and SSLv3 if so available
* Support ECDH (either prime256v1 (< 1.0.2) or automatic (>= 1.0.2))

Closes #34

9 years agoMerge pull request #33 from Renegade334/master
William Pitcock [Sun, 22 Feb 2015 23:50:55 +0000 (17:50 -0600)] 
Merge pull request #33 from Renegade334/master

patricia.c: Fix assert in mowgli_patricia_elem_add

9 years agopatricia.c: Fix assert in mowgli_patricia_elem_add
Renegade334 [Wed, 11 Feb 2015 10:49:38 +0000 (10:49 +0000)] 
patricia.c: Fix assert in mowgli_patricia_elem_add
Change return_val_if_fail value to NULL (from FALSE) to match
return type.

9 years agoMerge pull request #32 from Renegade334/master
William Pitcock [Fri, 23 Jan 2015 02:38:44 +0000 (20:38 -0600)] 
Merge pull request #32 from Renegade334/master

vio/vio.c: mowgli_vio_err_sslerrcode: Return correct type from assertion

9 years agovio/vio.c: mowgli_vio_err_sslerrcode: Return correct type from assertion
Renegade334 [Wed, 21 Jan 2015 10:55:16 +0000 (10:55 +0000)] 
vio/vio.c: mowgli_vio_err_sslerrcode: Return correct type from assertion

9 years agoMerge pull request #31 from aji/master
William Pitcock [Thu, 15 Jan 2015 14:58:35 +0000 (08:58 -0600)] 
Merge pull request #31 from aji/master

Fix IPv6 reverse DNS lookups (address to name conversion)

9 years agoFix IPv6 reverse DNS lookups (address to name conversion)
Aaron Jones [Thu, 15 Jan 2015 07:05:25 +0000 (07:05 +0000)] 
Fix IPv6 reverse DNS lookups (address to name conversion)

The bug here is that it reverses the octets and appends a period
after each nibble, but then prepends a period before ip6.arpa.

This results in a query with 2 consecutive periods, which then
goes on to fail query validation and so the query is never sent.

I have no idea how this failed basic quality testing especially
since there is an example program that uses this functionality
that was apparently not even extended to try IPv6.

9 years agoCorrectly call <ctype.h> functions using (unsigned char) casts.
Jilles Tjoelker [Thu, 18 Dec 2014 14:38:43 +0000 (15:38 +0100)] 
Correctly call <ctype.h> functions using (unsigned char) casts.

9 years agoMerge pull request #27 from attilamolnar/vio-warn-fix
William Pitcock [Tue, 9 Sep 2014 15:19:07 +0000 (10:19 -0500)] 
Merge pull request #27 from attilamolnar/vio-warn-fix

vio: Change type of the flags parameter of mowgli_vio_{has,set}flag() to unsigned

9 years agoMerge pull request #26 from attilamolnar/heapdebug-compile-fix
William Pitcock [Sun, 3 Aug 2014 19:04:28 +0000 (14:04 -0500)] 
Merge pull request #26 from attilamolnar/heapdebug-compile-fix

core/heap: Fix compile error if HEAP_DEBUG is defined

9 years agoMerge pull request #29 from andrewshadura/patch-1
Mantas Mikulėnas [Tue, 17 Jun 2014 11:57:28 +0000 (14:57 +0300)] 
Merge pull request #29 from andrewshadura/patch-1

Use #else instead of #elif.

9 years agoUse #else instead of #elif.
Andrew Shadura [Tue, 17 Jun 2014 11:45:34 +0000 (13:45 +0200)] 
Use #else instead of #elif.

10 years agovio: Change type of the flags parameter of mowgli_vio_{has,set}flag() to unsigned
Attila Molnar [Mon, 28 Apr 2014 15:45:01 +0000 (17:45 +0200)] 
vio: Change type of the flags parameter of mowgli_vio_{has,set}flag() to unsigned

The 'flags' in struct _mowgli_vio is unsigned, this causes warnings with -Wsign-conversion

10 years agocore/heap: Fix compile error if HEAP_DEBUG is defined
Attila Molnar [Mon, 28 Apr 2014 15:42:11 +0000 (17:42 +0200)] 
core/heap: Fix compile error if HEAP_DEBUG is defined

10 years agoMerge pull request #25 from hlandau/master
Alex Iadicicco [Tue, 25 Feb 2014 03:57:16 +0000 (20:57 -0700)] 
Merge pull request #25 from hlandau/master

Make epoll/kqueue close-on-exec.

10 years agoMake DNS resolver's UDP socket close-on-exec.
Hugo Landau [Fri, 21 Feb 2014 10:00:57 +0000 (10:00 +0000)] 
Make DNS resolver's UDP socket close-on-exec.

10 years agoMake epoll/kqueue close-on-exec.
Hugo Landau [Fri, 21 Feb 2014 08:35:06 +0000 (08:35 +0000)] 
Make epoll/kqueue close-on-exec.

10 years agoMerge pull request #24 from awilfox/fix-std-c99
Alex Iadicicco [Thu, 6 Feb 2014 22:29:33 +0000 (15:29 -0700)] 
Merge pull request #24 from awilfox/fix-std-c99

Add compiler #error directive for glibc retadation

10 years agoAdd compiler #error directive for GCC retadation
Andrew Wilcox [Thu, 6 Feb 2014 10:58:55 +0000 (04:58 -0600)] 
Add compiler #error directive for GCC retadation

10 years agomodule/interface: new module, implementing cross-module API sharing
William Pitcock [Sun, 2 Feb 2014 19:02:38 +0000 (19:02 +0000)] 
module/interface: new module, implementing cross-module API sharing

10 years agodns/evloop_res: initialize lsin.addrlen
William Pitcock [Sun, 19 Jan 2014 06:51:04 +0000 (06:51 +0000)] 
dns/evloop_res: initialize lsin.addrlen

10 years agodns/evloop_res: initialize `lsin`.
William Pitcock [Sun, 19 Jan 2014 05:24:16 +0000 (05:24 +0000)] 
dns/evloop_res: initialize `lsin`.

10 years agoMerge branch 'master' of git://github.com/binki/libmowgli-2 (closes #20)
Alex Iadicicco [Sat, 2 Nov 2013 19:21:04 +0000 (12:21 -0700)] 
Merge branch 'master' of git://github.com/binki/libmowgli-2 (closes #20)

Conflicts:
src/libmowgli/platform/win32/win32_stdinc.h

10 years agoeventloop: Break timer run loop when no timers waiting.
Alex Iadicicco [Tue, 29 Oct 2013 04:46:22 +0000 (21:46 -0700)] 
eventloop: Break timer run loop when no timers waiting.

Also initialize deadline to -1 and delay an arbitrary 5 seconds when
no timers waiting.

10 years agoeventloop: Fix deadline for timers.
Jilles Tjoelker [Sun, 14 Jul 2013 10:46:27 +0000 (12:46 +0200)] 
eventloop: Fix deadline for timers.

If a timer is added while the deadline is not determined yet, the new
deadline only takes the new timer into account. This prevents execution
of other timers that should be run sooner.

11 years agogetopt_long: Fix missing newline after error messages.
Jilles Tjoelker [Sun, 21 Apr 2013 21:26:54 +0000 (23:26 +0200)] 
getopt_long: Fix missing newline after error messages.

Real warnx() appends a newline so make our substitute do so too.

11 years agoproctitle: fix undeclared identifier on certain platforms
Alex Iadicicco [Mon, 15 Apr 2013 08:05:52 +0000 (01:05 -0700)] 
proctitle: fix undeclared identifier on certain platforms

11 years agocacheline: make things work right on OS X
Alex Iadicicco [Mon, 15 Apr 2013 07:51:27 +0000 (00:51 -0700)] 
cacheline: make things work right on OS X

11 years agoMerge pull request #21 from quora-wings/master
William Pitcock [Sun, 14 Apr 2013 22:41:21 +0000 (15:41 -0700)] 
Merge pull request #21 from quora-wings/master

Fixed compiler warnings

11 years agoFixed unused variable warning in proctitle.c
Quora [Sun, 14 Apr 2013 22:04:14 +0000 (15:04 -0700)] 
Fixed unused variable warning in proctitle.c

11 years agoAdd limit.h to stdinc.h
Patrick McFarland [Sat, 6 Apr 2013 05:30:05 +0000 (01:30 -0400)] 
Add limit.h to stdinc.h

11 years agoMerge branch 'master' of https://github.com/atheme/libmowgli-2
Patrick McFarland [Sat, 6 Apr 2013 05:24:19 +0000 (01:24 -0400)] 
Merge branch 'master' of https://github.com/atheme/libmowgli-2

11 years agoMerge branch 'master' of https://github.com/Diablo-D3/libmowgli-2
Alex Iadicicco [Fri, 5 Apr 2013 02:46:30 +0000 (19:46 -0700)] 
Merge branch 'master' of https://github.com/Diablo-D3/libmowgli-2

Conflicts:
src/libmowgli/eventloop/ports_pollops.c

11 years agoFix description of mowgli_patricia routines. (ref #18)
William Pitcock [Wed, 27 Mar 2013 18:40:19 +0000 (13:40 -0500)] 
Fix description of mowgli_patricia routines. (ref #18)

11 years agoAdd BSDmakefile to redirect to gmake
Douglas Freed [Wed, 20 Mar 2013 09:09:06 +0000 (09:09 +0000)] 
Add BSDmakefile to redirect to gmake

11 years agoeventloop/ports: fix eventloop livelock
William Pitcock [Wed, 13 Mar 2013 23:12:10 +0000 (18:12 -0500)] 
eventloop/ports: fix eventloop livelock

11 years agoeventloop: add ETIME to mowgli_eventloop_ignore_errno()
William Pitcock [Wed, 13 Mar 2013 23:09:52 +0000 (18:09 -0500)] 
eventloop: add ETIME to mowgli_eventloop_ignore_errno()

11 years agodns: fix unwrapped maacros
Patrick McFarland [Tue, 12 Mar 2013 23:34:36 +0000 (19:34 -0400)] 
dns: fix unwrapped maacros

11 years agoBy request of mogri, spaces after cast
Patrick McFarland [Tue, 12 Mar 2013 00:09:02 +0000 (20:09 -0400)] 
By request of mogri, spaces after cast

11 years agoFix formatting, add uncrustify.cfg used to do this
Patrick McFarland [Mon, 11 Mar 2013 23:30:28 +0000 (19:30 -0400)] 
Fix formatting, add uncrustify.cfg used to do this

11 years agoobject: Fix semicolons ending macros
Patrick McFarland [Mon, 11 Mar 2013 18:59:40 +0000 (14:59 -0400)] 
object: Fix semicolons ending macros

11 years agologger: Fix semicolons ending macros
Patrick McFarland [Mon, 11 Mar 2013 18:58:16 +0000 (14:58 -0400)] 
logger: Fix semicolons ending macros

11 years agovio: Fix semicolons ending macros
Patrick McFarland [Mon, 11 Mar 2013 18:46:58 +0000 (14:46 -0400)] 
vio: Fix semicolons ending macros

11 years agolinebuf: Cache endl_len, and add function to set delimiters
Alex Iadicicco [Sun, 10 Mar 2013 02:19:53 +0000 (19:19 -0700)] 
linebuf: Cache endl_len, and add function to set delimiters

11 years agolinebuf: Use single-byte delimiters
Alex Iadicicco [Sun, 10 Mar 2013 01:51:11 +0000 (18:51 -0700)] 
linebuf: Use single-byte delimiters

This allows the delimiter string "\r\n" to be used to detect \r, \n, \r\n,
\n\n\n, or any combination of the characters in the delimiter string. This
is different from the previous system which required the whole delimiter
string to match.

The endl member of linebuf indicates the line ending to use for outgoing
lines, and can have any length.

11 years agoUpdate README (closes #17)
Alex Iadicicco [Tue, 5 Mar 2013 20:24:01 +0000 (13:24 -0700)] 
Update README (closes #17)

Fix URLs, change feature request instructions, update feature list

11 years agoMerge pull request #16 from binki/master
mogri [Tue, 5 Mar 2013 01:29:44 +0000 (17:29 -0800)] 
Merge pull request #16 from binki/master

mingw fixes: drop gettimeofday(), fix bitrot caused by untested commits in cacheline.c, fix MOWGLI_OS_WIN mispelled as MOWGLI_OS_WINDOWS

11 years agoMerge pull request #15 from enmand/master
mogri [Tue, 5 Mar 2013 01:29:34 +0000 (17:29 -0800)] 
Merge pull request #15 from enmand/master

Fixes for illumos/SmartOS

11 years agoFix compilation on modern mingw32; includes dropping gettimeofday() which is in moder...
Nathan Phillip Brink [Tue, 5 Mar 2013 01:01:55 +0000 (20:01 -0500)] 
Fix compilation on modern mingw32; includes dropping gettimeofday() which is in modern mingw32.

Also fixes missing s/SLPI/SYSTEM_LOGICAL_PROCESSOR_INFORMATION/ and a
missing variable rename in Windows-specific cacheline code. Fixes
mistaken use of MOWGLI_OS_WINDOWS instead of MOWGLI_OS_WIN.

Dropping gettimeofday() fixes type collision of “struct timezone” with
the compat type provided by mingw32.

11 years agoUse Solaris Threads on Solaris
Daniel Enman [Sat, 2 Mar 2013 19:14:17 +0000 (15:14 -0400)] 
Use Solaris Threads on Solaris

11 years agoFix "Redeclaration with no linkage" on SmartOS
Daniel Enman [Sat, 2 Mar 2013 17:54:45 +0000 (13:54 -0400)] 
Fix "Redeclaration with no linkage" on SmartOS

11 years agocacheline: Use #elif defined rather than just #elif
Alex Iadicicco [Wed, 27 Feb 2013 23:31:32 +0000 (16:31 -0700)] 
cacheline: Use #elif defined rather than just #elif

11 years agolist: Paranoia on value of count, and minor consistency change
Alex Iadicicco [Mon, 25 Feb 2013 05:44:07 +0000 (22:44 -0700)] 
list: Paranoia on value of count, and minor consistency change

11 years agoMerge pull request #14 from Diablo-D3/master
Alex Iadicicco [Wed, 20 Feb 2013 19:24:29 +0000 (11:24 -0800)] 
Merge pull request #14 from Diablo-D3/master

Add cachline code in platform module

11 years agoChange to MOWGLI_OS_WINDOWS
Patrick McFarland [Mon, 18 Feb 2013 02:43:25 +0000 (21:43 -0500)] 
Change to MOWGLI_OS_WINDOWS

11 years agoFix void arithmatic warnings
Patrick McFarland [Mon, 18 Feb 2013 02:42:54 +0000 (21:42 -0500)] 
Fix void arithmatic warnings

11 years agoFix printf formatting warnings
Patrick McFarland [Mon, 18 Feb 2013 02:29:44 +0000 (21:29 -0500)] 
Fix printf formatting warnings

11 years agoForgot to commit changes to cacheline.c for mowgli_cahceline_size
Patrick McFarland [Mon, 18 Feb 2013 02:10:48 +0000 (21:10 -0500)] 
Forgot to commit changes to cacheline.c for mowgli_cahceline_size

11 years agoRemove alwaysinline, can't be used usefully cross unit
Patrick McFarland [Mon, 18 Feb 2013 02:09:13 +0000 (21:09 -0500)] 
Remove alwaysinline, can't be used usefully cross unit

11 years agoForgot to commit vio union fixes for vio_openssl.c
Patrick McFarland [Mon, 18 Feb 2013 02:08:21 +0000 (21:08 -0500)] 
Forgot to commit vio union fixes for vio_openssl.c

11 years agoMove mowgli_cacheline_size to cacheline.c
Patrick McFarland [Mon, 18 Feb 2013 02:07:43 +0000 (21:07 -0500)] 
Move mowgli_cacheline_size to cacheline.c

11 years agoFix vio unnamed union
Patrick McFarland [Mon, 18 Feb 2013 01:46:16 +0000 (20:46 -0500)] 
Fix vio unnamed union

11 years agoGet rid of the unamed union in json.[ch]
Patrick McFarland [Mon, 18 Feb 2013 01:19:09 +0000 (20:19 -0500)] 
Get rid of the unamed union in json.[ch]

11 years agoRemove define for SLPI
Patrick McFarland [Mon, 18 Feb 2013 00:55:33 +0000 (19:55 -0500)] 
Remove define for SLPI

11 years agoMove mowgli_log_prefix_real from logger.h to logger.c
Patrick McFarland [Mon, 18 Feb 2013 00:52:14 +0000 (19:52 -0500)] 
Move mowgli_log_prefix_real from logger.h to logger.c

11 years agoRemove MOWGLI_DEPRECATED from stdinc.h as it is now in attribute.h
Patrick McFarland [Mon, 18 Feb 2013 00:51:39 +0000 (19:51 -0500)] 
Remove MOWGLI_DEPRECATED from stdinc.h as it is now in attribute.h

11 years agoMake constructor.h use mowgli compiler defines
Patrick McFarland [Mon, 18 Feb 2013 00:49:06 +0000 (19:49 -0500)] 
Make constructor.h use mowgli compiler defines

11 years agoMOWGLI_COMPILER_GCC_VERSION should not have been private namespaced
Patrick McFarland [Mon, 18 Feb 2013 00:48:34 +0000 (19:48 -0500)] 
MOWGLI_COMPILER_GCC_VERSION should not have been private namespaced

11 years agoAdd attributes.h to platform/Makefile
Patrick McFarland [Mon, 18 Feb 2013 00:44:35 +0000 (19:44 -0500)] 
Add attributes.h to platform/Makefile

11 years agoAdd _MOWGLI_COMPILER_GCC_VERSION for easy version checking
Patrick McFarland [Mon, 18 Feb 2013 00:43:44 +0000 (19:43 -0500)] 
Add _MOWGLI_COMPILER_GCC_VERSION for easy version checking

11 years agoAdd attributes.h to mowgli.h, move constructor.h below attributes.h
Patrick McFarland [Mon, 18 Feb 2013 00:42:41 +0000 (19:42 -0500)] 
Add attributes.h to mowgli.h, move constructor.h below attributes.h

11 years agoAdd attributes.h: compiler attributes for improving code quality
Patrick McFarland [Mon, 18 Feb 2013 00:40:42 +0000 (19:40 -0500)] 
Add attributes.h: compiler attributes for improving code quality

11 years agoAdd include barrier to cacheline.h
Patrick McFarland [Sat, 16 Feb 2013 17:43:06 +0000 (12:43 -0500)] 
Add include barrier to cacheline.h

11 years agoAdd cacheline.h to mowgli.h
Patrick McFarland [Sat, 16 Feb 2013 17:32:30 +0000 (12:32 -0500)] 
Add cacheline.h to mowgli.h

11 years agoCall cacheline_bootstrap from bootstrap
Patrick McFarland [Fri, 15 Feb 2013 16:10:30 +0000 (11:10 -0500)] 
Call cacheline_bootstrap from bootstrap

11 years agoRename cacheline_init to cacheline_bootstrap
Patrick McFarland [Fri, 15 Feb 2013 16:08:31 +0000 (11:08 -0500)] 
Rename cacheline_init to cacheline_bootstrap

11 years agoUpdate src/libmowgli/platform/cacheline.c
Patrick McFarland [Fri, 15 Feb 2013 16:07:02 +0000 (11:07 -0500)] 
Update src/libmowgli/platform/cacheline.c

11 years agoAdd cacheline routines
Patrick McFarland [Thu, 14 Feb 2013 21:08:07 +0000 (16:08 -0500)] 
Add cacheline routines

11 years agoMerge pull request #13 from Diablo-D3/master
Alex Iadicicco [Wed, 6 Feb 2013 03:50:52 +0000 (19:50 -0800)] 
Merge pull request #13 from Diablo-D3/master

Remove exceptions, rewrite logging, fix a few bugs

11 years agoMerge pull request #12 from tallica/master
Alex Iadicicco [Wed, 6 Feb 2013 03:05:55 +0000 (19:05 -0800)] 
Merge pull request #12 from tallica/master

Fixes for C++ compilers

11 years agojson: Fixes for C++ compilers.
Michał Lipski [Tue, 5 Feb 2013 23:55:17 +0000 (00:55 +0100)] 
json: Fixes for C++ compilers.

11 years agoMove mowgli_object_class_dict init to bootstrap
Patrick McFarland [Tue, 5 Feb 2013 11:18:52 +0000 (06:18 -0500)] 
Move mowgli_object_class_dict init to bootstrap

11 years agopatricia.c: Cast to void * for %p
Patrick McFarland [Tue, 5 Feb 2013 10:54:11 +0000 (05:54 -0500)] 
patricia.c: Cast to void * for %p

11 years agoUse C99 compliant stringification
Patrick McFarland [Tue, 5 Feb 2013 10:52:34 +0000 (05:52 -0500)] 
Use C99 compliant stringification

11 years agoMove logger buffer down to one page of memory and stop wasting room
Patrick McFarland [Tue, 5 Feb 2013 10:45:41 +0000 (05:45 -0500)] 
Move logger buffer down to one page of memory and stop wasting room

11 years agoMake mowgli_log_real tail call optimizable and make it more efficient
Patrick McFarland [Tue, 5 Feb 2013 10:42:31 +0000 (05:42 -0500)] 
Make mowgli_log_real tail call optimizable and make it more efficient

11 years agoRemove public protos for bootstrap internal functions
Patrick McFarland [Tue, 5 Feb 2013 05:03:53 +0000 (00:03 -0500)] 
Remove public protos for bootstrap internal functions

11 years agoBootstrap win32 winsock last not first
Patrick McFarland [Tue, 5 Feb 2013 04:53:16 +0000 (23:53 -0500)] 
Bootstrap win32 winsock last not first

11 years agoAdd mowgli_log_bootstrap()
Patrick McFarland [Tue, 5 Feb 2013 04:51:20 +0000 (23:51 -0500)] 
Add mowgli_log_bootstrap()

11 years agoClean up logger.[ch], don't break backwards compat, fix buf alloc
Patrick McFarland [Tue, 5 Feb 2013 04:44:01 +0000 (23:44 -0500)] 
Clean up logger.[ch], don't break backwards compat, fix buf alloc

11 years agoRemove comma eating ## trick, isn't C99 compliant
Patrick McFarland [Mon, 4 Feb 2013 09:12:56 +0000 (04:12 -0500)] 
Remove comma eating ## trick, isn't C99 compliant

11 years agoSwitched assert to use do while(0)s, fixed files broken by this
Patrick McFarland [Mon, 4 Feb 2013 08:43:28 +0000 (03:43 -0500)] 
Switched assert to use do while(0)s, fixed files broken by this