Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (7 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/libbb/get_last_path_component.c

    r2725 r3232  
    77 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
    88 */
     9#include "libbb.h"
    910
    10 #include "libbb.h"
     11const char* FAST_FUNC bb_basename(const char *name)
     12{
     13    const char *cp = strrchr(name, '/');
     14    if (cp)
     15        return cp + 1;
     16    return name;
     17}
     18
    1119/*
    1220 * "/"        -> "/"
Note: See TracChangeset for help on using the changeset viewer.