kris
|
0b50c16b38
|
Adding Snprintf() and Vsnprintf() to nbase/nbase_str.c. This is because of Windows' stupid implementation where it doesn't write a NULL byte at the end of the buffer if the result is truncated. I would've just #defined snprintf and vsnprintf to some wrapper function for Windows, but this doesn't work as libdnet and libpcap (and libpcap includes under mswin32) define snprintf to _snprintf and vsnprintf to _vsnprintf like we do, and through the many defines they end up being available in the Nmap sources. Vsnprintf() uses vsnprintf() (and writes a NULL byte at the end if truncated), and Snprintf uses Vsnprintf().
|
2007-08-14 06:46:54 +00:00 |
|
fyodor
|
cb8101dbcc
|
merge soc07 r4821 - fix nse build system issues
|
2007-08-11 03:35:12 +00:00 |
|
fyodor
|
f17f2265ea
|
cannot directly include nmap_winconfig in these the way I was, or it will be included in nonwin32
|
2006-12-11 01:40:03 +00:00 |
|
fyodor
|
47e73d1fa2
|
UPdates for windows compilation
|
2006-12-11 01:25:25 +00:00 |
|
fyodor
|
b361685be8
|
NSE committed
|
2006-12-11 00:34:26 +00:00 |
|