mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-22 00:38:06 +08:00
* cygwin.din: Remove cygwin_getshared.
* shared.cc: Ditto. * include/cygwin/version.h: Bump API minor number. * dtable.cc (dtable::build_fhandler): Fix incorrect test for socket.
This commit is contained in:
parent
24b1ccc647
commit
dbc82a87a3
@ -1,6 +1,17 @@
|
|||||||
|
Tue Sep 11 11:23:10 2001 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
|
* cygwin.din: Remove cygwin_getshared.
|
||||||
|
* shared.cc: Ditto.
|
||||||
|
* include/cygwin/version.h: Bump API minor number.
|
||||||
|
|
||||||
|
Tue Sep 11 11:14:11 2001 Dmitry Timoshkov <dmitry@baikal.ru>
|
||||||
|
|
||||||
|
* dtable.cc (dtable::build_fhandler): Fix incorrect test for socket.
|
||||||
|
|
||||||
Tue Sep 11 21:22:00 2001 Robert Collins <rbtcollins@hotmail.com>
|
Tue Sep 11 21:22:00 2001 Robert Collins <rbtcollins@hotmail.com>
|
||||||
|
|
||||||
* thread.cc (pthread_cond::~pthread_cond): Bugfix: Incorrect use of InterlockExchangePointer.
|
* thread.cc (pthread_cond::~pthread_cond): Bugfix: Incorrect use of
|
||||||
|
InterlockExchangePointer.
|
||||||
(pthread_mutex::~pthread_mutex): Ditto.
|
(pthread_mutex::~pthread_mutex): Ditto.
|
||||||
(semaphore::~semaphore): Ditto.
|
(semaphore::~semaphore): Ditto.
|
||||||
|
|
||||||
@ -8,20 +19,26 @@ Tue Sep 11 18:15:00 2001 Robert Collins <rbtcollins@hotmail.com>
|
|||||||
|
|
||||||
* dcrt0.cc (cygwin_finished_initializing): Copy _mtinterf on fork;
|
* dcrt0.cc (cygwin_finished_initializing): Copy _mtinterf on fork;
|
||||||
* fork.cc (fork_child): fixup thread-related structures after fork;
|
* fork.cc (fork_child): fixup thread-related structures after fork;
|
||||||
* thread.cc (MTinterface::Init): Initialise the new mutex, condition and semaphore lists.
|
* thread.cc (MTinterface::Init): Initialise the new mutex, condition
|
||||||
(MTinterface::fixup_after_fork): Iterate through each list and fixup the objects.
|
and semaphore lists.
|
||||||
|
(MTinterface::fixup_after_fork): Iterate through each list and fixup
|
||||||
|
the objects.
|
||||||
(pthread_cond::pthread_cond): Add this to the condition list.
|
(pthread_cond::pthread_cond): Add this to the condition list.
|
||||||
(pthread_cond::~pthread_cond): Remove this from the condition list.
|
(pthread_cond::~pthread_cond): Remove this from the condition list.
|
||||||
(pthread_cond::fixup_after_fork): Recreate as best we can the pre-fork state.
|
(pthread_cond::fixup_after_fork): Recreate as best we can the pre-fork
|
||||||
|
state.
|
||||||
(pthread_mutex::pthread_mutex): Add this to the mutex list.
|
(pthread_mutex::pthread_mutex): Add this to the mutex list.
|
||||||
(pthread_mutex::~pthread_mutex): Remove this from the mutex list.
|
(pthread_mutex::~pthread_mutex): Remove this from the mutex list.
|
||||||
(pthread_mutex::fixup_after_fork): Recreate as best we can the pre-fork state.
|
(pthread_mutex::fixup_after_fork): Recreate as best we can the pre-fork
|
||||||
(semaphore::semaphore): Store the initial value, and add this to the semaphore list.
|
state.
|
||||||
|
(semaphore::semaphore): Store the initial value, and add this to the
|
||||||
|
semaphore list.
|
||||||
(semaphore::~semaphore): Remove this from the semaphore list.
|
(semaphore::~semaphore): Remove this from the semaphore list.
|
||||||
(semaphore::Post): Increment the current semaphore value.
|
(semaphore::Post): Increment the current semaphore value.
|
||||||
(semaphore::TryWait): Decrement the current semaphore value.
|
(semaphore::TryWait): Decrement the current semaphore value.
|
||||||
(semaphore::Wait): Ditto.
|
(semaphore::Wait): Ditto.
|
||||||
(semaphote::fixup_after_fork): Recreate the pre-fork state as best we can.
|
(semaphote::fixup_after_fork): Recreate the pre-fork state as best we
|
||||||
|
can.
|
||||||
* thread.h (pthread_mutex): New members to allow fixup_after_fork.
|
* thread.h (pthread_mutex): New members to allow fixup_after_fork.
|
||||||
(pthread_cond): Ditto.
|
(pthread_cond): Ditto.
|
||||||
(semaphore): Ditto.
|
(semaphore): Ditto.
|
||||||
|
@ -1037,8 +1037,6 @@ vhangup
|
|||||||
_vhangup = vhangup
|
_vhangup = vhangup
|
||||||
nice
|
nice
|
||||||
_nice = nice
|
_nice = nice
|
||||||
cygwin_getshared
|
|
||||||
cygwin32_getshared = cygwin_getshared
|
|
||||||
cygwin_conv_to_win32_path
|
cygwin_conv_to_win32_path
|
||||||
cygwin_conv_to_full_win32_path
|
cygwin_conv_to_full_win32_path
|
||||||
cygwin_conv_to_posix_path
|
cygwin_conv_to_posix_path
|
||||||
|
@ -246,7 +246,7 @@ dtable::build_fhandler (int fd, const char *name, HANDLE handle)
|
|||||||
devn = FH_CONIN;
|
devn = FH_CONIN;
|
||||||
else if (GetConsoleScreenBufferInfo (handle, &cinfo))
|
else if (GetConsoleScreenBufferInfo (handle, &cinfo))
|
||||||
devn= FH_CONOUT;
|
devn= FH_CONOUT;
|
||||||
else if (wsock_started && getpeername ((SOCKET) handle, &sa, &sal))
|
else if (wsock_started && getpeername ((SOCKET) handle, &sa, &sal) == 0)
|
||||||
devn = FH_SOCKET;
|
devn = FH_SOCKET;
|
||||||
else if (GetFileType (handle) == FILE_TYPE_PIPE)
|
else if (GetFileType (handle) == FILE_TYPE_PIPE)
|
||||||
devn = FH_PIPE;
|
devn = FH_PIPE;
|
||||||
|
@ -143,10 +143,11 @@ details. */
|
|||||||
43: sigsetjmp, siglongjmp fixed
|
43: sigsetjmp, siglongjmp fixed
|
||||||
44: Export dirfd
|
44: Export dirfd
|
||||||
45: perprocess change, gamma_r, gammaf_r, lgamma_r, lgammaf_r
|
45: perprocess change, gamma_r, gammaf_r, lgamma_r, lgammaf_r
|
||||||
|
46: Remove cygwin_getshared
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define CYGWIN_VERSION_API_MAJOR 0
|
#define CYGWIN_VERSION_API_MAJOR 0
|
||||||
#define CYGWIN_VERSION_API_MINOR 45
|
#define CYGWIN_VERSION_API_MINOR 46
|
||||||
|
|
||||||
/* There is also a compatibity version number associated with the
|
/* There is also a compatibity version number associated with the
|
||||||
shared memory regions. It is incremented when incompatible
|
shared memory regions. It is incremented when incompatible
|
||||||
|
@ -92,10 +92,12 @@ wv_cvs_tag="$cvs_tag"
|
|||||||
|
|
||||||
#
|
#
|
||||||
# Look in the source directory containing the include/cygwin/version.h
|
# Look in the source directory containing the include/cygwin/version.h
|
||||||
# file for a ".snapshot-date" file. If one is found then this information
|
# and set dir accordingly.
|
||||||
# will be saved for output to the DLL.
|
|
||||||
#
|
|
||||||
dir=`echo $dir | sed -e 's%/include/cygwin.*$%%' -e 's%include/cygwin.*$%.%'`
|
dir=`echo $dir | sed -e 's%/include/cygwin.*$%%' -e 's%include/cygwin.*$%.%'`
|
||||||
|
|
||||||
|
# Look in $dir for a a ".snapshot-date" file. If one is found then this
|
||||||
|
# information will be saved for output to the DLL.
|
||||||
|
#
|
||||||
if [ -r "$dir/.snapshot-date" ]; then
|
if [ -r "$dir/.snapshot-date" ]; then
|
||||||
read snapshotdate < "$dir/.snapshot-date"
|
read snapshotdate < "$dir/.snapshot-date"
|
||||||
snapshot="snapshot date
|
snapshot="snapshot date
|
||||||
|
@ -201,14 +201,6 @@ shared_info::heap_chunk_size ()
|
|||||||
return heap_chunk_in_mb << 20;
|
return heap_chunk_in_mb << 20;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* For apps that wish to access the shared data. */
|
|
||||||
|
|
||||||
shared_info *
|
|
||||||
cygwin_getshared ()
|
|
||||||
{
|
|
||||||
return cygwin_shared;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Function to return a common SECURITY_DESCRIPTOR * that
|
* Function to return a common SECURITY_DESCRIPTOR * that
|
||||||
* allows all access.
|
* allows all access.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user