[ITP] gamin
Corinna Vinschen
corinna-cygwin@cygwin.com
Sat Jul 15 09:38:00 GMT 2006
On Jul 14 18:03, Yaakov S (Cygwin Ports) wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Yaakov S (Cygwin Ports) wrote:
> > Reissuing ITP for gamin.
> >
> > gamin is in Gentoo stable, Ubuntu dapper, and FC5. Lapo gave this a
> > GTG, but Corinna seemed to object due to lack of handling FAT drives on NT4.
> >
> > This package will be required by gnome-vfs2-2.14.
>
> Obviously supporting NT4 is harder than we all thought. Now that 1.5.20
> is out, I want to bump all of GNOME to 2.14, and this holding me back.
> I would like to ask again that this objection be lifted, and anyone that
> really wants this fixed, PTC.
Hello? *tap, tap, tap* Is that thing on?
Guys, did anybody of you even *try* to come up with the solution?
I will definitely not lift this objection. The whole problem we
were talking about was to get the root directory from a given
Windows path. The solution is DEAD SIMPLE, so I'm really wondering
what's up with you.
Sometimes I'm feeling I'm in the wrong movie. Do you really need the
solution from somebody else?
cygwin_conv_to_full_win32_path(cyg, win);
func_ptr = GetProcAddress (LoadLibrary ("kernel32"), "GetVolumePathName);
if (!func_ptr || !(func_ptr) (win, root, MAX_PATH))
{
strcpy (root, win);
if (isalpha (root[0]) && root[1] == ':' && root[2] == '\\')
root[3] = '\0';
else if (root[0] == '\\' && root[1] == '\\' && root[2] != '\\'
&& (c = strchr (root + 3, '\\'))
c[1] = '\0';
else
return ERROR_INVALID_PATH;
}
GetVolumeInformation (root, ..., &fsname, ...);
if (!strncmp (fsname, "FAT", 3)) /* FAT, FAT32 */
return IS_FAT;
return IS_NOT_FAT;
Sigh,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
More information about the Cygwin-apps
mailing list