Snort mailing list archives

Re: snort-1.9.0beta5 fails to build on HP-UX 10.20


From: Dirk Geschke <Dirk_Geschke () genua de>
Date: Fri, 16 Aug 2002 10:22:01 +0200

Hi,

You're right, because in /usr/include/sys/rw_lock.h there is:

...
113 #ifndef TRUE
114 #define TRUE    1
115 #define FALSE   0
116 #else
117 #if ((TRUE != 1) || (FALSE != 0))
118 This is probably not a good thing....
119 #endif
120 #endif /* TRUE */
121
122 #endif /* _RW_LOCK_INCLUDED */

so I made this:
#if ((TRUE != 1) || (FALSE != 0))
#define TRUE    1
#define FALSE   0
/* This is probably not a good thing.... */
#endif

I think the main problem is in spp_portscan2.c:

      33 #define TRUE 0
      34 #define FALSE 1

This is not a good choice for this constants...

Best regards

Dirk Geschke
-- 
+------------------------------------------------------------+
| Dr. Dirk Geschke            | E-mail: geschke () genua de     |
| Gesellschaft fuer Netzwerk  | Tel.  : +49-(0)-89-991950-31 |
| und Unix Administration mbH | Fax   : +49-(0)-89-991950-99 |
| 85551 Kirchheim / Germany   | Raeter Stra/3e 26            |
+------------------------------------------------------------+




-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: