summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
* * include/cygwin/version.h: Bump minor API version.Corinna Vinschen2002-07-242-1/+6
|
* * fhandler_serial.cc: Change 'must_init_serial_line capability'Corinna Vinschen2002-07-244-15/+22
| | | | | | to 'supports_reading_modem_output_lines' throughout (negated meaning). * wincap.cc: Ditto. * wincap.h: Ditto.
* * calls.texinfo: Add fcloseall and fcloseall_r.Corinna Vinschen2002-07-242-0/+6
|
* * cygwin.din (fcloseall): Add symbol for export.Corinna Vinschen2002-07-242-0/+9
| | | | (fcloseall_r): Ditto.
* * path.cc (path_conv::check): Always set fileattr when component == 0.Christopher Faylor2002-07-245-15/+22
| | | | | | | (readlink): Use path_conv method rather than field. * fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Ditto, throughout. * path.h (path_conv): Make fileattr private. * exceptions.cc (try_to_debug): Default to idle priority when looping.
* * include/oleauto.h (V_UNION): Correct definition for case ofDanny Smith2002-07-232-3/+10
| | | | | NONAMELESSUNION: (V_VT): Likewise.
* * fhandler_serial.cc: Use must_init_serial_line capability throughout.Corinna Vinschen2002-07-234-2/+21
| | | | | * wincap.cc: Set flag must_init_serial_line appropriately. * wincap.h: Add flag must_init_serial_line.
* * security.cc (get_group_sidlist): Create group list from /etc filesCorinna Vinschen2002-07-232-4/+7
| | | | even if DC is available but access fails.
* * include/oleauto.h (V_BOOL): Define in terms of boolVal,Danny Smith2002-07-232-4/+5
| | | | not bool, for C as well as C++.
* * fhandler_serial.cc: Fix formatting problems introduced by below changes.Christopher Faylor2002-07-222-63/+60
|
* * fhandler.h (class fhandler_serial): Add new members ofCorinna Vinschen2002-07-224-2/+168
| | | | | | | | | | | | | | the class - rts,dtr and method ioctl(). Variables rts and dtr important for Win 9x only. * fhandler_serial.cc (fhandler_serial::open): Add initial setting of dtr and rts. Important for Win 9x only. (fhandler_serial::ioctl): New function. Implements commands TIOCMGET, TIOCMSET and TIOCINQ. (fhandler_serial::tcflush): Fixed found error. (fhandler_serial::tcsetattr): Add settings of rts and dtr. Important for Win 9x only. * termios.h: Add new defines as a support for ioctl() function on serial device.
* 2002-07-22 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith2002-07-224-0/+1017
| | | | | | | | * include/shlwapi.h: New file. Thanks to: Mattia Barbon <mbarbon@dsi.unive.it> and Victor Porton <porton@narod.ru> for contributions. * lib/shlwapi.def: New file. * lib/test.c: #include shlwapi.h.
* 2002-07-21 Bart Oldeman <bart.oldeman@btinternet.com>Danny Smith2002-07-214-3/+12
| | | | | | | | | * include/shlobj.h (FCIDM_MENU_FAVORITES): Remove bogus character. * include/winsock2.h (struct sockaddr): Use __int64 instead of long long. * include/kernel32.c (GetCurrentFiber, GetFiberData): Watcom does not need external library functions.
* * autoload.cc (LoadDLLprime): Add jmp call to allow streamlining of later jmpChristopher Faylor2002-07-202-8/+15
| | | | | rewrite. (doit): Avoid use of cx register. Just change one word to avoid races.
* 2002-07-20 Casper S. Hornstrup <chorns@users.sourceforge.net>Danny Smith2002-07-203-2/+19
| | | | | | | | | | | * include/winbase.h (GetEnvironmentStringsA): Remove duplicate definition. (Interlocked*): Wrap in #ifndef __INTERLOCKED_DECLARED to avoid compile error when already defined. 2002-07-20 Steven Edwards <Steven_Ed4153@yahoo.com> * include/winuser.h (WM_MENURBUTTONUP): Add define.
* white spaceChristopher Faylor2002-07-191-8/+8
|
* * security.cc (get_unix_group_sidlist): Create.Corinna Vinschen2002-07-192-49/+51
| | | | | | | | | | | (get_supplementary_group_sidlist): Evolve into get_unix_group_sidlist. (get_user_local_groups): Add check for duplicates. (get_user_primary_group): Suppress. (get_group_sidlist): Silently ignore PDC unavailability. Call get_unix_group_sidlist() before get_user_local_groups(). Remove call to get_supplementary_group_sidlist(). Never call get_user_primary_group() as the passwd group is always included. Add well_known_authenticated_users_sid in only one statement.
* * fhandler_serial.cc (fhandler_serial::tcflush): Fix typo.Christopher Faylor2002-07-192-1/+5
|
* 2002-07-17 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith2002-07-173-47/+57
| | | | | | | | | | * include/commdlg.h: Define CDN_* notification message constants as UINT. 2002-07-17 Mattia Barbon <mbarbon@users.sourceforge.net> * include/commctrl.h: Define notification message constants for NMHDR.code as UINT.
* 2002-07-17 Bart Oldeman <bart.oldeman@btinternet.com> Danny Smith2002-07-176-5/+95
| | | | | | | | | | | | | | | | | | | | * include/ddeml.h (MH_*) Add defines. (MONHSZSTRUCT): Add structure and typedefs. (MONLINKSTRUCT): Ditto. (MONCONVSTRUCT): Ditto. (MONCBSTRUCT): Ditto. (MONERRSTRUCT): Ditto. (MONMSGSTRUCT): Ditto. * include/windef.h: Don't define __cdecl or _cdecl for __WATCOM__. Don't define _export or __export for __WATCOM__. * include/windows.h (imm.h): #include. * include/winnt.h (LPEXCEPTION_RECORD): Add typedef. 2002-07-17 Danny Smith <dannysmith@users.sourceforge.net> * include/wtypes.h: Remove duplicate #includes of rhc.h and rpcndr.h.
* jdf fix.Christopher Faylor2002-07-161-6/+6
|
* * security.cc (get_group_sidlist): Fix formatting.Corinna Vinschen2002-07-152-3/+9
|
* * dcrt0.cc (initial_env): Force path and CYGWIN_DEBUG contents to lower case.Christopher Faylor2002-07-153-6/+16
| | | | | * exceptions.cc (error_start_init): Use the name derived from GetModuleName rather than myself->progname.
* * dcrt0.cc (dll_crt0_1): Move debug_init call back to here. Avoid a compilerChristopher Faylor2002-07-147-27/+42
| | | | | | | | | | | | | | | warning. * shared.cc (memory_init): Remove debug_init call. * debug.h (handle_list): Change "clexec" to "inherited". * debug.cc: Remove a spurious declaration. (setclexec): Conditionalize away since it is currently unused. (add_handle): Use inherited field rather than clexec. (debug_fixup_after_fork_exec): Ditto. Move debugging output to delete_handle. (delete_handle): Add debugging output. * fhandler.cc (fhandler_base::set_inheritance): Don't bother setting inheritance in debugging table since the handle was never protected anyway. (fhandler_base::fork_fixup): Ditto. * exceptions.cc (debugger_command): Revert.
* * debug.cc (clexec): Add missing `hl = hl->next'.Christopher Faylor2002-07-142-0/+5
|
* * Makefile.in (cygrun.exe): Add a -lcygwin on the end.Christopher Faylor2002-07-142-1/+5
|
* * Makefile.in (cygserver.exe): Add -lstdc++.Christopher Faylor2002-07-142-2/+7
| | | | (cygrun.exe): Move -lgcc last.
* add initial informationChristopher Faylor2002-07-131-1/+3
|
* cleanup a tadChristopher Faylor2002-07-131-8/+18
|
* * dcrt0.cc (dll_crt0_1): Delay closing of some handles until cygheap has beenChristopher Faylor2002-07-135-9/+66
| | | | | | | | | | set up. (break_here): New function, for debugging. (initial_env): Add program name to "Sleeping" message. Implement new "CYGWIN_DEBUG" environment variable option. * exceptions.cc (debugger_command): Add argument to dumper call. * strace.cc (strace::hello): Use winpid if cygwin pid is unavailable. (strace::vsprntf): Ditto.
* * debug.h (handle_list): Move here from debug.cc. Add "inherit" flagChristopher Faylor2002-07-1318-111/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | functionality. * cygheap.cc (init_cheap): Move cygheap_max calculation to _csbrk. (_csbrk): Reorganize to not assume first allocation is <= 1 page. (cygheap_setup_for_child): Mark protected handle as inheritable. * cygheap.h (cygheap_debug): New struct. (init_cygheap): Add new structure when debugging. * dcrt0.cc (dll_crt0_1): Remove call to debug_init. Close ppid_handle here, if appropriate. Don't protect subproc_ready, since it is already protected in the parent. Call memory_init prior to ProtectHandle to ensure that cygheap is set up. Call debug_fixup_after_fork_exec when appropriate. (_dll_crt0): Don't close ppid_handle here. * debug.cc: Use cygheap debug structure rather than static elements throughout. (add_handle): Don't issue a warning if attempt to protect handle in exactly the same way from exactly the same place. Add pid info to warning output. Accept additional argument controlling whether handle is to be inherited. Add pid to stored information. (debug_fixup_after_fork_exec): Renamed from debug_fixup_after_fork. Reorganize to avoid erroneously skipping handles. (mark_closed): Add pid info to warning output. (setclexec): Rename from setclexec_pid. * fhandler.cc (fhandler_base::get_default_fmode): Minor reorg. (fhandler_base::fstat): Add debugging output. (fhandler_base::set_inheritance): Call setclexec rather than setclexec_pid. (fhandler_base::fork_fixup): Ditto. * fhandler_console.cc (get_tty_stuff): Mark protected handle as inheritable. * fhandler_tty.cc (fhandler_tty_slave::open): Ditto. * tty.cc (tty::make_pipes): Ditto. (tty::common_init): Ditto. * fork.cc (fork_parent): Ditto. (fork_child): Close protected handles with correct name. Remove debug_fixup_after_fork call. * fhandler_socket.cc (fhandler_socket::create_secret_event): Mark protected handle as inheritable/non-inheritable, as appropriate. * shared.cc (memory_init): Mark protected handle as inheritable. Call debug_init here. * sigproc.cc (wait_sig): Close protected handle with correct name. * spawn.cc (spawn_guts): Rename spr to subproc_ready and mark it as inheritable. * exceptions.cc (debugger_command): Try to run dumper.exe, if found. * syscalls.cc (fstat64): Don't follow symlinks for path_conv lookup since path is already resolved.
* fyx tipo.Christopher Faylor2002-07-121-1/+1
|
* * cygwin.in: Change erroneous entries.Christopher Faylor2002-07-122-2/+5
|
* * fhandler_disk_file.cc (fhandler_disk_file::open): Don'tCorinna Vinschen2002-07-112-3/+6
| | | | | move the file pointer to the end of file if O_APPEND is specified in the open flags.
* jdf patchChristopher Faylor2002-07-111-102/+482
|
* more jdfChristopher Faylor2002-07-101-27/+54
|
* Merge changes from MinGWEarnie Boyd2002-07-094-0/+14
|
* * lib/ntdll.def: Remove \r.Earnie Boyd2002-07-091-283/+283
|
* * debug.cc: Avoid explicit zeroing of globals.Christopher Faylor2002-07-093-10/+39
| | | | | | | | (lock_debug): Make locker a static member. Avoid unlocking when already unlocked (from Conrad Scott). (debug_init): Initialize lock_debug::locker here. * fork.cc (fork_child): Fix up fdtab earlier to avoid some (but not all) confusion with close-on-exec craziness.
* More jdf changes.Christopher Faylor2002-07-091-137/+176
|
* Joshua Daniel Franklin update.Christopher Faylor2002-07-081-62/+121
|
* doc patch.Christopher Faylor2002-07-071-76/+85
|
* * configure.in: Check for libiconv.a.Christopher Faylor2002-07-074-38/+78
| | | | | * configure: Regenerate. * Makefile.in: Add libiconv.a to libraries required for dumper.exe.
* * Makefile.in: Use MINGW stuff from Makefile.common.Christopher Faylor2002-07-074-23/+15
|
* * testsuite/winsup.api/winsup.exp: Add -mwin32 to gcc flags so windows.h willChristopher Faylor2002-07-072-1/+6
| | | | be found.
* * Makefile.common (MINGW_INCLUDES): Simplify.Christopher Faylor2002-07-072-43/+8
| | | | | (MINGW_CFLAGS): New. (MINGW_CXXFLAGS): Ditto.
* Add missing entry from 2002-06-25Christopher Faylor2002-07-071-0/+43
|
* * fhandler.h (fhandler_socket::is_unconnected): Constify.Corinna Vinschen2002-07-065-20/+55
| | | | | | | | | | | | | | | | | | | (fhandler_socket::is_connect_pending): Ditto. (fhandler_socket::is_connected): Ditto. (fhandler_socket::set_connect_state): New method. (struct select_record): Add member `except_on_write'. (select_record::select_record): Initialize all bool values to `false'. * fhandler_socket.cc: Use set_connect_state() method throughout. (fhandler_socket::connect): Set state always to connected if connection isn't pending. * net.cc (cygwin_getsockopt): Revert erroneous previous patch. * select.cc (set_bits): Check for `except_on_write'. Set fd in write_fds if set. Set connect state to connected if fd has been returned by WINSOCK_SELECT. (peek_socket): Check for `except_on_write'. (start_thread_socket): Ditto. (fhandler_socket::select_write): Don't set `write_ready' if connect is pending. Set `except_on_write' if connect is pending.
* add missing entryChristopher Faylor2002-07-051-0/+3
|
* * ntdll.h (_SYSTEM_PROCESSOR_TIMES): Force eight byte alignment.Christopher Faylor2002-07-053-36/+43
| | | | (_SYSTEM_TIME_OF_DAY_INFORMATION): Ditto.