putc(-1) == EOF on IRIX in frcode

2016-06-12 Thread Rainer M. Canavan
I've noticed that updatedb has consistently failed since upgrading to findutils 4.6.0. I'm using IRIX 6.5.30 and the mipspro compilers. It turns out that frcode assumes that a write error has occurred, although in reality everything went well, because putc(-1, stdout) returns -1 on success _and_

Re[2]: __attribute__ and timespec_t problems building findutils on IRIX

2016-03-02 Thread Rainer M. Canavan
Looks like I should double-check my bug reports. The problem wasn't timeval, it was timespec_t. The error below occurs, whenever the gnulib is included without including beforehand, even when compiling a file containing just #include #include cc-1020 c99: ERROR File = /usr/include/internal

__attribute__ and timeval problems building findutils on IRIX

2016-03-01 Thread Rainer M. Canavan
Hi, I've stumbled over two small problems while trying to build findutils on IRIX with the mipspro compilers. The first problem was that the compiler doesn't support __attribute__, which is correctly detected by configure: checking for __attribute__ ((__noreturn__)) support... no which results i