Opened 13 years ago
Closed 11 years ago
#397 closed defect (fixed)
Implement wall-clock time facility
Reported by: | Martin Decky | Owned by: | Jakub Jermář |
---|---|---|---|
Priority: | major | Milestone: | 0.6.0 |
Component: | helenos/lib/c | Version: | mainline |
Keywords: | Cc: | ||
Blocker for: | Depends on: | #62 | |
See also: |
Description
As observed by Frantisek Princ in mailing list:
I tried to use function time() which should return POSIX time (number of seconds
from 1.1.1970), but it looks like this function returns "uptime" (seconds
from successful boot).
Is there any way how to get current time? I need time for setting timestamps
on i-nodes, but fsck on Linux has a problem with very low values which returns
time() function. Deletion time on i-node is also used for orphaned i-nodes list
and if value is lower than i-nodes count, it's interpreted as
corrupted orphans list.
Therefore a reasonable wall-clock time functionality is highly desirable.
Change History (4)
comment:1 by , 13 years ago
Milestone: | 0.5.0 → 0.5.1 |
---|
comment:2 by , 13 years ago
Blocker for: | → # |
---|---|
Depends on: | → #62 |
comment:3 by , 13 years ago
Blocker for: | # |
---|
comment:4 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This functionality was added in mainline,1666.