
2 Mar
2010
2 Mar
'10
5:34 p.m.
Various safezero() implementations used either -1, errno or -errno return values. This patch fixes them all to return -1 and set errno appropriately.
There was also a bug in size parameter passed to safewrite() which could result in an attempt to write gigabytes out of a megabyte buffer.
ACK, this is bug fix from my viewpoint, so I'm fine pushing this now,
OK, pushed. Jirka