On Sat, Jan 13, 2007 at 05:57:24PM -0700, Eric Blake wrote: > According to Liyang HU on 1/13/2007 4:48 PM: > > If xreadlink() assumed POSIX, it would allocate a fixed buffer of 256 bytes. > Wrong. POSIX guarantees that you will have AT LEAST 256, [...]
You are absolutely right. > > I'm not even sure my toy FS violates POSIX. st_size contains the /on-disk/ > Your FS flat out violates this rule. But life goes on. later, /Liyang This message has been checked for viruses but the contents of an attachment may still contain software viruses, which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.