aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/pinfo.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-05-18 20:27:49 +0000
committerChristopher Faylor <me@cgf.cx>2002-05-18 20:27:49 +0000
commit2701126aaf27767026307246d0085d4c2e00138d (patch)
tree98b230ac51dd900f0f8a7623fb520c2636e4bd95 /winsup/cygwin/pinfo.h
parent197f8077369499d4411d8e25628d3ea36da549ca (diff)
downloadnewlib-2701126aaf27767026307246d0085d4c2e00138d.zip
newlib-2701126aaf27767026307246d0085d4c2e00138d.tar.gz
newlib-2701126aaf27767026307246d0085d4c2e00138d.tar.bz2
* path.cc (path_conv::check): Always set executable bit for executable
extension.
Diffstat (limited to 'winsup/cygwin/pinfo.h')
-rw-r--r--winsup/cygwin/pinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/pinfo.h b/winsup/cygwin/pinfo.h
index cad2c4a..55284d1 100644
--- a/winsup/cygwin/pinfo.h
+++ b/winsup/cygwin/pinfo.h
@@ -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 ()
{