mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
* src/filegui.c (rd_widgets) [_LARGE_FILES]: Use format string
capable of supporting 64 bit file sizes. * vfs/fish.c (fish_linear_start) [_LARGE_FILES]: Use format string capable of supporting 64 bit file sizes.
This commit is contained in:
parent
e6980eb09a
commit
e2424ae139
@ -1,3 +1,8 @@
|
||||
2007-08-23 Pavel Tsekov <ptsekov@gmx.net>
|
||||
|
||||
* filegui.c (rd_widgets) [_LARGE_FILES]: Use format string
|
||||
capable of supporting 64 bit file sizes.
|
||||
|
||||
2007-08-23 Pavel Tsekov <ptsekov@gmx.net>
|
||||
|
||||
* mountlist.c (fstype_to_string): Define only when
|
||||
|
@ -524,7 +524,7 @@ static struct {
|
||||
N_("&No"), BY - 2, 37, REPLACE_NO}, {
|
||||
N_("&Yes"), BY - 2, 28, REPLACE_YES}, {
|
||||
N_("Overwrite this target?"), BY - 2, 4, 0}, {
|
||||
#if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64
|
||||
#if (defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64) || (defined _LARGE_FILES && _LARGE_FILES)
|
||||
N_("Target date: %s, size %llu"), 6, 4, 0}, {
|
||||
N_("Source date: %s, size %llu"), 5, 4, 0}
|
||||
#else
|
||||
|
@ -1,3 +1,8 @@
|
||||
2007-08-23 Pavel Tsekov <ptsekov@gmx.net>
|
||||
|
||||
* fish.c (fish_linear_start) [_LARGE_FILES]: Use format string
|
||||
capable of supporting 64 bit file sizes.
|
||||
|
||||
2007-05-07 Pavel Tsekov <ptsekov@gmx.net>
|
||||
|
||||
* fish.c: Remove all references to HAVE_HACKED_SSH.
|
||||
|
@ -632,7 +632,7 @@ fish_linear_start (struct vfs_class *me, struct vfs_s_fh *fh, off_t offset)
|
||||
if (offset != PRELIM) ERRNOR (E_REMOTE, 0);
|
||||
fh->linear = LS_LINEAR_OPEN;
|
||||
fh->u.fish.got = 0;
|
||||
#if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64
|
||||
#if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64 || (defined _LARGE_FILES && _LARGE_FILES)
|
||||
if (sscanf( reply_str, "%llu", &fh->u.fish.total )!=1)
|
||||
#else
|
||||
if (sscanf( reply_str, "%u", &fh->u.fish.total )!=1)
|
||||
|
Loading…
Reference in New Issue
Block a user