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/coreutils/logname.c

    r1765 r2725  
    55 * Copyright (C) 2000  Edward Betts <edward@debian.org>.
    66 *
    7  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
     7 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
    88 */
    99
     
    2525/* This is a NOFORK applet. Be very careful! */
    2626
    27 int logname_main(int argc, char ATTRIBUTE_UNUSED **argv);
    28 int logname_main(int argc, char ATTRIBUTE_UNUSED **argv)
     27int logname_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
     28int logname_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
    2929{
    30     char buf[128];
     30    char buf[64];
    3131
    32     if (argc > 1) {
     32    if (argv[1]) {
    3333        bb_show_usage();
    3434    }
     
    3737    if (getlogin_r(buf, sizeof(buf)) == 0) {
    3838        puts(buf);
    39         return fflush(stdout);
     39        return fflush_all();
    4040    }
    4141
Note: See TracChangeset for help on using the changeset viewer.