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/console-tools/clear.c

    r1765 r2725  
    55 * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
    66 *
    7  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
    8  *
     7 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
    98 */
    10 
    11 /* no options, no getopt */
    12 
    139#include "libbb.h"
    1410
    15 int clear_main(int argc, char **argv);
    16 int clear_main(int argc, char **argv)
     11int clear_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
     12int clear_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
    1713{
    18     return printf("\033[H\033[J") != 6;
     14    /* home; clear to the end of screen */
     15    return full_write1_str("\033[H""\033[J") != 6;
    1916}
Note: See TracChangeset for help on using the changeset viewer.