Mail Archives: djgpp/1998/09/20/02:31:11
Message-ID: | <36049D63.D9365D09@montana.com>
|
From: | bowman <bowman AT montana DOT com>
|
Reply-To: | bowman AT montana DOT com
|
MIME-Version: | 1.0
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | getmntent problem
|
Lines: | 10
|
Date: | Sun, 20 Sep 1998 00:14:59 -0600
|
NNTP-Posting-Host: | 208.4.227.162
|
NNTP-Posting-Date: | Sun, 20 Sep 1998 01:16:39 CDT
|
Organization: | Slurp News Feeds
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I am having a problem with getmntent, specifically when running in a DOS
box under Win95. If there isn't a diskette in the A:/ drive, the flag to
skip the B: drive is not set. When the 'biosdisk' call is made on the
non-existent B: drive, it will hang in '_dpmi_int'. While 'getmntent'
does make several calls to biosdisk before moving on, I don't see a loop
in '_dpmi_int'. Could this possibly be something in the Win95 dpmi?
I can't duplicate the situation on my DOS box, since it does have a 5
1/4 B: drive. For the time being, I'm just linking a version of mntent.c
that unconditionally skips drive 2, but this isn't very elegant.
- Raw text -