|
|
发表于 2007-7-29 23:06:15
|
显示全部楼层
内核的问题。
有好事者编了这么个小程序也出现这样的问题:
#include <stdio.h>
#include <time.h>
int main (int argc, char *argv[])
{
time_t now = time(NULL);
puts(ctime(&now));
return 0;
}
Output is always:
$ ./ctime
Sat Jul 28 00:44:40 2007
$ date
Fri Jul 27 23:29:39 CEST 2007
The test program always displays the same time.
fedoraproject上说最新的kernel 2.6.22.1-41.fc7 解决了这个问题,我没有试过。
[color="Red"]http://koji.fedoraproject.org/koji/buildinfo?buildID=12174 |
|