• Issue listing very big files

    From kishpa@beholderbbs.org@2:222/2 to bbbs-english-list on Mon Jan 21 14:49:24 2019
    To: bbbs-english-list@bbbs.net
    From: Enric Lleal i Serra <kishpa@beholderbbs.org>


    Hello buddies,


    I've detected a curious behavior in the listing of a concrete file in BBBS: a very big file is listed with an erroneous size in BBBS while the
    Operating System is listing it with the correct size.

    This is the file, as is listed in the web interface:

    10010004.zip 180510 293M 0 LES VAMPIRES


    An this is the listing from OS:

    -rw-r--r-- 1 bbbs bbbs 8,3G mai 10 2018 10010004.zip


    or without the human readable flag:

    -rw-r--r-- 1 bbbs bbbs 8897599796 mai 10 2018 10010004.zip


    I've tried to reprocess the file (btick) a couple of times, but the result is always the same. Somebody with the same behavior? Maybe Kim could help with that?


    Thank you in advance, as usual. :-)


    A reveure!!
    Enric

    --- BBBS/Li6 v4.10 Toy-4
    * Origin: * BCG-Box, On The Air Since 11th February 1987! * (2:222/2)
  • From Kim Heino@2:222/2 to kishpa@beholderbbs.org on Sun Feb 10 17:19:44 2019
    a very big file is listed with an erroneous size in BBBS while the
    Operating System is listing it with the correct size.
    10010004.zip 180510 293M 0 LES VAMPIRES
    -rw-r--r-- 1 bbbs bbbs 8897599796 mai 10 2018 10010004.zip

    BBBS uses 32 bit integer for file size. It wraps to zero on 4294967296.

    8897599796 - 4294967296 - 4294967296 = 307665204 = 293MB.

    Sorry, this is not yet fixed on today's release.

    --- BBBS/Li6 v4.10 Toy-4
    * Origin: * BCG-Box, On The Air Since 11th February 1987! * (2:222/2)