* fish.c (open_archive_int): Set remote locale to C, otherwise
timestamps cannot be parsed in some locales.
Этот коммит содержится в:
родитель
bb989f677a
Коммит
5f771b594e
@ -1,3 +1,8 @@
|
||||
2002-07-14 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* fish.c (open_archive_int): Set remote locale to C, otherwise
|
||||
timestamps cannot be parsed in some locales.
|
||||
|
||||
2002-07-12 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* fish.c (file_store): Reduce input block size to 256 bytes,
|
||||
|
@ -267,6 +267,11 @@ open_archive_int (vfs *me, vfs_s_super *super)
|
||||
if (command (me, super, WAIT_REPLY, "#VER 0.0.0\necho '### 000'\n") != COMPLETE)
|
||||
ERRNOR (E_PROTO, -1);
|
||||
|
||||
/* Set up remote locale to C, otherwise dates cannot be recognized */
|
||||
if (command (me, super, WAIT_REPLY, "export LANG=C; export LC_ALL=C\n"
|
||||
"echo '### 200'\n") != COMPLETE)
|
||||
ERRNOR (E_PROTO, -1);
|
||||
|
||||
print_vfs_message( _("fish: Setting up current directory...") );
|
||||
SUP.home = fish_getcwd (me, super);
|
||||
print_vfs_message( _("fish: Connected, home %s."), SUP.home );
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user