Home | History | Annotate | Download | only in fsck_msdos
History log of /src/sbin/fsck_msdos/dir.c
RevisionDateAuthorComments
 1.29  28-Apr-2017  christos Prevent SEGV on corrupted msdos directories (Veo Zhang)
 1.28  07-Mar-2016  christos branches: 1.28.6;
PR/50908: David Binderman: Optimize memset's
 1.27  02-Jan-2015  mlelstv Avoid mixing cluster numbers and sector numbers. Makes code more readable.
 1.26  07-Jul-2014  christos From: http://marc.info/?t=140304310700005&r=1&w=2
When truncating cluster chains fix the length of the cluster head.
 1.25  20-Feb-2011  christos branches: 1.25.10; 1.25.20;
undo part of the previous patch, which I suspect is bad.
 1.24  07-Feb-2011  christos PR/44529: Martin Danielsson: fsck_msdos crashes when verifying corrupt file
system. Avoid using the long name index when it is 0. Refactor the code to
avoid duplication.
 1.23  11-Apr-2009  lukem branches: 1.23.2;
fix sign-compare issues
 1.22  13-Jun-2008  martin branches: 1.22.4;
Move to 2 clause license, approved by Wolfgang Solfrank.
 1.21  17-Jan-2007  hubertf branches: 1.21.12; 1.21.14; 1.21.16;
Remove more duplicate #includes,
from Slava Semushin <slava.semushin@gmail.com>
 1.20  05-Jun-2006  christos - don't leak memory on allocation failure.
- s/perror/perr and print how much we were trying to allocate.
 1.19  10-Apr-2006  dbj the root directory of non fat32 filesystems is stored in a special area.
a couple of corner cases can cause it to fail to write out that area
after it performs repairs.
 1.18  20-Mar-2006  christos Coverity CID 1078: Add assertion check for NULL pointer.
 1.17  19-Jan-2005  xtraeme Kill __P(), ANSIfy, remove main() prototype.
 1.16  13-Jul-2003  itojun use bounded string op
 1.15  25-Apr-2000  jdolecek Recognize "dirty" signature on FAT as set by Windows 95 OSR2+ and don't report
it just as "odd byte sequence". Handle the dirty flag similar way
it's treated on e.g. FFS - e.g. clear it separately from rest of FAT.
Changing of FAT is now postponed until after all checks are done,
check.c:checkfilesys() was cleaned considerably and several messages
has been adjusted to be more accurate.

If file system was modified and no error has occured, just return 0
instead of 4 - there is no need for forcing a reboot in this case.

This addresses bin/5638 by Christos Zoulas.
 1.14  25-Aug-1998  ross from Erik Bertelsen <erik@mediator.uni-c.dk>
{ put } { in } { lots } { of } { these } { to } { shut } { up } { egcs }
 1.13  28-Jul-1998  mycroft __AUDIT__ cleanup.
 1.12  22-Jan-1998  ws Fix some bugs & annoyances when reparing defect disks
 1.11  17-Oct-1997  ws Add support for FAT32
Support dropping lost cluster chains (on request by Christoph Badura)
While being here, fix some minor bugs, mostly with format strings
 1.10  14-Sep-1997  lukem * cleanup for WARNS=1
* getopt returns -1 not EOF
* cleanup manpage
 1.9  08-Sep-1997  ws Fix a few bugs, especially when repairing disks:
Print correct pathname in error messages
Fix unterminating loop when trying to correct a bad fat
Require fat media byte to be the same as the one in the bpb
Fix unterminating loop when looking for free directory slot in LOST.DIR
(bad disk image provided by Christoph Badura)
 1.8  27-Sep-1996  christos util -> fsutil
 1.7  24-Sep-1996  ws Fix delete() call in dir.c differently than Christos' way.
Require at least one filesystem as program argument.
Update man page to reflect the latter.
 1.6  23-Sep-1996  christos - use error printing code from fsck(8)
- remove fstab walking code
- add missing prototypes
- add missing argument in dir.c near "Truncate", where delete() was being
called with fewer args. I think the missing argument should be a zero,
but Wolfgang should check...
 1.5  17-Sep-1996  ws Fix null pointer derefernce
Fixes PR#2765. Thanks David.
 1.4  11-Sep-1996  christos Fix gcc warnings.
 1.3  28-May-1996  ws Don't allocate data structures for non-directories
Free any data structures when finishing a check (at the latest)
 1.2  25-May-1996  ws Check return values of malloc
Generate full pathnames only on request
Minor cleanup, RCS Ids in .h files
 1.1  14-May-1996  ws branches: 1.1.4;
Add fsck utility for msdosfs
 1.1.4.1  31-May-1996  jtc pulled up from trunk by request of ws
 1.21.16.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.21.14.1  17-Jun-2008  yamt sync with head.
 1.21.12.1  29-Jun-2008  mjf Sync with HEAD.
 1.22.4.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.23.2.2  05-Mar-2011  bouyer Sync with HEAD
 1.23.2.1  08-Feb-2011  bouyer Sync with HEAD
 1.25.20.1  10-Aug-2014  tls Rebase.
 1.25.10.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.28.6.1  02-May-2017  pgoyette Sync with HEAD - tag prg-localcount2-base1

RSS XML Feed