diff options
author | Roy Marples <roy@marples.name> | 2007-10-04 16:21:53 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-10-04 16:21:53 +0000 |
commit | d65c484f3a1b210048045613c524c29fdfcb470c (patch) | |
tree | 5363e0d68a597eb38f1fd71b57b6ec0fa2c5a4e9 /src/librc-misc.c | |
parent | bb9ad38de2dab93c5cdb0745b055c3346b6684c9 (diff) |
punt rc_is_link
Diffstat (limited to 'src/librc-misc.c')
-rw-r--r-- | src/librc-misc.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/librc-misc.c b/src/librc-misc.c index a8709903..060bee09 100644 --- a/src/librc-misc.c +++ b/src/librc-misc.c @@ -166,21 +166,6 @@ bool rc_is_dir (const char *pathname) } librc_hidden_def(rc_is_dir) -bool rc_is_link (const char *pathname) -{ - struct stat buf; - - if (! pathname) - return (false); - - if (lstat (pathname, &buf) == 0) - return (S_ISLNK (buf.st_mode)); - - errno = 0; - return (false); -} -librc_hidden_def(rc_is_link) - bool rc_is_exec (const char *pathname) { struct stat buf; |