projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5c0953
)
str2u() is only used when FEATURE_SORT_BIG is enabled
author
Mike Frysinger
<vapier@gentoo.org>
Tue, 2 Jan 2007 05:43:30 +0000
(
05:43
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Tue, 2 Jan 2007 05:43:30 +0000
(
05:43
-0000)
coreutils/sort.c
patch
|
blob
|
history
diff --git
a/coreutils/sort.c
b/coreutils/sort.c
index ab59355a94279c3c072f68aa5c667e71e3276f05..c7abc3355124db63c4cf1cad67e1be11426c145c 100644
(file)
--- a/
coreutils/sort.c
+++ b/
coreutils/sort.c
@@
-265,6
+265,7
@@
static int compare_keys(const void *xarg, const void *yarg)
return retval;
}
+#if ENABLE_FEATURE_SORT_BIG
static unsigned str2u(char **str)
{
unsigned long lu;
@@
-275,6
+276,7
@@
static unsigned str2u(char **str)
bb_error_msg_and_die("bad field specification");
return lu;
}
+#endif
int sort_main(int argc, char **argv)
{