Message72852
http://man.he.net/man3/readlink says: "Conforming applications should
not assume that the returned contents of the symbolic link are
null-terminated"
cygwin is not broken, but very (too much?) conforming in this case ;-)
I think your second patch is the correct one, just keep the "return
(int)r1;" because the return value is stored in a "linklen" variable. |
|
Date |
User |
Action |
Args |
2008-09-09 12:29:37 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, ocean-city |
2008-09-09 12:29:37 | amaury.forgeotdarc | set | messageid: <1220963377.52.0.298132665624.issue3813@psf.upfronthosting.co.za> |
2008-09-09 12:28:31 | amaury.forgeotdarc | link | issue3813 messages |
2008-09-09 12:28:30 | amaury.forgeotdarc | create | |
|