summaryrefslogtreecommitdiff
path: root/util-linux/mkfs_minix.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* factor out minix structures/constants into minix.hDenis Vlasenko2007-01-031-73/+2
| | | | fsck_minix: optimizations
* done a dozen of randconfig test. guess what? ALL failed...Denis Vlasenko2006-12-301-0/+4
| | | | these are resulting fixes
* s/extern inline/static ATTRIBUTE_ALWAYS_INLINE/gDenis Vlasenko2006-12-161-1/+1
| | | | xstrtou: disallow leading '+'
* "make bigdata" biggest offender dealt with:Denis Vlasenko2006-11-301-1/+3
| | | | xmalloc 16Kb buffer instead of keeping it in bss
* Well, I am not 100.00% usre that uint16 will suffice there.Denis Vlasenko2006-11-291-2/+2
| | | | We don't lose anything by using 'unsigned' instead.
* another -90 bytes. That #define is **evil**Denis Vlasenko2006-11-291-8/+12
|
* mkfs.minix: more cleanups, -~300 bytes of code.Denis Vlasenko2006-11-291-202/+204
| | | | Added debugging support.
* cut 0.5k off mkfs.minixDenis Vlasenko2006-11-291-182/+102
| | | | assorted strtoul fixes (that's what brought me into minix)...
* rodata cleanup. "unable to" == "cannot". -300 bytesDenis Vlasenko2006-11-181-7/+7
|
* - convert a few xopen3(,,0) into xopen(,). Also peruse the fact that xopen ↵Bernhard Reutner-Fischer2006-09-111-2/+2
| | | | | | | | | | | | | | | | | | | | 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
* Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damageRob Landley2006-08-291-12/+12
| | | | | (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).
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-16/+4
| | | | | | | | | | 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.)
* Remove warnings caused by #include <sys/mount.h> in platform.h. ApparentlyRob Landley2006-06-161-3/+0
| | | | we redefine a lot of stuff from standard header files...
* - patch from Denis Vlasenko to add and use bb_xopen3()Bernhard Reutner-Fischer2006-04-131-2/+2
|
* - patch from Denis Vlasenko to add and use bb_xsocket() and to useBernhard Reutner-Fischer2006-04-121-5/+2
| | | | | bb_xopen some more while at it. Also use shorter boilerplate while at it.
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* data --> bss"Vladimir N. Oleynik"2005-10-151-11/+11
|
* Fixup some warningsEric Andersen2004-08-281-14/+20
|
* Larry Doolittle writes:Eric Andersen2004-04-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | 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
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-4/+4
|
* Use proper C99 typesEric Andersen2004-01-301-27/+28
|
* extern inline is a bad bad thing. kill it (so mkfs_minix.c willEric Andersen2003-08-061-11/+11
| | | | actually compile)
* Major coreutils update.Manuel Novoa III2003-03-191-31/+31
|
* Inline functions with only one reference in mkfs_minix. I don't knowAaron Lehmann2002-08-211-11/+11
| | | | why these efforts aren't making the binary smaller.
* Fixup some silly prototype warningsEric Andersen2001-10-311-3/+1
|
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-10/+10
| | | | -Erik
* Standard typing (u_int16_t instead of u16, u_int32_t insteadEric Andersen2001-08-291-33/+27
| | | | of u32, etc) cleanups from Laurence Anderson <laurence@zxmail.com>
* Another cleanup patch from Jeff Garzik <jgarzik@mandrakesoft.com>Eric Andersen2001-03-191-1/+1
|
* A cleanup patch from Jeff Garzik to static-ify a number ofEric Andersen2001-03-091-1/+1
| | | | namespace polluting things that really should be static.
* Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanupEric Andersen2001-03-091-4/+1
| | | | | warnings with glibc 2.2 and use always use xfopen -Erik
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-02-201-1/+1
| | | | | | 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
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-02-141-7/+0
| | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
* Make old compilers not choke -- define the attribute in the func prototype.Eric Andersen2001-01-311-1/+3
|
* Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai2001-01-311-25/+25
|
* Cleanup patch from Vladimir N. Oleynik.Eric Andersen2001-01-311-37/+25
| | | | | | * mkdir: remove 3 lines in source code. * mkfs_minix: save 32 bytes, remove 4 bugs. * mkswap: save 64 bytes, remove 1 bug.
* Use busybox error handling functions wherever possible.Matt Kraai2000-12-221-5/+2
|
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-071-2/+2
| | | | compliant with the style guide. Everybody rebuild your tags file!
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Both of these commands were subtly broken. Fortunately when used together theEric Andersen2000-09-191-2/+6
| | | | | | damage was only ugly fscks. Reverted to the static inline code so they work correctly again, -Erik
* Some #include updates.Eric Andersen2000-08-101-1/+0
| | | | -Erik
* It is now possible to select in busybox.def.h whether minixfs version 2Pavel Roskin2000-07-171-14/+10
| | | | is to be supported.
* Extract usage information into a separate file.Matt Kraai2000-07-161-13/+0
|
* Don't use strings directly in calls to usage(). This is in preparationMatt Kraai2000-07-141-18/+14
| | | | for their extraction to a separate file.
* Use errorMsg rather than fprintf.Matt Kraai2000-07-141-3/+3
|
* Use global applet_name instead of local versions.Matt Kraai2000-07-121-6/+3
|
* More linux kernel header file removal.Eric Andersen2000-07-101-2/+97
| | | | -Erik
* Some cosmetic updates. Changed "OPTIONS" to "Options".Eric Andersen2000-07-041-1/+1
| | | | -Erik
* Finish off the libc5 porting effort. Everything now works with libc5Eric Andersen2000-06-191-1/+1
| | | | | except for md5sum, which uses the GNU libc addition getline(). -Erik
* Oops. Remove the debugging noise.Eric Andersen2000-06-061-7/+0
| | | | -Erik
* mkfs.minix rev 1.7 completely broke the option parser. This fixes it.Eric Andersen2000-06-061-11/+25
| | | | -Erik