]> Savannah Git Hosting - gnulib.git/commit
canonicalize-lgpl: fix errno after malloca fails
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 18 Aug 2016 18:56:07 +0000 (11:56 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 18 Aug 2016 18:56:37 +0000 (11:56 -0700)
commit5155e7c030e5dd0b3b7b24d46c93b9a9d756a748
tree6f4b86bd7b6587bc5a8dc972a1b95f254dab75f2
parenta2a39436b65f329630df4a93ec4e30aeae403c54
canonicalize-lgpl: fix errno after malloca fails

This fixes a typo I recently introduced.  Suggested by Bruno Haible in:
http://lists.gnu.org/archive/html/bug-gnulib/2016-08/msg00039.html
* lib/canonicalize-lgpl.c (__realpath):
Don't assume malloca sets errno on failure.
ChangeLog
lib/canonicalize-lgpl.c