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".

Yours,
        Yair K.

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

Reply via email to