Re: correct definition of NULL

2011-07-02 Thread Dunceor
== > RCS file: /cvs/src/include/wchar.h,v > retrieving revision 1.17 > diff -u -p -r1.17 wchar.h > --- wchar.h B B 1 Jun 2011 16:39:07 - B B B 1.17 > +++ wchar.h B B 2 Jul 2011 07:18:49 - > @@ -65,6 +65,8 @@ > B #ifndef B B B B NULL > B #ifdef __GNUG__ > B #define B B B B NULL B B __null > +#elif defined(__cplusplus) > +#define B B B B NULL B B 0L > B #else > B #define B B B B NULL B B ((void *)0) > B #endif > > Is there a reason for that NULL is defined at so many places? BR Dunceor

Re: usb wireless detach

2010-12-22 Thread Dunceor
I have been looking at doing somrhing similar because I have a usb wlan that for some reason unplugs it self (the device seems to die, I think it's broken or something). I will try this diff when I get a chance. BR Dunceor On Thu, Dec 23, 2010 at 1:36 AM, Jacob Meuser wrote: > no feed