Hi, John Malmberg wrote: > 1. The VMS CRTL getcwd() will not pass configure tests and will be > marked for replacement from gnulib. > > 2. The replacement from gnulib causes canonicalize-lgpl.c to fail > because the replacement only has 2 parameters, not three. > > 3. The replacement from gnulib also does not fix all the known ills in > VMS getcwd(). > > I do not have fixes here for all of these issues, however this VMS > specific code in canonicalize-lgpl.c probably should just be removed.
But when IN_RELOCWRAPPER is defined (i.e. when this code is used through the 'relocatable-prog-wrapper' module) we '#undef getcwd', so in this case the lines /* We want the directory in Unix syntax, not in VMS syntax. */ # define __getcwd(buf, max) getcwd (buf, max, 0) are appropriate, right? Bruno