[pcre-dev] [Bug 594] pcrecpp 'snprintf' and 'strtoll' missin…

Kezdőlap
Üzenet törlése
Szerző: Craig Silverstein
Dátum:  
Címzett: pcre-dev
Régi témák: [pcre-dev] [Bug 594] New: pcrecpp unittest 'snprintf' missing on windows
Tárgy: [pcre-dev] [Bug 594] pcrecpp 'snprintf' and 'strtoll' missing on windows
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=594




--- Comment #5 from Craig Silverstein <csilvers@???> 2007-09-07 15:28:17 ---
} But why should any implementation have _snprintf() and not
} snprintf()? [Not, of course, that I understand anything about
} Windows, as people on this list well know!]

I've done some windows development lately, and I can aver: windows has
_snprintf and not snprintf. Don't ask me why.

I guess, as an alternate fix, we could change the code to use sprintf
instead of snprintf; I reflexively use snprintf instead because it's
safer.

craig


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email