Re: [gnet] Re: gnet 2.0.5 on windows with mingw/msys



Nevermind, I figured it out.  Just some whitespace differences.  Patch
applied.  Please double-check my ChangeLog entry.  Thanks!

David


Sun Sep 26 22:02:00 2004  David Helder  <dhelder gizmolabs org>

	Apply patch from Stephane Rouleau (srouleau innobec com).

	Win32: Don't rely on DllMain() to be called on for init
	  and uninit.  Instead init in gnet_init() and uninit
	  on exit.
	
	* src/gnet-private.h: 
	   Add gnet_{un}initialize_windows_sockets()

	* src/gnet-private.c (gnet_initialize_windows_sockets): 
	   Move init code here.
	* src/gnet-private.c (gnet_uninitialize_windows_sockets): 
	   Move uninit code here.
	
	* src/gnet.c (gnet_init): 
	   Call gnet_initialize_windows_sockets()
	* src/gnet.c (gnet_win32_at_exit): 
	   Call gnet_uninitialize_windows_sockets()


On Thu, 2004-09-23 at 20:57, David Helder wrote:
> Could you please send me either the patched gnet-private.c or a diff 
> with old and new reversed.  This patch was backwards and I couldn't 
> apply it cleanly even with -R.  Sorry.

-- 
David Helder - dhelder gizmolabs org - http://www.gizmolabs.org/~dhelder




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]