xserver-multidpi/hw/xfree86/os-support
Alan Coopersmith be96fb2f02 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-17 23:15:34 -08:00
..
bsd Move OS-specific VT key handler code from common to os-support 2010-01-25 11:10:00 -08:00
bus Cast small-int values through intptr_t when passed as pointers 2009-10-08 13:38:44 +11:00
hurd xfree86: Hurd fix 2009-09-28 00:58:23 +02:00
linux Use glibc's in/out routines 2009-11-16 20:17:29 -08:00
misc Fix breakage on alpha caused by c7680befe5 2009-10-06 20:58:30 -04:00
sco Move OS-specific VT key handler code from common to os-support 2010-01-25 11:10:00 -08:00
shared Move OS-specific VT key handler code from common to os-support 2010-01-25 11:10:00 -08:00
solaris Solaris xf86OSRingBell() off-by-one error in filling iov[] array 2010-02-17 23:15:34 -08:00
sysv Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08: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 Move OS-specific VT key handler code from common to os-support 2010-01-25 11:10:00 -08:00
xf86OSpriv.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00