]> Savannah Git Hosting - gnulib.git/commit
canonicalize-lgpl: fix EOVERFLOW bug
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 2 Dec 2020 22:25:41 +0000 (14:25 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 2 Dec 2020 22:39:29 +0000 (14:39 -0800)
commit1e04bb6ea87ee69adb830e68b1d9cd1b39c918d3
treecbfb78271fd67d09647a7f2bc5d1617232d1f774
parent98a3a5b3f6647afc35fd81baa931a4d924896c12
canonicalize-lgpl: fix EOVERFLOW bug

* lib/canonicalize-lgpl.c: Do not include <sys/stat.h>.
(__realpath): Do not use lstat.  Just use readlink, as this
suffices and it avoids the EOVERFLOW problem that lstat has.
* modules/canonicalize-lgpl (Depends-on): Remove lstat, sys_stat.
ChangeLog
lib/canonicalize-lgpl.c
modules/canonicalize-lgpl