Re: snprintf heads-up
| From: | Jon Ribbens | Date: | Fri, 08 Sep 2000 13:01:30 +0000 |
| Subject: | Re: snprintf heads-up | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-32660@lists.php.net to get a copy of this message | ||
Stanislav Malyshev <stas@zend.com> wrote:
> That means, output of snprintf *can not* be trusted. You should check it
> for being inside the array. I don't know yet how the other systems'
> snprintfs behave, but at least Linux one cannot be trusted to return
> usable value.
Different systems do different things. The new Linux behaviour is the
most sensible behaviour, and I expect that this will become standardised
over time, but I don't think you can rely on it any time soon.