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

Re: memstat-0.9 hurd patch (PATH_MAX)



Hi!

2012/1/23 Jérémie Koenig <jk@jk.fr.eu.org>
log(MAX_INT)
 = log(2 ^ 32)
 = 32 * log(2)
 = 4 * 8 * log(2)
 = sizeof(int) * 2.40823997
 < sizeof(int) * 3
Took me several hours to recover from the shock... ^_^'
 
I hope I've fixed all the bugs in my patch, but I have one last small question: Do I really need to check if BUFSIZ is defined?

Cheers,
Tanguy


Attachment: memstat-0.9.hurd.patch
Description: Binary data


Reply to: