aboutsummaryrefslogtreecommitdiff
path: root/sys/msdosfs/msdosfs_conv.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-5/+5
| | | | Notes: svn path=/head/; revision=8876
* Fix timestamps when using Wall CMOS clock,Andrey A. Chernov1995-03-291-25/+21
| | | | | | | | optimize dos2unixtime() Submitted by: pritc003@maroon.tc.umn.edu Notes: svn path=/head/; revision=7465
* Fix numerous timestamp bugs.Bruce Evans1994-12-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DE_UPDATE was confused with DE_MODIFIED in some places (they do have confusing names). Handle them exactly the same as IN_UPDATE and IN_MODIFIED. This fixes chmod() and chown() clobbering the mtime and other bugs. DE_MODIFIED was set but not used. Parenthesize macro args. DE_TIMES() now takes a timeval arg instead of a timespec arg. It was stupid to use a macro for speed and do unused conversions to prepare for the macro. Restore the left shifting of the DOS seconds count by 1. It got lost among the shifts for the bitfields, so DOS seconds counts appeared to range from 0 to 29 seconds (step 1) instead of 0 to 58 seconds (step 2). Actually use the passed-in mtime in deupdat() as documented so that utimes() works. Change `extern __inline's to `static inline's so that msdosfs_fat.o can be linked when it is compiled without -O. Remove faking of directory mtimes to always be the current time. It's more surprising for directory mtimes to change when you read the directories than for them not to change when you write the directories. This should be controlled by a mount-time option if at all. Notes: svn path=/head/; revision=5083
* Added declarations, fixed bugs due to missing decls. At least one of themPoul-Henning Kamp1994-09-271-3/+5
| | | | | | | could panic a system. (I know, it paniced mine!). Notes: svn path=/head/; revision=3152
* Added msdosfs.Doug Rabson1994-09-191-0/+358
Obtained from: NetBSD Notes: svn path=/head/; revision=2893