Apply this simple patch:
*** posix/sys/stat/stat.c~2 Wed Mar 20 00:53:14 1996
--- posix/sys/stat/stat.c Sat Apr 6 13:20:20 1996
*************** stat_assist(const char *path, struct sta
*** 572,578 ****
/* Set regular file bit. */
statbuf->st_mode |= S_IFREG;
! if ( (_djstat_flags & _STAT_EXECBIT) == 0 )
{
/* Set execute bits based on file's extension and
first 2 bytes. */
--- 572,578 ----
/* Set regular file bit. */
statbuf->st_mode |= S_IFREG;
! if ((_djstat_flags & _STAT_EXECBIT) != _STAT_EXECBIT)
{
/* Set execute bits based on file's extension and
first 2 bytes. */