On Fri, 2005-04-22 at 19:15 +0100, Ross Burton wrote: > > what's with the added \0's? > > When doing: > > char foo[] = "bar"; > > foo ended up bytes long and contained 'b' 'a' 'r', which if output using > a stdio will happily write random memory until it comes across a null. Of course I just realised that I was thinking like a mad man, consider those bits of the patch removed. Ross -- Ross Burton mail: ross burtonini com jabber: ross burtonini com www: http://www.burtonini.com./ PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF
Attachment:
signature.asc
Description: This is a digitally signed message part