Re: vfs.c "Could not parse"
- From: Pavel Machek <pavel ucw cz>
- To: "Andrew V. Samoilov" <kai cmail ru>
- Cc: Christian Gennerat <christian gennerat vz cit alcatel fr>, "mc-devel gnome org" <mc-devel gnome org>
- Subject: Re: vfs.c "Could not parse"
- Date: Tue, 2 Oct 2001 22:32:05 +0000
Hi!
> > This FTP server outputs the file dates with Frech format:
> >
> > 150 ASCII data connection for /bin/ls (139.54.66.187,1071) (0 bytes).
> > total 15740
> > drwxr-xr-x 6 root other 512 sep 26 16:52 .
> > drwxr-xr-x 3 root other 512 sep 25 14:43 ..
> > drwxr-xr-x 13 root other 512 sep 26 15:23 apache
> > drwxrwsr-x 28 root bin 1024 f.v 8 2001 ghost
> > drwxr-xr-x 5 999 999 512 nov 27 2000 perl560
> > drwxr-xr-x 9 999 999 512 nov 3 2000 tomcat
> > -rw-r--r-- 1 root other 8042496 sep 26 16:51 TOMCAT.03.01.sol.tar
> > 226 ASCII Transfer complete.
> >
> > The table in
> > static int
> > is_month (char *str, struct tm *tim)
> > {
> > static char *month = "JanFebMarAprMayJunJulAugSepOctNovDec";
> >
> > is obviously an English table, and is good for most servers.
> > what can we do ?
>
> Some time ago we discussed this. Then extended ftpfs URL with
> locale specifiacation was proposed. But it does not cure if you
> have not required locale installed on your system.
what about checking its three letters and if so, return ok but set date
to 1970-01-01 to indicate date is wrong?
--
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]