summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_msdosfs/dir.c
Commit message (Collapse)AuthorAgeFilesLines
* Use macro MAX() from sys/param.h.araujo2016-04-221-1/+1
| | | | MFC after: 2 weeks.
* fsck_msdosfs: use NULL instead of zero for pointers.pfg2016-04-191-1/+1
|
* fsck_msdosfs(8): Optimimize memsetspfg2016-04-061-4/+6
| | | | | Obtained from: NetBSD (bin/50908) MFC after: 2 weeks
* msdosfs: Assorted fixes from other BSDs.pfg2014-07-141-3/+4
| | | | | | | | | | | | | | When truncating cluster chains fix the length of the cluster head. http://marc.info/?t=140304310700005&r=1&w=2 Avoid infinite loops in cluster chain linked lists. http://marc.info/?l=openbsd-tech&m=140275150804337&w=2 Avoid off-by-one on FAT12 filesystems. http://marc.info/?l=openbsd-tech&m=140234174104724&w=2 Obtained from: NetBSD (from OpenBSD) MFC after: 1 week
* Minor (mostly cosmetic) cleanupspfg2014-07-141-1/+1
| | | | | | | | Several whitespace fixes convert *rootDir from external to static. Obtained from: NetBSD, OpenBSD (partial) MFC after: 3 days
* sbin/fsck: s/perror/perr/ to avoid shadowinguqs2012-10-211-16/+17
| | | | | | | | | - rename some other vars too - merge NetBSD license changes Obtained from: NetBSD PR: bin/139802 Reviewed by: ed
* Add missing static keywords for global variables to tools in sbin/.ed2011-11-041-1/+1
| | | | | | These tools declare global variables without using the static keyword, even though their use is limited to a single C-file, or without placing an extern declaration of them in the proper header file.
* Fix some style(9), although there's a lot more issues here.brian2010-06-201-5/+10
| | | | | | | | | Fix some casting errors. PR: 142384 Submitted by: giffunip at tutopia dot com Obtained from: NetBSD MFC after: 3 weeks
* Rename fields to match better the msdosfs headers. This work is stillkib2010-02-141-18/+18
| | | | | | | | | incomplete as some info doesn't really belong to the structs where it is defined. Submitted by: Pedro F. Giffuni <giffunip tutopia com> Reviewed by: bde MFC after: 2 weeks
* Bug fixes from NetBSDkib2010-02-141-10/+40
| | | | | | | | | | | - 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
* License changes from NetBSD.kib2010-02-141-7/+0
| | | | | | | Move to 2 clause license, approved by Wolfgang Solfrank. Submitted by: Pedro F. Giffuni <giffunip tutopia com> MFC after: 2 weeks
* o __P removedimp2002-03-201-68/+33
| | | | | | | o ansi function prototypes o unifdef -D__STDC__ o __dead2 on usage prototype o remove now-bogus main prototype
* Add fsck_msdosfs.obrien2001-07-091-0/+1017
Obtained from: NetBSD
OpenPOWER on IntegriCloud