[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Plex86-devel] [Patch #909] fix typo in iodev/cdrom.cc for *BSD
From: |
noreply |
Subject: |
[Plex86-devel] [Patch #909] fix typo in iodev/cdrom.cc for *BSD |
Date: |
Sun, 25 May 2003 21:51:46 -0000 |
Patch #909 has been updated.
Project:
Category: None
Status: Closed
Summary: fix typo in iodev/cdrom.cc for *BSD
Follow-Ups:
Date: Fri 01/03/03 at 07:21
By: mithy73
Comment:
CDIOREADTOCENTRYS ioctl broken for *BSD
In bochs/iodev/cdrom.cc, inside the '#ifdef (various BSD)' blocks:
The ioctl CDIOREADTOCENTRYS takes a pointer to "struct
ioc_read_toc_entry", which corresponds to the variable
"t" in the calling code. However, the call to the ioctl
passes "tocentry", which is a pointer to a "struct
cd_toc_entry". This causes the ioctl to break reading
any CD media under *BSD with the error "invalid argument".
The attached diff is against the November source for plex86 and fixes the
problem described in the method read_toc().
I've also modified the comment in the FreeBSD block of the capacity() method so
people know who to blame for it ;)
-------------------------------------------------------
-------------------------------------------------------
For more info, visit:
http://savannah.nongnu.org/patch/?func=detailpatch&patch_id=909&group_id=869
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Plex86-devel] [Patch #909] fix typo in iodev/cdrom.cc for *BSD,
noreply <=