prefer (X ? 1 : -1) when converting from boolean (1,0) to int (1,-1)
[pspp] / lib / isdir.h
2009-12-26 Jim Meyeringisdir: clean up, since at least grep still uses it