Hash :
cbbc0892
Author :
Date :
2007-09-24T13:39:37
canonicalize: Avoid a false-positive cycle failure. * modules/canonicalize (Depends-on): Add file-set and hash-triple. Sort. Remove cycle-check. * lib/canonicalize.c: Include file-set.h and hash-triple.h, not cycle-check.h. (seen_triple): New function. (canonicalize_filename_mode): Use it instead of cycle-check. * tests/test-canonicalize.c: Add a test for this bug. * tests/test-canonicalize.sh: Set up and run the test.
Description:
Return the canonical absolute name of a given file.
Files:
lib/canonicalize.h
lib/canonicalize.c
lib/pathmax.h
m4/canonicalize.m4
Depends-on:
areadlink-with-size
file-set
filenamecat
hash-triple
sys_stat
xalloc
xgetcwd
configure.ac:
AC_FUNC_CANONICALIZE_FILE_NAME
gl_MODULE_INDICATOR([canonicalize])
Makefile.am:
Include:
"canonicalize.h"
License:
GPL
Maintainer:
Jim Meyering