xserver/hw/xfree86/os-support
Alan Coopersmith 8f743f17ed Solaris xf86OSRingBell() off-by-one error in filling iov[] array
When generating sound buffers for /dev/audio bells, insert waveform
for beep *or* silence, but not both, so we don't write one entry past
the end of the iov buffer when the final bit of soundwave ends up in
the final entry allocated in the iov array.

Fixes OpenSolaris bug 6894890:
 http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6894890

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2010-02-24 18:51:59 -08:00
..
bsd Fix build on Alpha 2009-08-12 14:45:13 -04:00
bus xfree86: remove _more_ RAC junk 2009-08-31 20:04:51 +03:00
hurd xfree86: Hurd fix 2009-09-28 09:49:21 +10:00
linux [alpha] assume we have __NR_pciconfig_iobase 2009-10-15 13:54:51 +10:00
misc Fix breakage on alpha caused by c7680befe5 2009-10-15 13:54:46 +10:00
sco xfree86: Remove superfluous ifdef DEBUG checks. 2009-05-16 12:01:23 +10:00
shared Revert "alpha: kill xf86SlowBCopyToBus and xf86SlowBCopyFromBus" 2009-09-28 12:27:35 +10:00
solaris Solaris xf86OSRingBell() off-by-one error in filling iov[] array 2010-02-24 18:51:59 -08:00
sysv Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
int10Defines.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
Makefile.am Remove some unused assembly code and assyntax.h 2008-08-18 16:46:36 -04:00
xf86_OSlib.h Add new VT support for OpenSolaris & future Solaris releases 2009-08-13 21:56:06 -07:00
xf86_OSproc.h Remove unused Delay.c 2009-08-31 16:12:29 -04:00
xf86OSpriv.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00