Re: [pcre-dev] [Bug 594] pcrecpp 'snprintf' and 'strtoll' mi…

Kezdőlap
Üzenet törlése
Szerző: Craig Silverstein
Dátum:  
Címzett: 594
CC: pcre-dev
Tárgy: Re: [pcre-dev] [Bug 594] pcrecpp 'snprintf' and 'strtoll' missing onwindows
} 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