summaryrefslogtreecommitdiff
path: root/sbin/fsck_msdos
AgeCommit message (Collapse)Author
2008-02-07Check reads and lseek correctly for unsigned return; ok krw@Ian Darwin
2007-12-30sort flags in both synopsis and usageIgor Sobrado
ok jmc@
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2006-11-11Fix memory leak, from Charles Longeau, many okaysPedro Martelletto
2006-07-19Only compare important parts of the boot block with the backup copy,Tom Cosgrove
since some vendor utilities will change one without changing the other. Raised most recently by Nick Guenther; fix is similar to what is in NetBSD, but includes an idea from Steven E. Kalbach <kalbachs (at) kalbachsoft (dot) com>, posted to bugs@ over 5 years ago. ok tedu@, pedro@
2006-05-27newline fix + s/perror/xperror since we areThordur I. Bjornsson
using a home rolled version. ok pedro@
2006-04-02malloc(x * y) -> calloc(x, y) from adobriyan AT gmail.com, with tweaksDamien Miller
suggested by kjell@; ok otto@ pat@ millert@ jaredy@
2006-03-30when asking y or n, accept "F" which forces yes from the on. i haveTheo de Raadt
wished for this for 10+ year, but always forgotten to make the change after cleaning up a nasty file system; ok pedro millert
2006-03-20NetBSD Coverity CID 2302: Free fat if fatal error to avoid leak.David Hill
ok otto@ deraadt@
2005-02-03sync usage outputJared Yanovich
2005-02-03- simplify, normalize, and sync usage/synopsis formsJared Yanovich
- filesystem -> file system, for consistency - indent sections where applicable - mdoc, punctuation, grammar, etc. fixes - document SIGINFO to fsck_ffs - unify description of -n among documents - sprinkle xrefs all around - move parts relevant to fsck.8 from fsck_ffs.8 parts from NetBSD ok jmc
2004-07-17some ansi; khalek@linuxgamers.netTheo de Raadt
2003-07-29spacesTheo de Raadt
2003-03-30snprintfTheo de Raadt
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2003-03-11spellingDavid Krause
ok millert@
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-14Don't divide by zero.Aaron Campbell
2001-09-19occured->occurredMike Pechkin
idea from deraadt@ via NetBSD millert@ ok p.s. Next commit will fix a typo in the sys/
2001-09-05make sure that va_start() has matching va_end()Theo de Raadt
2001-07-07major -Wall cleanup, almost completeTheo de Raadt
2001-07-03Put missing \n's in som error messages; consolidate redundant "if" (OK theo@).Ian Darwin
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-06-28prevent endless looping on looping fat chainsMichael Shalayeff
2000-03-18Remove hard sentence breaks, and some other cleanup along the way.Aaron Campbell
2000-01-22remove extra externs not needed because of unistd.h (rest of tree will be ↵Theo de Raadt
done later.. contact me if you want to help)
1999-09-06Corrected overflow logic in fullpath.Marc Espie
<subliminal FreeBSD/NetBSD>Oh yeah, baby, you want that one</subliminal :->
1999-09-06Leech newer fat checking code from NetBSD.Marc Espie
1999-08-30Fix obvious logic error (from netbsd)Marc Espie
1999-08-30Cater to Win95 brokenness (from netbsd)Marc Espie
1999-03-25Checking -> Check for consistencyAaron Campbell
1998-12-15always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.netAaron Campbell
1998-11-28kill redundant .Nm macro arguments; other misc fixesAaron Campbell
1998-09-17sbin/ man page fixesAaron Campbell
1998-01-11FAT32 support from NetBSD by Wolfgang Solfrank.Niels Provos
1997-09-21$OpenBSD$Theo de Raadt
1997-09-11from ws@netbsd; Fix a few bugs, especially when repairing disks:Theo de Raadt
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)
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-03-02Update based on latest NetBSD version.Todd C. Miller
Now uses functions from util.[ch] instead of local ones. Also some anal KNF from me...
1997-02-28Add -f to getopt() -- that'll teach me to test first.Todd C. Miller
1997-02-28From NetBSD (ws)Todd C. Miller
Fix handling of clusters marked bad; Noted by Rafal Boni
1997-02-28Silently ignore -f so that "fsck -f" works if you have an msdosTodd C. Miller
partition listed in fstab.
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-10-08Attempt at cleanup.michaels
1996-09-18"prs are sometimes wrong" (theo)Michael Shalayeff
fix wrong fix. "kak v zadnitsu kol, russkiy rock-n-roll" (4epHeuKuu)
1996-09-17realpath fix, do not dump; pr#2765, david@mono.orgTheo de Raadt
1996-06-23update rcsidTheo de Raadt