stoiko
|
396ee9bc32
|
removed some warnings for windows-platforms
|
2007-08-14 20:11:06 +00:00 |
|
kris
|
0118f48500
|
Adding (using) a static Snprintf() to nselib/pcre.c, due to lame problems with nbase + pcrelib on some systems
|
2007-08-14 16:32:10 +00:00 |
|
kris
|
24cb259f01
|
Reverting nselib pcre.[ch] changes from r5538; other changes to follow
|
2007-08-14 16:17:37 +00:00 |
|
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
|
78f15a7f65
|
make pcre an NSE C module
|
2007-08-11 06:05:48 +00:00 |
|