[bug #20030] size of file not shown in "copy file" -> "file exists" dialog



Follow-up Comment #3, bug #20030 (project mc):

Hello,
I have found a (hopefully working) solution to this problem.
On AIX we need a change to the rd_widgets structure in filegui.c.

#if (defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64) || defined(_AIX)
    N_("Target date: %s, size %llu"), 6, 4, 0}, {
    N_("Source date: %s, size %llu"), 5, 4, 0}
#else
    N_("Target date: %s, size %u"), 6, 4, 0}, {
    N_("Source date: %s, size %u"), 5, 4, 0}
#endif

It looks as if AIX needs %llu  and not %u. 
Then the off_t in init_replace() can stay.


Bye
  Rainer

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?20030>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]