Re: [oss-devel] Commit to generate oss_errno.h is faulty

2008-08-01 Thread François Revol
> >1. If an error is defined as LONG_MIN, than abs(error) doesn't > > work > > (two's complement and all that). Haiku defines ENOMEM like this: > > > Does the current hg version work better? Seems fine to me. François. ___ oss-devel mailing l

Re: [oss-devel] Commit to generate oss_errno.h is faulty

2008-08-01 Thread Yair K.
On Friday 01 August 2008 22:52:40 Hannu Savolainen wrote: > Yair K. wrote: > > Hi, > > > > Commit http://mercurial.opensound.com/?rev/500e9ed22afc to generate > > oss_errno.h dynamically has two problems: > > > >1. If an error is defined as LONG_MIN, than abs(error) doesn't work > > (two's

Re: [oss-devel] Commit to generate oss_errno.h is faulty

2008-08-01 Thread Hannu Savolainen
Yair K. wrote: > Hi, > > Commit http://mercurial.opensound.com/?rev/500e9ed22afc to generate > oss_errno.h dynamically has two problems: > >1. If an error is defined as LONG_MIN, than abs(error) doesn't work (two's > complement and all that). Haiku defines ENOMEM like this: > http://dev.ha

[oss-devel] Commit to generate oss_errno.h is faulty

2008-08-01 Thread Yair K.
Hi, Commit http://mercurial.opensound.com/?rev/500e9ed22afc to generate oss_errno.h dynamically has two problems: 1. If an error is defined as LONG_MIN, than abs(error) doesn't work (two's complement and all that). Haiku defines ENOMEM like this: http://dev.haiku-os.org/browser/haiku/trun