Ignore:
Timestamp:
Feb 25, 2011, 9:26:54 PM (13 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi-busybox/miscutils/ttysize.c

    r1765 r2725  
    88 * Copyright (C) 2007 by Denys Vlasenko <vda.linux@googlemail.com>
    99 *
    10  * Licensed under the GPL v2, see the file LICENSE in this tarball.
     10 * Licensed under GPLv2, see file LICENSE in this source tree.
    1111 */
    1212#include "libbb.h"
    1313
    14 int ttysize_main(int argc, char **argv);
    15 int ttysize_main(int argc, char **argv)
     14int ttysize_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
     15int ttysize_main(int argc UNUSED_PARAM, char **argv)
    1616{
    17     unsigned w,h;
     17    unsigned w, h;
    1818    struct winsize wsz;
    1919
     
    2525    }
    2626
    27     if (argc == 1) {
     27    if (!argv[1]) {
    2828        printf("%u %u", w, h);
    2929    } else {
     
    4040        }
    4141    }
    42     putchar('\n');
     42    bb_putchar('\n');
    4343    return 0;
    4444}
Note: See TracChangeset for help on using the changeset viewer.