diff options
author | Ron Yorston <rmy@pobox.com> | 2021-10-12 13:43:15 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2021-10-12 13:43:15 +0100 |
commit | b4b2b2c4fbba12561c5e988177bef699be306b26 (patch) | |
tree | af6ee5b26f0f775264eb8afb1af63415818e2a7e /libbb | |
parent | 0d127fbf4bbcd09f36740019ef129851464f8660 (diff) | |
download | busybox-w32-b4b2b2c4fbba12561c5e988177bef699be306b26.tar.gz busybox-w32-b4b2b2c4fbba12561c5e988177bef699be306b26.tar.bz2 busybox-w32-b4b2b2c4fbba12561c5e988177bef699be306b26.zip |
win32: rename is_absolute_path()
As the comment pointed out is_absolute_path() was misnamed. Rename
it to is_relative_path() and change the sense of all tests.
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/xreadlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xreadlink.c b/libbb/xreadlink.c index b64654b33..31680810b 100644 --- a/libbb/xreadlink.c +++ b/libbb/xreadlink.c | |||
@@ -80,7 +80,7 @@ char* FAST_FUNC xmalloc_follow_symlinks(const char *path) | |||
80 | } | 80 | } |
81 | 81 | ||
82 | #if ENABLE_PLATFORM_MINGW32 | 82 | #if ENABLE_PLATFORM_MINGW32 |
83 | if (!is_absolute_path(linkpath)) { | 83 | if (is_relative_path(linkpath)) { |
84 | #else | 84 | #else |
85 | if (*linkpath != '/') { | 85 | if (*linkpath != '/') { |
86 | #endif | 86 | #endif |