On Mon, Jun 30, 2008 at 04:19:46PM -0400, Stefan Teleman wrote:
> What is the rationale for treating the 's' format specifier differently than 
> 'p' 
> or 'x' ?

's' pointers are dereferenced, 'p' pointers aren't.  That's the
rationale.

Not that I disagree with you though -- where the spec says "undefined
behavior" both of the discussed behaviors are OK, and one happens to be
so popular, for good or ill, that we've decided to adopt it.

Reply via email to