od: provide full-blown od from coreutils if CONFIG_DESKTOP

This commit is contained in:
Denis Vlasenko
2006-10-10 23:26:05 +00:00
parent cba9ef5523
commit 1114de7219
5 changed files with 1608 additions and 6 deletions

View File

@@ -11,12 +11,13 @@
* Original copyright notice is retained at the end of this file.
*/
// TODO: -t. busybox's own build script needs it
#include <ctype.h>
#include <string.h>
#if ENABLE_DESKTOP
/* This one provides -t (busybox's own build script needs it) */
#include "od_bloaty.c"
#else
#include <getopt.h>
#include <stdlib.h>
#include "busybox.h"
#include "dump.h"
@@ -191,6 +192,7 @@ int od_main(int argc, char **argv)
return bb_dump_dump(argv);
}
#endif /* ENABLE_DESKTOP */
/*-
* Copyright (c) 1990 The Regents of the University of California.

1594
coreutils/od_bloaty.c Normal file

File diff suppressed because it is too large Load Diff