On February 8, 2019 17:07, brian m. carlson wrote: > On Fri, Feb 08, 2019 at 02:31:57PM -0500, Jeff King wrote: > > > It is available AFAIK on Linux, POSIX, and Windows under Cygwin. > > > That's more than /dev/zero has anyway. I have the patch ready if you > > > want it. > > > > Is it POSIX? Certainly truncate() is, but I didn't think the > > command-line tool was. If it really is available everywhere, then > > yeah, I'd be fine with it. > > It's not. POSIX doesn't specify the command, and macOS lacks it, I believe. I'm happy to modify the test (it is in one spot), to make a decision based on: a) whether /dev/zero exists b) whether the system is a NonStop c) something else What would you all prefer? It doesn't matter to me one way or another, as long as I can get the dependency to /dev/zero removed so tests will run here. Thanks, Randall