summaryrefslogtreecommitdiff
path: root/src/sort.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-12-19 09:21:42 +0000
committerJim Meyering <jim@meyering.net>2000-12-19 09:21:42 +0000
commit3c46adfe19a6d930ac5ec4c7b5726cc0fa56c2d7 (patch)
tree4a9ef804789b4722053a884e8102c153f1f00580 /src/sort.c
parent0787040b75faeb474e93405104677ba6606dfe5c (diff)
downloadcoreutils-3c46adfe19a6d930ac5ec4c7b5726cc0fa56c2d7.tar.xz
adjust indentation
Diffstat (limited to 'src/sort.c')
-rw-r--r--src/sort.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/sort.c b/src/sort.c
index 512240b64..267f76367 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -584,26 +584,26 @@ specify_sort_size (char const *s)
/* A 'b' suffix means bytes; a '%' suffix means percent of memory. */
if (e == LONGINT_INVALID_SUFFIX_CHAR && ISDIGIT (suffix[-1]) && ! suffix[1])
switch (suffix[0])
- {
- case 'b':
- e = LONGINT_OK;
- break;
-
- case '%':
{
- double mem = physmem_total () * n / 100;
-
- /* Use "<", not "<=", to avoid problems with rounding. */
- if (mem < UINTMAX_MAX)
- {
- n = mem;
- e = LONGINT_OK;
- }
- else
- e = LONGINT_OVERFLOW;
+ case 'b':
+ e = LONGINT_OK;
+ break;
+
+ case '%':
+ {
+ double mem = physmem_total () * n / 100;
+
+ /* Use "<", not "<=", to avoid problems with rounding. */
+ if (mem < UINTMAX_MAX)
+ {
+ n = mem;
+ e = LONGINT_OK;
+ }
+ else
+ e = LONGINT_OVERFLOW;
+ }
+ break;
}
- break;
- }
if (e == LONGINT_OK)
{
@@ -2331,7 +2331,7 @@ but lacks following character offset"));
for (key = keylist; key; key = key->next)
if (!key->ignore && !key->translate && !key->skipsblanks && !key->reverse
&& !key->skipeblanks && !key->month && !key->numeric
- && !key->general_numeric)
+ && !key->general_numeric)
{
key->ignore = gkey.ignore;
key->translate = gkey.translate;