Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39532
b: refs/heads/master
c: 70903ca
h: refs/heads/master
v: v3
  • Loading branch information
Steve French committed Oct 11, 2006
1 parent c3e7658 commit e3f9232
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 438dd926260f11ff01fc3441ac6dd4c412d20ea4
refs/heads/master: 70903ca004fef17b0f6483714baefdb2f6ecceb0
3 changes: 2 additions & 1 deletion trunk/fs/cifs/netmisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,8 @@ struct timespec cnvrtDosUnixTm(__u16 date, __u16 time)
days = days - 1; /* do not count leap year for the year 2100 */

/* adjust for leap year where we are still before leap day */
days -= ((year & 0x03) == 0) && (month < 2 ? 1 : 0);
if(year != 120)
days -= ((year & 0x03) == 0) && (month < 2 ? 1 : 0);
sec += 24 * 60 * 60 * days;

ts.tv_sec = sec;
Expand Down

0 comments on commit e3f9232

Please sign in to comment.