aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mkfs_minix.c
AgeCommit message (Collapse)Author
2007-06-13fsck_minix: stop using data/bssDenis Vlasenko
10847 8 271 11126 2b76 busybox.t2/util-linux/fsck_minix.o 10140 0 0 10140 279c busybox.t3/util-linux/fsck_minix.o
2007-06-13*: BB_BANNER -> bb_banner (it is not a const or #define)!Denis Vlasenko
correct_password: explain in detail why it is ok to use bb_banner fsck_minix: make it print bb version, not it's own (outdated/irrelevant) one Marginal size difference: text data bss dec hex filename 679119 2700 15632 697451 aa46b busybox_old 679091 2700 15632 697423 aa44f busybox_unstripped
2007-06-12diff: shrink code (-85 bytes):Denis Vlasenko
function old new delta fiddle_sum 8 - -8 diffreg 2717 2690 -27 prepare 334 284 -50 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/2 up/down: 0/-85) Total: -85 bytes s/ATTRIBUTE_ALWAYS_INLINE/ALWAYS_INLINE/g
2007-05-26usage.c: remove reference to busybox.hDenis Vlasenko
*: s/include "busybox.h"/include "libbb.h"
2007-03-18mkfs_minix: remove older, less efficient bss reduction trickDenis Vlasenko
2007-03-15mkfs_minix: stop using lots of bss/data.Denis Vlasenko
data -3500 bytes, code -300 bytes keep_data_small: expand/fix
2007-02-06fix warning coming from printing size_t with %uDenis Vlasenko
2007-02-06minix utils: de-inline bit ops (saves ~130 bytes)Denis Vlasenko
2007-02-06minix utils: make a message easier to understand; small tweaksDenis Vlasenko
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2007-01-03factor out minix structures/constants into minix.hDenis Vlasenko
fsck_minix: optimizations
2006-12-30done a dozen of randconfig test. guess what? ALL failed...Denis Vlasenko
these are resulting fixes
2006-12-16s/extern inline/static ATTRIBUTE_ALWAYS_INLINE/gDenis Vlasenko
xstrtou: disallow leading '+'
2006-11-30"make bigdata" biggest offender dealt with:Denis Vlasenko
xmalloc 16Kb buffer instead of keeping it in bss
2006-11-29Well, I am not 100.00% usre that uint16 will suffice there.Denis Vlasenko
We don't lose anything by using 'unsigned' instead.
2006-11-29another -90 bytes. That #define is **evil**Denis Vlasenko
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