[Samba] 2 GB file size limit with libsmbclient and Filesys::SmbClient perl module?!
Emmanuel Florac
eflorac at intellique.com
Fri Mar 30 05:43:52 MDT 2012
Le Fri, 30 Mar 2012 02:18:15 -0700
Devavrat Mittal <Devavrat_Mittal at symantec.com> écrivait:
> The problem was in my script. I assumed that in 32 bit perl also,
> integers could be as wide as 64 bits, but they are not, by default
> (when not compiled with 64 bit support etc etc.)
>
> "using bigint" solves the problem (you they have to use int() in a
> couple of places to get integer arithmetic with the '/' and the '%'
> operators).
>
Good that you found out :)
--
------------------------------------------------------------------------
Emmanuel Florac | Direction technique
| Intellique
| <eflorac at intellique.com>
| +33 1 78 94 84 02
------------------------------------------------------------------------
More information about the samba
mailing list