[bug #15524] 2GB file size limit in fish



Follow-up Comment #2, bug #15524 (project mc):

This patch was over simplistic and should have been verified better before
checking in. There were two problems with it:

a) it used the 'L' length modifier which is supposed to be used with floating
point data types as opposed to integers. Yes, glibc allows it but it is noted
that such use should be considered a bug.

b) it didn't care about the actual size of off_t

I've checked in a patch which fixes both problems:

http://cvs.sv.gnu.org/viewcvs/mc/mc/vfs/fish.c?sortby=date&r2=1.117&r1=1.116&diff_format=u


    _______________________________________________________

Reply to this item at:

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

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




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