[PATCH 1/2] mcicda: Opens d, d:, d:\, d:\foo since w2k. Only d: is portable.

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Wed Aug 25 06:44:40 CDT 2010


These 2 patches fix a couple of boundary conditions related to MCI open.

The TRACE output of the tests shows what each OS supports, e.g.
mcicda.c:625: ok with d:\X
mcicda.c:625: ok with d:\
mcicda.c:625: ok with d:
mcicda.c:625: ok with d
mcicda.c:625: ok with d:
  /* Only the first letter counts since w2k
   * Win9x-NT accept only d: and w98SE accepts d:\foobar as well.
This is consistent with
   * Play d:\Track03.cda plays from the first track, not #3!

I outcommented the test about OPEN_ELEMENT_ID because nobody knows
what it would cause with foreign CD-ROM drivers.  Suffice it to
have been tested once with native's default drivers in testbot job 4692
in order to know a good return code.

 Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mcicda-Opens-d-d-d-d-foo-since-w2k.-Only-d.patch
Type: application/octet-stream
Size: 5407 bytes
Desc: 0001-mcicda-Opens-d-d-d-d-foo-since-w2k.-Only-d.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100825/c1086c80/attachment.obj>

More information about the wine-patches mailing list