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

Αρχική Σελίδα
Delete this message
Συντάκτης: Craig Silverstein
Ημερομηνία:  
Προς: 594
Υ/ο: pcre-dev
Αντικείμενο: 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