Denis Vlasenko
5d2f1736d9
build system: small optimization
2006-10-05 10:26:05 +00:00
Denis Vlasenko
7d219aab70
build system overhaul
2006-10-05 10:17:08 +00:00
Denis Vlasenko
8f8f268cfd
bb_applet_name -> applet_name
2006-10-03 21:00:43 +00:00
Denis Vlasenko
67b23e6043
getopt_ulflags -> getopt32.
...
It is impossible to formulate sane ABI based on
size of ulong because it can be 32-bit or 64-bit.
Basically it means that you cannot portably use
more that 32 option chars in one call anyway...
Make it explicit.
2006-10-03 21:00:06 +00:00
Denis Vlasenko
a959588b80
Yet another silly little byte saving. couldn't -> cannot
2006-09-29 21:30:43 +00:00
Denis Vlasenko
9213a9e0f2
whitespace cleanup
2006-09-17 16:28:10 +00:00
Bernhard Reutner-Fischer
dea6e3d3cf
- Tito pointed out that Rob forgot to add e2fsprogs/blkid/list.c
2006-09-11 09:16:12 +00:00
Rob Landley
49ea46667f
Build fixes for gcc 4.0 with -Werror, from Tito.
2006-09-11 01:34:21 +00:00
Denis Vlasenko
9cac521f07
using [xa]sprintf for string concatenation is neat and saves
...
~100 bytes according to bloatcheck. Also this fixes bug in rpm
2006-09-09 12:24:19 +00:00
Denis Vlasenko
6d655be5df
removed a lot of trailing \n in bb_msg() calls. It is added
...
automatically by function itself.
2006-09-06 19:02:46 +00:00
Rob Landley
081e38483e
Remove xcalloc() and convert its callers to xzalloc(). About half of them
...
were using "1" as one of the arguments anyway, and as for the rest a multiply
and a push isn't noticeably bigger than pushing two arguments on the stack.
2006-08-03 20:07:35 +00:00
Rob Landley
d921b2ecc0
Remove bb_ prefixes from xfuncs.c (and a few other places), consolidate
...
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-08-03 15:41:12 +00:00
"Robert P. J. Day"
c773ac8a79
Delete unused version.c file and corresponding function prototypes
...
from blkid.h. If this file needs to be resurrected, it can be
based on ext2fs/version.c.
2006-07-03 18:11:39 +00:00
"Robert P. J. Day"
63fc1a9e08
Standardize on the vi editing directives being on the first line.
2006-07-02 19:47:05 +00:00
"Robert P. J. Day"
7ccb65f3a4
Yet more "#if 0" content removed.
2006-07-01 15:09:17 +00:00
Rob Landley
11c7a7bed6
Various cleanups I made while going through Erik Hovland's patch submissions,
...
some of which are even from him. :)
2006-06-25 22:39:24 +00:00
Rob Landley
768945b762
A few patches from Erik Hovland, turning strncpy() into safe_strncpy() and
...
removing some unnecessary code.
2006-06-25 00:34:52 +00:00
Rob Landley
7a260f01ce
Make some 64 bit warnings go away on x86-64.
2006-06-19 03:20:03 +00:00
Rob Landley
15d20a03d6
Remove _() and N_() from platform.h. #define them as NOP macros in the two
...
files still using them. I didn't remove them from e2fsck.c to avoid stomping
pending cleanup patches from Garrett, and I didn't bother to remove them from
fdisk.c because that entire file needs to be rewritten from scratch.
2006-05-29 05:00:44 +00:00
Rob Landley
81dab2cf83
Fix hdparm to use PRIu64 instead of typecasting to long long (which is 128 bits
...
on 64 bit platforms), and move #include <inttypes.h> to libbb.h.
2006-05-28 01:56:08 +00:00
Rob Landley
299a6b4d7b
Consolidate #include <sys/time.h> so libbb.h does it.
2006-05-27 21:42:58 +00:00
Rob Landley
206f75784b
Remove unused function parameter, from Garrett.
2006-05-19 22:42:23 +00:00
Bernhard Reutner-Fischer
d8e87a09d1
- forgot to make busybox_unstripped depend on the applets in IMA mode.
2006-05-19 18:37:34 +00:00
Bernhard Reutner-Fischer
e2e56c7c41
- single KERNEL_VERSION(a,b,c) macro in platform.h
...
- rename get_kernel_revision() to get_linux_version_code
from Robert P. J. Day
2006-05-19 11:54:02 +00:00
Rob Landley
81369a8b2f
Typo that hits big endian systems.
2006-05-17 19:47:58 +00:00
Mike Frysinger
39440e520c
pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the mailing list
2006-05-13 02:33:09 +00:00
Mike Frysinger
d148a94a2a
move the dir related rules to the end so the E2FSPROGS_AR rule is the default
2006-05-11 04:39:09 +00:00
Mike Frysinger
be7c539b7a
dont use tabs people
2006-05-11 04:37:25 +00:00
Rob Landley
d8f6601502
Another patch from Garrett: remove bad block bitmap checking code. Everything
...
produced in the list ten years has some variant of internal error correction
(disks, cdrom, flash), so if it has user-visible bad blocks on it the
hardware has exhausted its remapping reserve and is dying, and you need to get
your data off pronto. (The one exception I can think of is floppies, and I
don't care.)
2006-05-05 17:29:09 +00:00
Rob Landley
7c94bed234
Big dead code elimination pass from Garrett.
2006-05-03 21:58:45 +00:00
Rob Landley
035ef5659e
Patch from Garrett Kajmowicz to move a lot of #defines into the
...
header file.
2006-05-03 20:05:18 +00:00
Mike Frysinger
f8346038e9
kill off pointless malloc.h include
2006-04-16 21:17:00 +00:00
Rob Landley
3e72c5931c
Another size reduction patch from Garrett.
2006-04-06 22:49:04 +00:00
Bernhard Reutner-Fischer
dee811a53d
- remove unused ext2fs_find_first_bit_set() and ext2fs_find_next_bit_set()
2006-04-04 12:17:24 +00:00
Bernhard Reutner-Fischer
89aaf4e249
- pull in prototype for e2fsck_main.
2006-04-04 12:10:28 +00:00
Rob Landley
03e78e75f3
The build broke for me on gcc 4.0.3 due to an #include having the wrong patch.
2006-04-01 17:36:31 +00:00
Rob Landley
43ac88849b
Ext2fs cleanup from Garrett Kajmowicz.
2006-04-01 00:40:33 +00:00
Bernhard Reutner-Fischer
1f6dc6d358
- rename clean_up in tune2fs and mke2fs to be prefixed with their applet names.
...
Purely cosmetic to ease readability.
2006-03-30 13:54:30 +00:00
Bernhard Reutner-Fischer
d409c3a2f7
- Rich Felker writes: fix invalid printf format strings
...
http://busybox.net/lists/busybox/2006-March/019568.html
text data bss dec hex filename
900619 10316 1038724 1949659 1dbfdb busybox.oorig
900603 10316 1038724 1949643 1dbfcb busybox
2006-03-29 22:34:47 +00:00
Mike Frysinger
f885513940
just whitespace fixes
2006-03-28 02:35:56 +00:00
Mike Frysinger
06adf5fb47
2006-03-21 Shaun Jackman <sjackman@gmail.com>: Include signal.h instead of sys/signal.h.
2006-03-22 00:25:07 +00:00
Mike Frysinger
9aa7f2005d
declare const id argument const for probe_{ext2,ext3,cramfs}
2006-03-18 04:17:59 +00:00
Mike Frysinger
179f417788
need string.h as well as strings.h
2006-03-18 04:13:32 +00:00
Mike Frysinger
25f67d419d
need EXT2FS_OBJS for fsck
2006-03-18 04:11:51 +00:00
Bernhard Reutner-Fischer
df10094870
- revert back to r14406
2006-03-13 19:04:00 +00:00
Bernhard Reutner-Fischer
07a79e75f5
- backout using features which are not available with the previous stable
...
version of make (3.71.1).
2006-03-09 09:03:37 +00:00
Mike Frysinger
874af85d5e
import most of e2fsprogs 1.38 updates
2006-03-08 07:03:27 +00:00
Rob Landley
dfba741457
Robert P. Day removed 8 gazillion occurrences of "extern" on function
...
definitions. (That should only be on prototypes.)
2006-03-06 20:47:33 +00:00
Bernhard Reutner-Fischer
2e9cf373a9
- workaround bug in make-3.81beta4:
...
- has to use
/top/obj/dir/*.o: /top/obj/dir/file.o: /top/src/file.c
instead of the proper
/top/obj/dir/*.o: /top/obj/dir/file.o: /top/src/dir/file.c
2006-03-06 14:20:43 +00:00
Bernhard Reutner-Fischer
022eb311d5
- use absolute path for top_builddir and top_srcdir.
...
Fixes make trying to include the very same file in an endless loop.
2006-03-02 17:33:25 +00:00