Changeset 3340 for trunk


Ignore:
Timestamp:
May 6, 2007, 8:38:32 AM (18 years ago)
Author:
bird
Message:

use the kLIBC getcwd.

Location:
trunk/essentials/app-arch/cpio/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/essentials/app-arch/cpio/lib/getcwd.c

    r3332 r3340  
    1616   with this program; if not, write to the Free Software Foundation,
    1717   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
     18
     19#ifndef __KLIBC__ /* we really don't need this, esp. since it doesn't return the right value anyway. */
    1820
    1921#if !_LIBC
     
    417419weak_alias (__getcwd, getcwd)
    418420#endif
     421
     422#endif /* !__KLIBC__ */
  • trunk/essentials/app-arch/cpio/lib/getcwd.h

    r3332 r3340  
    2525#include <unistd.h>
    2626
     27#ifndef __KLIBC__ /* we really don't need this. */
     28
    2729/* If necessary, systematically rename identifiers so that they do not
    2830   collide with the system function.  Renaming avoids problems with
     
    3941char *getcwd (char *, size_t);
    4042#endif
     43
     44#endif /* !__KLIBC__ */
Note: See TracChangeset for help on using the changeset viewer.