extension.
+2002-05-18 Christopher Faylor <cgf@redhat.com>
+
+ * path.cc (path_conv::check): Always set executable bit for executable
+ extension.
+
2002-05-17 Christopher Faylor <cgf@redhat.com>
* fhandler.cc (fhandler_base::lseek): Avoid calling SetFilePointer with
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;
if (saw_symlinks)
set_has_symlinks ();
- if (!error && !(path_flags & (PATH_ALL_EXEC | PATH_NOTEXEC)))
+ if (!error && !(path_flags & PATH_ALL_EXEC))
{
const char *p = strchr (path, '\0') - 4;
if (p >= path &&
return thread2signal ? thread2signal->sigs[sig] : sigs[sig];
}
- inline void copysigs (_pinfo *p) {sigs = p->sigs;}
+ inline void copysigs (_pinfo *p) {memcpy (sigs, p->sigs, sizeof (sigs));}
inline sigset_t& getsigmask ()
{