* path.cc (path_conv::check): Always set executable bit for executable

extension.
This commit is contained in:
Christopher Faylor
2002-05-18 20:27:49 +00:00
parent 197f807736
commit 2701126aaf
4 changed files with 10 additions and 3 deletions

View File

@@ -689,7 +689,9 @@ fhandler_tty_slave::read (void *ptr, size_t len)
if (!(get_ttyp ()->ti.c_lflag & ICANON))
{
vmin = min (INP_BUFFER_SIZE, get_ttyp ()->ti.c_cc[VMIN]);
vmin = get_ttyp ()->ti.c_cc[VMIN];
if (vmin > INP_BUFFER_SIZE)
vmin = INP_BUFFER_SIZE;
vtime = get_ttyp ()->ti.c_cc[VTIME];
if (vmin < 0) vmin = 0;
if (vtime < 0) vtime = 0;