Re: Fix for lib/same-inode.h for VMS

2017-06-04 Thread Paul Eggert
John E. Malmberg wrote: I do not know if the pragma for the assert would be valid for anything other than __DECC compiler Ah, I see. Still, I'm leery of pragmas, as I have the sneaking suspicion that they can hurt even when inside an #else that is skipped, due to problems in parsing them on

Re: Fix for lib/same-inode.h for VMS

2017-06-04 Thread John E. Malmberg
On 6/4/2017 4:32 PM, Paul Eggert wrote: John E. Malmberg wrote: VMS 8.2 and later provide a 64 bit ino_t type when _USE_STD_STAT is defined on the command line. Thanks for the heads-up. I see that 8.2 came out in 2005; I guess news travels slowly from the VMS world to the Gnulib world. The

Re: Fix for lib/same-inode.h for VMS

2017-06-04 Thread Paul Eggert
John E. Malmberg wrote: VMS 8.2 and later provide a 64 bit ino_t type when _USE_STD_STAT is defined on the command line. Thanks for the heads-up. I see that 8.2 came out in 2005; I guess news travels slowly from the VMS world to the Gnulib world. Instead of a pragma for checking, how about i

Fix for lib/same-inode.h for VMS

2017-06-02 Thread John E. Malmberg
VMS 8.2 and later provide a 64 bit ino_t type when _USE_STD_STAT is defined on the command line. This patch makes the fallback to the old VMS behavior for only VMS 8.1 and earlier. This patch also adds an assert to require that VMS programmers have the _USE_STD_STAT defined for VMS 8.2+. R