Re: ttyname_r on Mac

2010-04-26 Thread Simon Josefsson
Bruno Haible writes: >> So it seems ttyname_r on older Mac OS X versions returned char*. > > Yes. The attached patch fixes it for Solaris 10 and - presumably - also > on the MacOS X 10.4 that you are using. It appears to work, the test-fcntl-h-c++ test builds OK in: http://autobuild.josefsson.o

Re: ttyname_r on Mac

2010-04-25 Thread Bruno Haible
Hi Simon, > There appears to be a ttyname_r signature bug, see: > http://autobuild.josefsson.org/gnulib/log-201004250717723515000.txt > > g++ -DHAVE_CONFIG_H -I. -DGNULIB_STRICT_CHECKING=1 -I. -I. -I.. -I./.. > -I../gllib -I./../gllib -I/opt/local/include -MT test-fcntl-h-c++.o -MD -MP > -MF

ttyname_r on Mac

2010-04-25 Thread Simon Josefsson
Note: this problem doesn't cause my any immediate problem, but it breaks the daily build on Mac. I don't think it is important to work on fixing this, but someone finds it interesting. There appears to be a ttyname_r signature bug, see: http://autobuild.josefsson.org/gnulib/log-201004250717723515