Mercurial > gftp.yaz
diff lib/protocols.c @ 281:1c7cde8a3a53
2003-10-4 Brian Masney <masneyb@gftp.org>
* lib/protocols.c - fix for CRAY directory listings. Some UNIX directory
listings with files containing spaces could be misinterpreted.
* cvsclean - purge the m4 directory, but save the largefile.m4 file.
(from Nathan Robertson <nathanr@nathanr.net>)
author | masneyb |
---|---|
date | Sat, 04 Oct 2003 14:45:38 +0000 |
parents | 5810b0f97eee |
children | 265244924868 |
line wrap: on
line diff
--- a/lib/protocols.c Fri Oct 03 20:35:55 2003 +0000 +++ b/lib/protocols.c Sat Oct 04 14:45:38 2003 +0000 @@ -1100,7 +1100,7 @@ *endpos = tmppos; } - return (mktime (&curtime)); + return (ret); } @@ -1277,7 +1277,7 @@ startpos = goto_next_token (startpos); } - if (request->server_type != GFTP_DIRTYPE_CRAY) + if (request->server_type == GFTP_DIRTYPE_CRAY) { /* See if this is a Cray directory listing. It has the following format: drwx------ 2 feiliu g913 DK common 4096 Sep 24 2001 wv */