Re: Implementing get_default_drive_device under Solaris

2005-04-17 Thread Eric Pouech
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

Re: Implementing get_default_drive_device under Solaris

2005-04-17 Thread Robert Lunnon
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

Re: Implementing get_default_drive_device under Solaris

2005-04-17 Thread Eric Pouech
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

Implementing get_default_drive_device under Solaris

2005-04-16 Thread Robert Lunnon
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