Ulrich Spörlein
3bbc4438c9
Make fsck and fsck_msdosfs WARNS=6 clean
...
- sprinkle const
- add volatile qualifier to avoid vfork clobbering
Inspired by: NetBSD
PR: bin/139802
Reviewed by: ed
2012-10-21 12:01:19 +00:00
Konstantin Belousov
6069db97f6
Bug fixes from NetBSD
...
- fix sign-compare issues.
- ANSIfy a couple of functions.
- Remove more duplicate #includes.
- Memory leak found by Coverity on NetBSD.
Submitted by: Pedro F. Giffuni <giffunip tutopia com>
Reviewed by: bde
MFC after: 2 weeks
2010-02-14 12:30:30 +00:00
Konstantin Belousov
a1882ff2a2
License changes from NetBSD.
...
Move to 2 clause license, approved by Wolfgang Solfrank.
Submitted by: Pedro F. Giffuni <giffunip tutopia com>
MFC after: 2 weeks
2010-02-14 12:28:43 +00:00
Stefan Farfeleder
4eb55c7adc
Prefer the __printflike() macro to GCC's __attribute__ stuff.
2005-03-09 10:10:51 +00:00
Bruce Evans
ae62d94069
Fixed operation of -f to match its documentation and fsck_ffs. It
...
has now has no effect except in combination with -p, and plain fsck
checks all file systems instead of skipping clean ones for msdosfs
only.
Renamed the force flag to skipclean and inverted its logic as in
fsck_ffs.
2004-02-05 15:47:46 +00:00
Bruce Evans
30b48d7f6d
Fixed style bugs in previous commit (unsorting of declarations and poor
...
wording in a comment).
2003-12-27 06:44:32 +00:00
Tom Rhodes
cede1f563c
Make msdosfs support the dirty flag in FAT16 and FAT32.
...
Enable lockf support.
PR: 55861
Submitted by: Jun Su <junsu@m-net.arbornet.org> (original version)
Reviewed by: make universe
2003-12-26 17:19:19 +00:00
Tom Rhodes
565e3e6567
In check.c:
...
Avoid shadowing declarations.
Avoid compairing signed and unsigned types.
2003-10-30 09:08:09 +00:00
Tom Rhodes
ce66ddb763
s/filesystem/file system/g as discussed on -developers
2002-08-21 18:11:48 +00:00
Tom Rhodes
3468b317cb
more file system > filesystem
2002-05-16 04:10:46 +00:00
Warner Losh
b70cd7ee68
o __P removed
...
o ansi function prototypes
o unifdef -D__STDC__
o __dead2 on usage prototype
o remove now-bogus main prototype
2002-03-20 22:57:10 +00:00
David E. O'Brien
0121b42aca
Add fsck_msdosfs.
...
Obtained from: NetBSD
2001-07-09 10:35:18 +00:00