Re: ttyname_r returning EINVAL

2012-04-04 Thread Simon Josefsson
Thomas Schwinge writes: > Hi! > > On Thu, 04 Aug 2011 12:13:19 +0200, Simon Josefsson > wrote: >> As explained as 4) in this e-mail: >> >> https://lists.gnu.org/archive/html/bug-gnulib/2011-08/msg00027.html >> >> it seems like the ttyname_r function returns EINVAL when the provided >> buffer

Re: ttyname_r returning EINVAL

2012-04-04 Thread Thomas Schwinge
Hi! On Thu, 04 Aug 2011 12:13:19 +0200, Simon Josefsson wrote: > As explained as 4) in this e-mail: > > https://lists.gnu.org/archive/html/bug-gnulib/2011-08/msg00027.html > > it seems like the ttyname_r function returns EINVAL when the provided > buffer is too small. > > This doesn't seem con

[PATCH,HURD] ttyname_r returning EINVAL

2011-08-05 Thread Samuel Thibault
From: Simon Josefsson > As explained as 4) in this e-mail: > > https://lists.gnu.org/archive/html/bug-gnulib/2011-08/msg00027.html > > it seems like the ttyname_r function returns EINVAL when the provided > buffer is too small. > > This doesn't seem consistent with the specifcation at: > > htt

ttyname_r returning EINVAL

2011-08-05 Thread Simon Josefsson
As explained as 4) in this e-mail: https://lists.gnu.org/archive/html/bug-gnulib/2011-08/msg00027.html it seems like the ttyname_r function returns EINVAL when the provided buffer is too small. This doesn't seem consistent with the specifcation at: http://pubs.opengroup.org/onlinepubs/969991979