Mailinglist Archive: opensuse-packaging (202 mails)
| < Previous | Next > |
Re: [opensuse-packaging] boinc-client: bnc#689499
- From: Philipp Thomas <pth@xxxxxxx>
- Date: Mon, 16 May 2011 14:52:24 +0200
- Message-id: <20110516125223.GR12897@paradies.suse.de>
* Cristian Rodríguez (crrodriguez@xxxxxxxxxxxx) [20110516 04:04]:
Beg your pardon, but where will it lead to an integer overflow? AFAICT it's
simply used to print directory sizes. Though I don't see any reason why you
would want to use a double for that and not to suitably sized integer.
This remark I don"t understand. Care to expand a bit?
Philipp
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
int dir_size(const char* dirpath, double& size, bool recurse) .. that's
going to fail with an integer overflow sooner or later...
Beg your pardon, but where will it lead to an integer overflow? AFAICT it's
simply used to print directory sizes. Though I don't see any reason why you
would want to use a double for that and not to suitably sized integer.
** off_t *** dir_size ... and fix the underlying code that is not going
to handle stuff correctly in its currrent incarnation...
This remark I don"t understand. Care to expand a bit?
Philipp
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |