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 complement and all that). Haiku defines ENOMEM like this: 
> > http://dev.haiku-os.org/browser/haiku/trunk/headers/os/support/Errors.h 
> > (hattip: François Revol).
> >    2. Some OSs don't declare EFAULT, EIDRM. 
> > kernel/framework/mixer/oss_mixer_core.c had some code to redefine these if 
> > neccesary - this should be moved to "oss_errno.h".
> >   
> Does the current hg version work better?

I think so.

Yours,
        Yair K.

_______________________________________________
oss-devel mailing list
oss-devel@mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel

Reply via email to