Reported by John E. Malmberg <wb8tyw@gmail.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2017-06/msg00029.html>.
* lib/canonicalize-lgpl.c (__getcwd): On VMS, when using gnulib's getcwd
override, pass 2 arguments to getcwd, not 3.
+2017-06-07 Bruno Haible <bruno@clisp.org>
+
+ canonicalize-lgpl: Avoid conflict with gnulib 'getcwd' module on VMS.
+ Reported by John E. Malmberg <wb8tyw@gmail.com> in
+ <https://lists.gnu.org/archive/html/bug-gnulib/2017-06/msg00029.html>.
+ * lib/canonicalize-lgpl.c (__getcwd): On VMS, when using gnulib's getcwd
+ override, pass 2 arguments to getcwd, not 3.
+
2017-06-04 Paul Eggert <eggert@cs.ucla.edu>
same-inode: port better to VMS 8.2 and later
*/
# undef getcwd
# endif
-# ifdef VMS
- /* We want the directory in Unix syntax, not in VMS syntax. */
+# if defined VMS && !defined getcwd
+ /* We want the directory in Unix syntax, not in VMS syntax.
+ The gnulib override of 'getcwd' takes 2 arguments; the original VMS
+ 'getcwd' takes 3 arguments. */
# define __getcwd(buf, max) getcwd (buf, max, 0)
# else
# define __getcwd getcwd