Re: SVN 1752: error in Command.cc doesn't compile on macOS

2024-02-14 Thread Dr . Jürgen Sauermann
Hi Paul, thanks. Could you please have a look at your*/usr/include/.../stat.h* file and let me know how to get the modification time (or a macro that tells if it is present or absent)? Thanks, Jürgen On 2/13/24 19:56, Paul Rockwell wrote: When compiling SVN 1752 on macOS, an error is thrown b

Re: SVN 1752: error in Command.cc doesn't compile on macOS

2024-02-14 Thread Paul Rockwell
To get the file modification time, you query the st_mtimespec.tv_sec field of the struct stat returned by stat(). Both platforms are returning the file modification/access/status as a struct timestat to support both second and millisecond resolution. For some reason known only to Apple those fi

Re: SVN 1752: error in Command.cc doesn't compile on macOS

2024-02-14 Thread Dr . Jürgen Sauermann
Hi Paul, thanks a lot. Sorry, but I missed your suggestion. Now fixed in *SVN 1753*. Best Regards, Jürgen On 2/14/24 15:37, Paul Rockwell wrote: To get the file modification time, you query the st_mtimespec.tv_sec field of the struct stat returned by stat(). Both platforms are returning the