"Steven M. Schweda" <[email protected]> writes: > From: Giuseppe Scrivano <[email protected]> > >> Yes, I was just waiting for an ACK from Steven if it works on VMS too. > > Seems to, if ".1" is supposed to be the most recent and ".n" the > oldest. (VMS versions normally go the other way.) Around here, with a > quick CGI counter, after five runs of:
great! I have pushed the changes to master. > --- lib/tmpdir.c_orig 2013-07-11 15:23:39 -0500 > +++ lib/tmpdir.c 2013-07-11 22:01:46 -0500 > @@ -149,6 +149,15 @@ > return -1; > } > > +/* 2012-08-18 SMS. > + * Sadly, on VMS, P_tmpdir is defined as "SYS$SCRATCH:", not a > + * Posix-compatible name, so a VMS-specific scheme (no "/") must be used > + * to concatenate the directory name and the file name. > + */ > +#ifdef __VMS > + sprintf (tmpl, "%.*s%.*sXXXXXX", (int) dlen, dir, (int) plen, pfx); > +#else > sprintf (tmpl, "%.*s/%.*sXXXXXX", (int) dlen, dir, (int) plen, pfx); > +#endif > return 0; > } this fix is for gnulib. Could you please send it there? I see there is other VMS related code in the gnulib tree, probably they are interested in this fix. > --- src/warc.c_orig 2013-07-04 04:40:52 -0500 > +++ src/warc.c 2013-07-12 06:13:39 -0500 this is definitely for wget. I will add the ChangeLog entry and push it. Thanks! Giuseppe
