aboutsummaryrefslogtreecommitdiff
path: root/util-linux/fsck_minix.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *: code shrink by adding a wrapper around very common tcsetattr(0, TCSANOW, ↵Denis Vlasenko2008-11-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | xx) op function old new delta tcsetattr_stdin_TCSANOW - 14 +14 set_sane_term 116 113 -3 top_main 1277 1273 -4 make_new_session 421 415 -6 rawmode 133 126 -7 reset_term 18 10 -8 die 43 35 -8 cookmode 62 54 -8 vlock_main 425 415 -10 read_line_input 3165 3155 -10 bb_askpass 357 347 -10 fsck_minix_main 3079 3065 -14 getty_main 2375 2332 -43 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/12 up/down: 14/-131) Total: -117 bytes
* - s/super.block/superblock/g; # for consistency; -1bBernhard Reutner-Fischer2008-07-211-15/+15
|
* *: rename ATTRIBUTE_XXX to just XXX.Denis Vlasenko2008-07-051-2/+2
|
* mkfs_minix, fsck_minix: code shrinkDenis Vlasenko2008-06-251-3/+3
| | | | | | | | | | | | | | | | | | | function old new delta fsck_minix_main 3092 3094 +2 next 539 538 -1 get_free_block 165 164 -1 check_zone_nr2 121 120 -1 alarm_intr 94 93 -1 recursive_check2 587 583 -4 recursive_check 587 583 -4 mkfs_minix_main 2974 2968 -6 map_block 237 231 -6 map_block2 341 333 -8 bad_zone 64 56 -8 write_block 619 610 -9 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/11 up/down: 2/-49) Total: -47 bytes
* whitespace fixes. no code changesDenis Vlasenko2008-06-251-6/+6
|
* - mention FIXME use find_mount_point()Bernhard Reutner-Fischer2008-05-191-2/+2
|
* *: fix various kinds of damage to letter 'c' in Arkadiusz Mickiewicz' surname.Denis Vlasenko2008-03-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | chrt,taskset,dc,eject: shrink crontab: call "vi" with just name, no path watchdog: intercept all fatal signals function old new delta xstrtoull_range - 35 +35 static.sg_commands - 18 +18 packed_usage 23698 23712 +14 watchdog_main 148 151 +3 crontab_main 637 638 +1 base 1 - -1 static.ps 4 - -4 pointer 4 - -4 stack_machine 99 92 -7 run_command 273 260 -13 eject_main 360 343 -17 static.C 30 12 -18 ptok 61 38 -23 xstrtol_range 27 - -27 get_token 35 - -35 taskset_main 586 550 -36 chrt_main 411 372 -39 dc_main 158 117 -41 time_main 1127 1037 -90 ------------------------------------------------------------------------------ (add/remove: 2/5 grow/shrink: 3/9 up/down: 71/-355) Total: -284 bytes text data bss dec hex filename 793680 662 7420 801762 c3be2 busybox_old 793327 662 7412 801401 c3a79 busybox_unstripped
* *: add -Wunused-parameter; fix resulting breakageDenis Vlasenko2008-03-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta procps_scan 1265 1298 +33 aliascmd 278 283 +5 parse_file_cmd 116 120 +4 dname_enc 373 377 +4 setcmd 90 93 +3 execcmd 57 60 +3 count_lines 72 74 +2 process_command_subs 340 339 -1 test_main 409 407 -2 mknod_main 179 177 -2 handle_incoming_and_exit 2653 2651 -2 argstr 1312 1310 -2 shiftcmd 131 128 -3 exitcmd 46 43 -3 dotcmd 297 294 -3 breakcmd 86 83 -3 evalpipe 353 349 -4 evalcommand 1180 1176 -4 evalcmd 109 105 -4 send_tree 374 369 -5 mkfifo_main 82 77 -5 evalsubshell 152 147 -5 typecmd 75 69 -6 letcmd 61 55 -6 add_cmd 1190 1183 -7 main 891 883 -8 ash_main 1415 1407 -8 parse_stream 1377 1367 -10 alloc_procps_scan 55 - -55 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 7/21 up/down: 54/-148) Total: -94 bytes text data bss dec hex filename 797195 658 7428 805281 c49a1 busybox_old 797101 658 7428 805187 c4943 busybox_unstripped
* fsck_minix: getopt32-ification; code shrink; reduce stack usage;Denis Vlasenko2008-03-171-221/+133
| | | | | | | | | | | | | | | | | | | | | | | | fix bug in map_block2: s/(blknr >= 256 * 256)/(blknr < 256 * 256)/ function old new delta get_inode_common - 291 +291 add_zone_common - 205 +205 ask 229 215 -14 write_super_block 109 90 -19 write_block 653 629 -24 bad_zone 95 64 -31 read_block 241 198 -43 fsck_minix_main 3285 3195 -90 add_zone2 217 34 -183 add_zone 216 33 -183 recursive_check 1097 866 -231 recursive_check2 1340 956 -384 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 0/10 up/down: 496/-1202) Total: -706 bytes text data bss dec hex filename 799349 661 7428 807438 c520e busybox_old 798437 661 7428 806526 c4e7e busybox_unstripped
* *: add optimization barrier to all "G trick" locationsDenis Vlasenko2008-02-271-1/+1
|
* add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko2007-10-111-1/+1
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).Denis Vlasenko2007-09-271-2/+2
|
* fsck_minix: forgotten bit of previous commit...Denis Vlasenko2007-06-131-0/+1
|
* fsck_minix: stop using data/bssDenis Vlasenko2007-06-131-123/+130
| | | | | | 10847 8 271 11126 2b76 busybox.t2/util-linux/fsck_minix.o 10140 0 0 10140 279c busybox.t3/util-linux/fsck_minix.o
* *: BB_BANNER -> bb_banner (it is not a const or #define)!Denis Vlasenko2007-06-131-2/+1
| | | | | | | | | | | | 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
* diff: shrink code (-85 bytes):Denis Vlasenko2007-06-121-1/+1
| | | | | | | | | | | | 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
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* fsck_minix: stop using large buffers in bssDenis Vlasenko2007-03-131-12/+26
|
* minix utils: de-inline bit ops (saves ~130 bytes)Denis Vlasenko2007-02-061-10/+22
|
* minix utils: make a message easier to understand; small tweaksDenis Vlasenko2007-02-061-8/+12
|
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* whitespace fixes (leading spaces to tab)Denis Vlasenko2007-01-131-1/+1
|
* fsck_minix: tiny optimizationDenis Vlasenko2007-01-031-9/+3
|
* forgot to svn add util-linux/minix.h :(Denis Vlasenko2007-01-031-1/+1
|
* fbset: move variable from data to bssDenis Vlasenko2007-01-031-24/+24
| | | | fsck_minix: fix fallout
* factor out minix structures/constants into minix.hDenis Vlasenko2007-01-031-191/+131
| | | | fsck_minix: optimizations
* fsck_minix: optimizations. ~130 bytesDenis Vlasenko2007-01-031-44/+47
|
* introduce small[u]intDenis Vlasenko2007-01-031-64/+69
| | | | fsck_minix: use it for flag variables. 140 bytes saved
* rodata cleanup. "unable to" == "cannot". -300 bytesDenis Vlasenko2006-11-181-1/+1
|
* silly size savings and capitalization fixesDenis Vlasenko2006-10-261-2/+2
|
* bb_applet_name -> applet_nameDenis Vlasenko2006-10-031-1/+1
|
* More code from kernel developers, and therefore licensed under GPLv2 only.Rob Landley2006-09-141-12/+4
| | | | | | | Clarify the license boilerplate. On an unrelated note, this could use busyboxification. check_mount() looks reusable and ask() is generic...
* Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damageRob Landley2006-08-291-3/+3
| | | | | (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 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, tweak error messages.Rob Landley2006-06-131-52/+50
|
* Minor size shrinkage.Rob Landley2006-06-131-4/+2
|
* - reuse strings and messages. Saves about 600BBernhard Reutner-Fischer2006-06-071-4/+6
|
* Whack the one last warning in make allbareconfig...Rob Landley2006-06-061-1/+1
|
* Build break fix from Bernhard fischer, fixing fallout from svn 14974. (My bad.)Rob Landley2006-05-031-0/+1
|
* Patches from Denis Vlasenko to rework "current_name" handling and removeRob Landley2006-04-291-126/+95
| | | | | print_current_name().
* Patch from Denis Vlasenko:Rob Landley2006-04-291-93/+74
| | | | | | | | | * Do not initialize globals to 0, it is done automatically * unsigned short -> uint16_t, unsigned int -> uint32_t where appropriate (did it ever work on Alphas?) * triple sync() is silly - removed * check_zone_nr uses check_zone_nr2 now * remove trailing periods from messages, uppercase first letter
* Patch from Denis Vlasenko:Rob Landley2006-04-291-2/+2
| | | | | ix bug (inode_map and zone_map are char* pointers, sizeof() on them gives 4 or 8)
* Patch from Denis Vlasenko turning static const int (which gets emitted intoRob Landley2006-03-101-24/+27
| | | | the busybox binary) into enums (which don't).
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* - add platform.h.Bernhard Reutner-Fischer2006-01-221-1/+1
| | | | - use shorter boilerplate while at it.
* Larry Doolittle writes:Eric Andersen2004-04-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | 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-5/+5
|
* s/u_int/uint/gEric Andersen2004-01-301-27/+27
|
* Major coreutils update.Manuel Novoa III2003-03-191-5/+5
|
* Change if(x)free(x); to free(x);Aaron Lehmann2002-11-281-3/+1
|