if (stat( entry->mnt_mountp, &st ) == -1) continue;
if (st.st_dev != dev || st.st_ino != ino) continue;
should be
if (stat( entry->mnt_mountp, &st ) == -1) continue;
if (st.st_dev != dev) continue;
SInce currently the code is looking for the dev AND inode of the targ
On Sun, 17 Apr 2005 06:48 pm, Eric Pouech wrote:
> Robert Lunnon a écrit :
> > I am trying to Implement get_default_drive_device for Solaris but its
> > unclear to me what this is supposed to do. It get passed the links in
> > ~/.wine/dosdevices then tries to determine a mount point for them.
> > R
Robert Lunnon a écrit :
I am trying to Implement get_default_drive_device for Solaris but its unclear
to me what this is supposed to do. It get passed the links in
~/.wine/dosdevices then tries to determine a mount point for them. Reading
the Linux code the function only seems to return a mount
I am trying to Implement get_default_drive_device for Solaris but its unclear
to me what this is supposed to do. It get passed the links in
~/.wine/dosdevices then tries to determine a mount point for them. Reading
the Linux code the function only seems to return a mount point if the
dosdevices