git.ucc.asn.au
/
tpg
/
acess2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66d1b7b
)
Added strncmp
author
John Hodge
<
[email protected]
>
Tue, 17 Aug 2010 01:38:13 +0000
(09:38 +0800)
committer
John Hodge
<
[email protected]
>
Tue, 17 Aug 2010 01:38:13 +0000
(09:38 +0800)
Kernel/lib.c
patch
|
blob
|
history
diff --git
a/Kernel/lib.c
b/Kernel/lib.c
index
88ab367
..
b512022
100644
(file)
--- a/
Kernel/lib.c
+++ b/
Kernel/lib.c
@@
-665,7
+665,7
@@
Sint64 timestamp(int sec, int mins, int hrs, int day, int month, int year)
) && month > 1) // Leap year and after feb
stamp += 3600*24;
- stamp += ((365*4+1) * ((year-2000)&~3)) * 3600*24; // Fo
o
ur Year Segments
+ stamp += ((365*4+1) * ((year-2000)&~3)) * 3600*24; // Four Year Segments
stamp += ((year-2000)&3) * 365*3600*24; // Inside four year segment
stamp += UNIX_TO_2K;
UCC
git Repository :: git.ucc.asn.au