cookie 32-bit time wrapping and possible gcc problem
March 8, 2010
7:33 p.m.
Tried running my test/cookies program and got two failures from the 32-bit timestamp wrapping tests. Turned out that I had -O2 set. -O succeeds, and no optimization succeeds. If I insert a MSG("exptime+local_shift %ld\n", exptime + local_shift); after setting local_shift in Cookies_expires_attr(), it works even with -O2. This is with gcc-4.3.3. I'm going to get 4.4.3 and see what happens... PS I don't particularly expect anyone to rush off and try it for themselves, but if you do, it is good to run 'dpidc stop' between runs.
6111
Age (days ago)
6111
Last active (days ago)
4 comments
2 participants
participants (2)
-
corvid@lavabit.com -
Johannes.Hofmann@gmx.de