logo       

Re: script udate broken: msg#00128

security.nmap.devel

Subject: Re: script udate broken

"Diman Todorov" <diman.todorov@xxxxxxxxx> wrote:
> Thanks for the bug report. The attached patch fixes this problem.
>
> +std::string get_filename(std::string str) {
> + int pos = max( (int) str.rfind('\\'), (int) str.rfind('/'));

Could ypu please use MAX() instead since max() isn't defined
in the C++ headers nmap uses on MingW.

--gv

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise