From e901c15d890dbbdce4c086963cb1513653fc46b5 Mon Sep 17 00:00:00 2001 From: mjn3 Date: Wed, 19 Mar 2003 09:13:01 +0000 Subject: Major coreutils update. git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- libbb/simplify_path.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'libbb/simplify_path.c') diff --git a/libbb/simplify_path.c b/libbb/simplify_path.c index 7b2a1ca51..743133cd1 100644 --- a/libbb/simplify_path.c +++ b/libbb/simplify_path.c @@ -1,8 +1,8 @@ /* vi: set sw=4 ts=4: */ /* - * simplify_path implementation for busybox + * bb_simplify_path implementation for busybox * - * Copyright (C) 2001 Manuel Novoa III + * Copyright (C) 2001 Manuel Novoa III * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,15 +21,14 @@ */ #include - #include "libbb.h" -char *simplify_path(const char *path) +char *bb_simplify_path(const char *path) { char *s, *start, *p; if (path[0] == '/') - start = xstrdup(path); + start = bb_xstrdup(path); else { s = xgetcwd(NULL); start = concat_path_file(s, path); -- cgit v1.2.3-55-g6feb