Age | Commit message (Collapse) | Author |
|
* winsup.api/ltp/mknod01.c: Remove root check when running on cygwin.
|
|
|
|
ensure that flags are properly restored.
|
|
* include/ddk/scsi.h: Replace assert with ASSERT.
* include/ddk/video.h: Ditto.
* include/ddk/winddk.h: Ditto. Remove the assert macro.
* include/ddk/tdi.h: Correct packing.
|
|
* winsup.api/pthread/mutex8n.c: Ditto.
* winsup.api/pthread/mutex8r.c: Ditto.
|
|
New define.
(PTHREAD_NORMAL_MUTEX_INITIALIZER_NP): Ditto.
(PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Ditto.
* thread.cc (pthread_mutex::is_good_initializer):
Check for all posssible initializers
(pthread_mutex::is_good_initializer_or_object): Ditto.
(pthread_mutex::is_good_initializer_or_bad_object): Ditto.
(verifyable_object_isvalid): Support up to three static
initializers.
(verifyable_object_isvalid (void const *,long)): Remove.
(pthread_cond::is_good_initializer_or_bad_object): Remove
unneeded objectState var.
(pthread_cond::init): Condition remains unchanged when creation
has failed.
(pthread_rwlock::is_good_initializer_or_bad_object): Remove
unneeded objectState var.
(pthread_rwlock::init): Rwlock remains unchanged when creation
has failed.
(pthread_mutex::init): Remove obsolete comment.
Mutex remains unchanged when creation has failed. Add support
for new initializers.
(pthread_mutex_getprioceiling): Do not create mutex,
just return ENOSYS.
(pthread_mutex_lock): Simplify.
(pthread_mutex_trylock): Remove unneeded local themutex.
(pthread_mutex_unlock): Just return EPERM if mutex is not
initialized.
(pthread_mutex_setprioceiling): Do not create mutex,
just return ENOSYS.
* thread.h (verifyable_object_isvalid): Support up to three
static initializers.
(verifyable_object_isvalid (void const *,long)): Remove
prototype.
(pthread_mutex::init): Add optional initializer to parameter
list.
|
|
pending signals. Restore edx later.
(sigdelayed): Save edx earlier.
* malloc_wrapper.cc (malloc_init): Add some more debugging output.
|
|
NONAMELESSUNION case.
|
|
* include/oleauto.h (V_UNION, V_VT, V_DECIMAL): Use
__VARIANT_NAME_ constants.
|
|
|
|
variable block size, read only one block, read directly into user
supplied buffer, return ENOMEM if user supplied buffer is smaller
than size of next block to read. Use read2 instead of bytes_to_read
to count number of bytes read.
* fhandler_tape.cc (fhandler_dev_tape::open): Add debug output.
|
|
process struct pointer, which isn't fixed under Cygwin.
(semexit_myhook): Ditto. Adjust debug print statements to print
Cygwin and Windows PIDs instead of process pointer under Cygwin.
|
|
|
|
* include/oleauto.h (VAR_VALIDDATE, VAR_FORMAT_NOSUBSTITUTE,
VAR_FOURDIGITYEARS) Define new constants. Group VAR_* defines
together
(V_UI2, V_UI4, V_UI4REF, V_UI, V_UI8REF) Define macros.
(V_I8, V_I8REF): Correct macros.
(V_DECIMAL): Correct macro deginitions.
(V_INT_PTR, V_UINT_PTR, V_INT_PTRREF, V_UINT_PTRREF): Define
constants.
(VTBIT_*): Define constants.
(UDATE): Add structure definition.
(VarDateFromUdate, VarDateFromUdateEx, VarUdateFromDate): Declare
functions.
(SafeArrayCreateVector): Correct parameter type from UINT to ULONG
(SafeArrayCreateVectorEx): Declare function.
(Var*): declare VARIANT manipulation functions.
* include/ocidl.h (IPicture_*): Define IPicture COBJ macros.
* include/oaidl.h (IRecordInfo_*): Define IRecordInfo COBJ
macros.
|
|
|
|
|
|
2004-03-01 Martin Fuchs <martin-fuchs@gmx.net>
* include/winuser.h (COLOR_*): Define missing constants.
|
|
* include/oaidl.h (FADF_*) Define missing constants.
(IDispatch_*): Define COBJ macros.
(VARIANT): Add missing union members llVal and ullVal.
(wireVARIANT): Likewise.
(ITypeinfo_*): Define COBJ macros.
* include/oleauto.h (Var*FromDisp): Correct parameter type from
LPDISPATCH* to LPDISPATCH.
(VARCMP_*, VAR_LOCALBOOL, LOCALE_USE_NLS, VARIANT_*,
VAR_CALENDAR_*): Add missing constants.
(SafeArray[Get/Set]*): Add prototypes.
(Var*From*): Add missing prototypes.
(NUMPRS_*): Add defines.
(NUMPARSE): Define structure.
(VarParseNumFromStr,VarNumFromParseNum): Add prototypes.
* include/winerror.h (DISP_E_DIVBYZERO): Define constant.
* include/winuser.h (COLOR_*): Define missing constants.
* include/wtypes.h (enum VARENUM) Add VT_INT_PTR, VT_UINT_PTR.
(VT_INT_PTR, VT_UINT_PTR): Remove macro definitions.
|
|
in the range is always tested. Add appropriate const.
* mmap.cc (mmap_record::aloc_fh): Remove unused static path_conf object.
|
|
to force signal to be handled. Zero event here to prevent races.
* signal.cc (sigwaitinfo): Use local handle value for everything since signal
thread could zero event element at any time. Detect when awaking due to thread
not in mask and set return value and errno accordingly. Don't set signal
number to zero unless we've recognized the signal.
* sigproc.cc (sigq): Rename from sigqueue throughout.
* thread.cc (pthread::join): Handle signals received while waiting for thread
to terminate.
* cygwin.din: Export sighold, sigqueue.
* exceptions.cc (sighold): Define new function.
* signal.cc (handle_sigprocmask): Set correct errno for invalid signal.
Simplify debugging output.
(sigqueue): Define new function.
* include/cygwin/signal.h (sighold): Declare new function.
(sigqueue): Ditto.
* include/cygwin/version.h: Bump API minor version number.
* include/limits.h (TIMER_MAX): Define.
(_POSIX_TIMER_MAX): Ditto.
|
|
* winsup.h (check_invalid_virtual_addr): Declare.
* mmap.cc (munmap): Call check_invalid_virtual_addr instead of
IsBadReadPtr.
|
|
_cygtls::call_signal_handler.
* gentls_offsets: Output sizeof field.
* tlsoffsets.h: Regenerate.
|
|
(options): Ditto.
(usage): Report on new option.
(report_mode): New function.
(main): Implement -M option.
|
|
* external.cc (cygwin_internal): Implement CW_GET_BINMODE.
* include/sys/cygwin.h: Declare CW_GET_BINMODE.
|
|
|
|
Add do_sig_wait parameter. Wait for signal_arrived if set to true.
Return WAIT_SIGNALED if signal arrived.
(pthread_cond::wait): Accomodate change to pthread::cancelable_wait.
(pthread::join): Ditto.
(semaphore::_timedwait): Ditto.
(semaphore::_wait): Ditto. Change to return int to allow status
feedback.
(semaphore::wait): Return return value from semaphore::_wait.
* thread.h (WAIT_SIGNALED): New definition.
(pthread::cancelable_wait): Change declaration. Define do_sig_wait
as false by default to not interfere with existing calls accidentally.
(semaphore::_wait): Declare int.
|
|
* include/ddk/video.h: Corrected packing.
|
|
* Makefile.in: Fix problem links in faq0.html file.
* what.texinfo: Remove outdated 'recent' history.
|
|
* dll_init.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD.
* dtable.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD.
* external.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD.
* path.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD.
* pinfo.cc: Update funcsynopsis for DocBook 4.2 SGML DTD.
* shared.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD.
* stackdump.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD.
|
|
SIGSTOP condition.
(_cygtls::call_signal_handler): Restore signal mask using saved oldmask rather
than current oldmask.
|
|
* include/wchar.h (fwide): Use it.
(mbsinit): Ditto.
|
|
* cygpath.cc (dowin): Report on filename conversion errors.
(doit): Ditto.
* strace.cc (main): Use symbolic constant for _STRACE_ALL when setting mask.
|
|
(copy1): New function.
(copyenc): New function.
(mount_item::fnmunge): Return error condition. Use new functions to copy
strings.
(mount_item::build_win32): Ditto.
(mount_info::conv_to_win32_path): Return error condition.
(cygwin_conv_to_posix_path): Return result of path conversion.
(cygwin_conv_to_full_posix_path): Ditto.
(return_with_errno): New macro.
(cygwin_win32_to_posix_path_list): Use new macro to potentially set errno.
(cygwin_posix_to_win32_path_list): Ditto.
* path.h (mount_item::fnmunge): Add size argument.
(mount_item::build_win32): Ditto.
|
|
|
|
|
|
* cygwinenv.sgml: Remove incorrect ^Z information. Add
some tags to server option description.
* textbinary.sgml: Remove incorrect ^Z information.
|
|
Thanks to Philip Lamb <phil at rave dot co dot nz>
|
|
Thanks to Greg Couch <gregcouch@users.sourceforge.net>
|
|
a fork from a non-main thread.
* dcrt0.cc (initial_env): Eliminate parameter and just send DebugBreak when
appropriate.
(dll_crt0_0): Reflect parameter change to initial_env.
(dll_crt0_1): Don't call initial_env.
|
|
(setjmp): Import, add sig stack handling. Store sig stack info.
(longjmp): Call stabilize_sig_stack. Restore sig stack info.
* config/i386/setjmp.c: Remove.
|
|
signal_arrived is initialized when calling it.
|
|
* fhandler.cc (fhandler_base::~fhandler_base): Remove path_conv cleanup.
* syscalls.cc (chroot): Ditto.
* path.cc (path_conv::~path_conv): Define new destructor.
(conv_path_list_buf_size): Remove explicit path_conv cleanup.
* path.h (path_conv::~path_conv): Declare new destructor.
|
|
|
|
|
|
|
|
|
|
where MoveFileEx exists.
|
|
|
|
|
|
* Makefile.in: Ditto.
* README.win32api: Modify license to Public Domain per agreement as
found in the mingw-dvlpr list archive.
|