canonicalize: fix references to stat() and lstat()
authorPádraig Brady <P@draigBrady.com>
Fri, 30 Dec 2011 15:36:50 +0000 (15:36 +0000)
committerPádraig Brady <P@draigBrady.com>
Fri, 30 Dec 2011 15:38:50 +0000 (15:38 +0000)
commit83d7371a65a6f805956fb34f0321bff6b4dc7955
treece1a4d993af8914dc25ba8cbedcd26f4761ce3cc
parentf0e3d161e4ec9b063b4f3556ca1de724b99bfa26
canonicalize: fix references to stat() and lstat()

* lib/canonicalize.c (canonicalize_filename_mode):
Ensure references always resolve to a replacement
function if required (even via a macro).

The issue was spotted by Eric Blake and is
adequately documented in the docs for stat and lstat.
ChangeLog
lib/canonicalize.c