* path.cc (path_conv::check): Always set executable bit for executable
extension.
This commit is contained in:
parent
197f807736
commit
2701126aaf
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -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;
|
||||
|
@ -787,7 +787,7 @@ out:
|
||||
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 &&
|
||||
|
@ -95,7 +95,7 @@ public:
|
||||
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 ()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user