1 Aug 2008 14:20
Commit to generate oss_errno.h is faulty
Yair K. <cesium2 <at> gmail.com>
2008-08-01 12:20:16 GMT
2008-08-01 12:20:16 GMT
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.
RSS Feed