To: Eli Zaretskii cc: djgpp AT delorie DOT com, dan AT verity DOT ICS DOT UCI DOT EDU Subject: Re: novice errors? dpmi, info, groff, df In-reply-to: Your message of "Thu, 20 Mar 1997 18:10:42 +0300." Date: Thu, 20 Mar 1997 18:17:20 -0800 From: Dan Hirschberg Message-ID: <9703201817.aa06093@paris.ics.uci.edu> > > I did not see getmnent in djlsr201.zip -- I must have my eyes checked. > > Please send me the source and suggest an appropriate calling sequence. > > Your eyes are okay, the source is on src/libc/compat/mntent/mntent.c > (it also includes a few auxiliary functions). There's a test program > at the end of the file; compile it with -DTEST and run under debugger > to see what goes wrong inside `getmntent'. Thanks. The problem seems to occur when encountering a JOINed drive and cds_paths has garbage in it, which is copied into drive_string. Subsequently, when "look for the volume label" occurs, an "*.*" is appended to the garbage and then later that "*.*" is stripped off. I do not really understand the goings on. dan