aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mkfs_minix.c
AgeCommit message (Collapse)Author
2006-11-29mkfs.minix: more cleanups, -~300 bytes of code.Denis Vlasenko
Added debugging support.
2006-11-29cut 0.5k off mkfs.minixDenis Vlasenko
assorted strtoul fixes (that's what brought me into minix)...
2006-11-18rodata cleanup. "unable to" == "cannot". -300 bytesDenis Vlasenko
2006-09-11- convert a few xopen3(,,0) into xopen(,). Also peruse the fact that xopen ↵Bernhard Reutner-Fischer
defaults to 0777 on it's own, so we don't need to xopen3(,,0777). Saves a few bytes: $ size busybox.old busybox text data bss dec hex filename 839676 8780 243592 1092048 10a9d0 busybox.old 839660 8780 243592 1092032 10a9c0 busybox $ make CC=gcc-4.2-HEAD bloatcheck function old new delta static.vconfig_main 281 279 -2 static.rx_main 1076 1074 -2 static.mt_main 294 292 -2 static.gzip_main 753 751 -2 static.mkfs_minix_main 4034 4030 -4 static.unzip_main 1771 1766 -5 static.crontab_main 1513 1507 -6 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/7 up/down: 0/-23) Total: -23 bytes
2006-08-29Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damageRob Landley
(the e2fsprogs directory is too twisty and evil to easily fix, but I plan to rewrite it anyway so I'll just bump that up in priority a bit).
2006-08-03Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
2006-06-16Remove warnings caused by #include <sys/mount.h> in platform.h. ApparentlyRob Landley
we redefine a lot of stuff from standard header files...
2006-04-13- patch from Denis Vlasenko to add and use bb_xopen3()Bernhard Reutner-Fischer
2006-04-12- patch from Denis Vlasenko to add and use bb_xsocket() and to useBernhard Reutner-Fischer
bb_xopen some more while at it. Also use shorter boilerplate while at it.
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2005-10-15data --> bss"Vladimir N. Oleynik"
2004-08-28Fixup some warningsEric Andersen
2004-04-14Larry Doolittle writes:Eric Andersen
This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-01-30Use proper C99 typesEric Andersen
2003-08-06extern inline is a bad bad thing. kill it (so mkfs_minix.c willEric Andersen
actually compile)
2003-03-19Major coreutils update.Manuel Novoa III
2002-08-21Inline functions with only one reference in mkfs_minix. I don't knowAaron Lehmann
why these efforts aren't making the binary smaller.
2001-10-31Fixup some silly prototype warningsEric Andersen
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-08-29Standard typing (u_int16_t instead of u16, u_int32_t insteadEric Andersen
of u32, etc) cleanups from Laurence Anderson <laurence@zxmail.com>
2001-03-19Another cleanup patch from Jeff Garzik <jgarzik@mandrakesoft.com>Eric Andersen
2001-03-09A cleanup patch from Jeff Garzik to static-ify a number ofEric Andersen
namespace polluting things that really should be static.
2001-03-09Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanupEric Andersen
warnings with glibc 2.2 and use always use xfopen -Erik
2001-02-20It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen
header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
2001-02-14This patch, put together by Manuel Novoa III, is a merge of workEric Andersen
done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
2001-01-31Make old compilers not choke -- define the attribute in the func prototype.Eric Andersen
2001-01-31Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai
2001-01-31Cleanup patch from Vladimir N. Oleynik.Eric Andersen
* mkdir: remove 3 lines in source code. * mkfs_minix: save 32 bytes, remove 4 bugs. * mkswap: save 64 bytes, remove 1 bug.
2000-12-22Use busybox error handling functions wherever possible.Matt Kraai
2000-12-07Changed names of functions in utility.c and all affected files, to makeMark Whitley
compliant with the style guide. Everybody rebuild your tags file!
2000-09-25Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen
-Erik
2000-09-19Both of these commands were subtly broken. Fortunately when used together theEric Andersen
damage was only ugly fscks. Reverted to the static inline code so they work correctly again, -Erik
2000-08-10Some #include updates.Eric Andersen
-Erik
2000-07-17It is now possible to select in busybox.def.h whether minixfs version 2Pavel Roskin
is to be supported.
2000-07-16Extract usage information into a separate file.Matt Kraai
2000-07-14Don't use strings directly in calls to usage(). This is in preparationMatt Kraai
for their extraction to a separate file.
2000-07-14Use errorMsg rather than fprintf.Matt Kraai
2000-07-12Use global applet_name instead of local versions.Matt Kraai
2000-07-10More linux kernel header file removal.Eric Andersen
-Erik
2000-07-04Some cosmetic updates. Changed "OPTIONS" to "Options".Eric Andersen
-Erik
2000-06-19Finish off the libc5 porting effort. Everything now works with libc5Eric Andersen
except for md5sum, which uses the GNU libc addition getline(). -Erik
2000-06-06Oops. Remove the debugging noise.Eric Andersen
-Erik
2000-06-06mkfs.minix rev 1.7 completely broke the option parser. This fixes it.Eric Andersen
-Erik
2000-06-06Fixed a bunch of stuff:Eric Andersen
* Fixed segfault caused by "touch -c" * Fixed segfault caused by "rm -f" * Fixed segfault caused by "ln -s -s" and similar abuses. * Fixed segfault caused by "cp -a -a" and similar abuses. * Implemented "rm -- <foo>" updated docs accordingly. -Erik
2000-05-20First pass at fixing tar segfault, and more portability updates.Erik Andersen
-Erik
2000-05-19More libc portability updates, add in the website (which has not beenErik Andersen
archived previously). Wrote 'which' during the meeting today. -Erik
2000-05-12Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen
which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
2000-04-28Latest and greatest. Some effort at libc5 (aiming towards newlib)Erik Andersen
compatability. -Erik
2000-03-21* all mallocs now use xmalloc (and so are OOM error safe), andErik Andersen
the common error handling saves a few bytes. Thanks to Bob Tinsley <bob@earthrise.demon.co.uk> for the patch. -Erik