bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is svn release 1758 missing fixes?


From: Paul Rockwell
Subject: Re: Is svn release 1758 missing fixes?
Date: Sun, 3 Mar 2024 20:49:29 -0500

Mike,

I noticed the same issues in SVN 1757 and 1758 as well. I have made similar fixes in the source that I have.

Our fixes differ in that the fix I made to Command.cc is to change line 2030 from 
if (sort == SORT_TIME) return st.st_mtim.tv_sec;
2031
to
if (sort == SORT_TIME) return st.st_mtime;
2031

Both Linux and macOS #define st_mtime to be st.st_mtim.tv_sec (Linux) or st.st_mtimespec.tv_sec (macOS) to provide backward compatibility. That way we don't need the 
test for __APPLE__.

- Paul Rockwell

reply via email to

[Prev in Thread] Current Thread [Next in Thread]