792011508a
(_crealloc): Ditto. * dcrt0.cc (dll_crt0_1): Default to always checking for executable for now. * dtable.cc (dtable::not_open): Move method. * dtable.h (dtable): Here. * exceptions.cc (ctrl_c_handler): Don't expect process group leader to handle a signal if it doesn't exist. * fhandler.h (fhandler_base): Make openflags protected. * localtime.c (tzsetwall): Check for __CYGWIN__ as well as __WIN32__. * path.cc (path_conv::check): Add some comments. Change strcat to assignment. * lib/_cygwin_S_IEXEC.cc (_cygwin_bob__): Eliminate. * fhandler_tty.cc (fhandler_console::dup): Set controlling terminal if necessary. * fhandler_tty.cc (fhandler_tty_slave::dup): Ditto.
22 lines
505 B
C++
22 lines
505 B
C++
/* _cygwin_S_IEXEC.cc: stat helper stuff
|
|
|
|
Copyright 2001 Red Hat, Inc.
|
|
|
|
This file is part of Cygwin.
|
|
|
|
This software is a copyrighted work licensed under the terms of the
|
|
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
|
details. */
|
|
|
|
extern "C" {
|
|
#include "winsup.h"
|
|
#include <sys/stat.h>
|
|
#include <sys/unistd.h>
|
|
|
|
unsigned _cygwin_S_IEXEC = S_IEXEC;
|
|
unsigned _cygwin_S_IXUSR = S_IXUSR;
|
|
unsigned _cygwin_S_IXGRP = S_IXGRP;
|
|
unsigned _cygwin_S_IXOTH = S_IXOTH;
|
|
unsigned _cygwin_X_OK = X_OK;
|
|
};
|