view modules/symlink @ 40244:c39a0edd90d7

fts: minor simplification * lib/fts.c (fts_safe_changedir): Remove redundant assignment.
author Paul Eggert <eggert@cs.ucla.edu>
date Sun, 17 Mar 2019 12:39:50 -0700
parents 15f55e6c30d6
children
line wrap: on
line source

Description:
symlink() function: create a symlink, if possible

Files:
lib/symlink.c
m4/symlink.m4

Depends-on:
unistd
lstat           [test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1]

configure.ac:
gl_FUNC_SYMLINK
if test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1; then
  AC_LIBOBJ([symlink])
fi
gl_UNISTD_MODULE_INDICATOR([symlink])

Makefile.am:

Include:
<unistd.h>

License:
LGPL

Maintainer:
Eric Blake