X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fptsname.c;h=cd2cc5ee97d92e9f75c0667aad5f9beb9e21034d;hb=b344de996cd51f8a2f2558a3172016b64d99c622;hp=3c7a9e043b876970eacfbdad4052cc8a302c7865;hpb=1534c83a9aef13ea3d292ebc353f3897dfd57986;p=gnulib.git diff --git a/lib/ptsname.c b/lib/ptsname.c index 3c7a9e043..cd2cc5ee9 100644 --- a/lib/ptsname.c +++ b/lib/ptsname.c @@ -1,5 +1,5 @@ /* Determine name of the slave side of a pseudo-terminal. - Copyright (C) 1998, 2002, 2010 Free Software Foundation, Inc. + Copyright (C) 1998, 2002, 2010-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -43,7 +43,7 @@ static int __ptsname_r (int fd, char *buf, size_t buflen); /* Static buffer for `ptsname'. */ -static char buffer[sizeof (_PATH_TTY) + 2]; +static char buffer[64]; /* Return the pathname of the pseudo terminal slave associated with