Re: HAVE_RELIABLE_FIONREAD & ioctl

2011-07-21 Thread Bruno Haible
Sam Steingold wrote: > > +extern > > +# ifdef __cplusplus > > +"C" > > +# endif > > +DIR *fdopendir (int); > > that's pretty awful. > maybe there is a way to use the m4 magic to avoid replacing 1 line with 5? Maybe. But the number of lines of a test program is not important to me; it is much more

Re: HAVE_RELIABLE_FIONREAD & ioctl

2011-07-21 Thread Sam Steingold
> * Bruno Haible [2011-07-22 00:18:04 +0200]: > > -extern DIR *fdopendir (int); > +extern > +# ifdef __cplusplus > +"C" > +# endif > +DIR *fdopendir (int); that's pretty awful. maybe there is a way to use the m4 magic to avoid replacing 1 line with 5? -- Sam Steingold (http://sds.podval.org/) o

Re: HAVE_RELIABLE_FIONREAD & ioctl

2011-07-21 Thread Bruno Haible
Sam Steingold wrote: > > The problem that clisp/src/m4/ioctl.m4 tests against is fixed in Solaris 7 > > and newer, but is present in Solaris 2.6, FreeBSD 6.4, IRIX 6.5. > > are they still "porting targets"? > could you please move this to gnulib from clisp? FreeBSD 6.4 is not so different from th

Re: HAVE_RELIABLE_FIONREAD & ioctl

2011-07-21 Thread Sam Steingold
> * Bruno Haible [2011-07-21 02:19:07 +0200]: > >> I pulled ioctl module from gnulib because of a compilation error about >> "ioctl_used_without_requesting_gnulib_ioctl" and I am wondering whether >> the HAVE_RELIABLE_FIONREAD et al are still relevant. > > The problem that clisp/src/m4/ioctl.m4 te

Re: HAVE_RELIABLE_FIONREAD & ioctl

2011-07-20 Thread Bruno Haible
Hi Sam, > I pulled ioctl module from gnulib because of a compilation error about > "ioctl_used_without_requesting_gnulib_ioctl" and I am wondering whether > the HAVE_RELIABLE_FIONREAD et al are still relevant. The problem that clisp/src/m4/ioctl.m4 tests against is fixed in Solaris 7 and newer, b

HAVE_RELIABLE_FIONREAD & ioctl

2011-07-20 Thread Sam Steingold
Hi Bruno, I pulled ioctl module from gnulib because of a compilation error about "ioctl_used_without_requesting_gnulib_ioctl" and I am wondering whether the HAVE_RELIABLE_FIONREAD et al are still relevant. Also, I get this error on linux: /home/sds/src/clisp/sf/clisp/build-g-gxx/gllib/sys/ioctl.h: