summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
* remove erroneous ChangeLog entryChristopher Faylor2004-06-031-4/+0
|
* * winbase.h: Fix all ilock defs as per cygwin 1.5.10 release.Christopher Faylor2004-06-031-0/+4
|
* add missing changelog entryChristopher Faylor2004-06-021-0/+4
|
* * spawn.cc (find_exec): Use has_slash to determine if path has a slash ratherChristopher Faylor2004-06-024-13/+21
| | | | than calculating this twice.
* 2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>Luke Dunstan2004-06-012-0/+9
| | | | * include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.
* 2004-05-29 Filip Navara <xnavara@volny.cz>Luke Dunstan2004-05-312-3/+7
| | | | * include/winnt.h (IMAGE_EXPORT_DIRECTORY): Fixed declaration.
* 2004-05-25 Al Slater <al.slater@scluk.com>Luke Dunstan2004-05-312-0/+13
| | | | | * include/httpext.h (HSE_SEND_HEADER_EX_INFO, HSE_REQ_SEND_RESPONSE_HEADER_EX): Define.
* 2004-05-30 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2004-05-312-24/+31
| | | | | | * path.cc (mount_info::add_item): Make sure native path has drive or UNC form. Call normalize_xxx_path instead of [back]slashify. Remove test for double slashes. Reorganize to always debug_print.
* * pathnames.sgml: Remove /dev/kmem from the supported POSIXJoshua Daniel Franklin2004-05-303-4/+12
| | | | | | device list. * cygwinenv.sgml: Fix typo in check_case description.
* 2004-05-29 John Paul Wallington <jpw@gnu.org>Joshua Daniel Franklin2004-05-302-1/+5
| | | | * ssp.c (usage): Add missing linefeed.
* * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Only try to open the fileChristopher Faylor2004-05-292-1/+6
| | | | if it uses an acl.
* * path.cc (chdir): Always use the normalized_path as posix_cwd, except if itChristopher Faylor2004-05-2844-282/+287
| | | | | | starts with a drive. Also perform whitespace cleanup.
* clarify last entry slightly.Christopher Faylor2004-05-271-2/+2
|
* * kill.cc (listsig): NSIG includes Signal 0, so we need to avoid callingChristopher Faylor2004-05-272-1/+6
| | | | strtosigno with NSIG - 1.
* * winbase.h: Semi-revert previous patch as it caused strange behavior. UseChristopher Faylor2004-05-253-5/+10
| | | | syntax similar to that recommended in mingw-dvlpr.
* * include/cygwin/version.h: Bump DLL minor number to 11.Christopher Faylor2004-05-252-1/+5
|
* * winbase.h: Add proper attributions for memory operands throughout.Christopher Faylor2004-05-252-6/+10
|
* * include/cygwin/version.h: Bump api minor version number.Christopher Faylor2004-05-254-3/+13
| | | | * cygwin.din: Export atoll.
* * tty.cc (tty_list::allocate_tty): Leave tty_mutex armed on successful returnChristopher Faylor2004-05-203-3/+17
| | | | | | from !with_console * fhandler_tty.cc (fhandler_pty_master::open): Release tty_mutex here after all initialization is done.
* * grp.cc (getgrgid_r): Replace struct group by struct __group32 inCorinna Vinschen2004-05-172-4/+10
| | | | | argument definition. (getgrnam_r): Ditto.
* * cygwin.din: Add symbols flockfile, ftrylockfile, funlockfile,Corinna Vinschen2004-05-1711-3/+170
| | | | | | | | | | | | | | | | | | getgrgid_r, getgrnam_r and getlogin_r. * grp.cc (getgrgid_r): New function. (getgrnam_r): Ditto. * syscalls.cc (flockfile): Ditto. (ftrylockfile): Ditto. (funlockfile): Ditto. * sysconf.cc (sysconf): Return LOGIN_NAME_MAX in case of _SC_LOGIN_NAME_MAX. * thread.cc (__cygwin_lock_trylock): Define int. Return value from call to pthread_mutex_trylock. * uinfo.cc (getlogin_r): New function. * include/limits.h: Define LOGIN_NAME_MAX. * include/cygwin/version.h: Bump API minor number. * include/sys/lock.h: Add declarations for __cygwin_lock_xxx functions. * include/sys/stdio.h: Add define for _ftrylockfile.
* * tty.cc (tty_list::init): Move hmaster initialization earlier to preventChristopher Faylor2004-05-172-1/+6
| | | | compilation error.
* Change the name "title_mutex" to "tty_mutex" throughout.Christopher Faylor2004-05-177-42/+50
| | | | | | * tty.h (tty_list::allocate_tty): Turn argument into a boolean. * tty.cc (tty_list::init): Protect entire allocation operation with tty_mutex (formerly title_mutex) to protect against allocation races.
* add missing fileChristopher Faylor2004-05-161-0/+32
|
* * fhandler_socket.cc (fhandler_socket::recvfrom): Use original flagsCorinna Vinschen2004-05-162-12/+15
| | | | | value in each WSARecvFrom call. (fhandler_socket::recvmsg): Ditto. Reformat slightly.
* * cygthread.cc (cygthread::is): Eliminate.Christopher Faylor2004-05-169-105/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * cygthread.h (cygthread::is): Eliminate declaratin. * fhandler_console.cc (fhandler_console::read): Only wait for signal_arrived in the main thread. * fhandler_socket.cc: Include new "wininfo.h". (fhandler_socket::ioctl): Use 'winmsg' rather than 'gethwnd()'. * sync.cc (muto::grab): Define new function. (muto::acquire): Use tls pointer rather than tid. (muto::acquired): Ditto. (muto::reset): Delete. (muto::release): Ditto. Also implement "close on last release". * sync.h (muto::tid): Delete. (muto::tls): New field. (muto::ismine): Delete. (muto::owner): Delete. (muto::unstable): Delete. (muto::reset): Delete. (muto::upforgrabs): New method. (muto::grab): Ditto. (new_muto_name): New define. * wininfo.h: New file. (wininfo): New class. * window.cc: Rework throughout to use winfo class for controlling invisible window operation. (gethwnd): Delete definition. * winsup.h (gethwnd): Delete declaration.
* revert previous not-ready-for-primetime checkin.Christopher Faylor2004-05-156-93/+55
|
* * cygheap.h: Remove some parameter names from declarations throughout.Christopher Faylor2004-05-158-61/+105
| | | | | (cygheap::set): Reflect changes in declaration for arguments and return value from previous checkin.
* * cygheap.h (cwdstuff::set): Modify return value and arguments.Christopher Faylor2004-05-152-36/+68
| | | | | | | * path.cc (chdir): Specify PC_POSIX. Do not call SetCurrentDirectory. Set posix_cwd in a way that does not break find.exe. Change call to cwd.set. (cwdstuff::get_initial): Do not call GetCurrentDirectory here. (cwdstuff::set): Call SetCurrentDirectory and GetCurrentDirectory as needed.
* 2004-05-15 Filip Navara <xnavara@volny.cz>Danny Smith2004-05-154-9/+108
| | | | | | | | * include/ddk/kbdmou.h: New file. * lib/ddk/videoprt.def (VideoPortMapBankedMemory, VideoPortMapDmaMemory, VideoPortMapMemory): Correct suffix. * lib/ddk/ntoskrnl.def (_snprintf, _snwprintf, _vsnprintf, _vsnwprintf, sprintf, swprintf): Export.
* 2004-05-15 Filip Navara <xnavara@volny.cz>Danny Smith2004-05-152-5/+6
| | | | | * include/ddk/ntddk.h: Don't set 4-byte alignment on included headers.
* remove keyword stuffChristopher Faylor2004-05-121-292/+2
|
* * path.cc (path_conv::check): Don't bail out with error if path is "//".Corinna Vinschen2004-05-122-1/+5
|
* * cygheap.h (struct init_cygheap): Add mt_h member.Corinna Vinschen2004-05-123-3/+10
| | | | | * fhandler_tape.cc (mt_h): Drop in favor of cygheap based handle. (mtinfo_init): Use cygheap->mt_h handle. Protect it.
* 2004-05-12 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2004-05-124-36/+61
| | | | | | | | | | | | | | | * tty.h: Remove the %d or %x from all cygtty strings. (tty::open_output_mutex): Only declare. (tty::open_input_mutex): Ditto. (tty::open_mutex): New definition. * fhandlet_tty.cc (fhandler_tty_slave::open): Declare buf with size CYG_MAX_PATH and replace __small_printf calls by shared_name. * tty.cc (tty::create_inuse): Ditto. (tty::get_event): Ditto. (tty::common_init): Ditto. (tty::open_output_mutex): New method definition. (tty::open_input_mutex): Ditto. (tty::open_mutex): New method.
* * fhandler.cc (fhandler_base::open): Set file attributes to correctCorinna Vinschen2004-05-113-0/+9
| | | | | value when creating files. * path.h (class path_conv): Add write accessor for file_attributes.
* * fhandler.h (class fhandler_socket): Add "owner" status flag.Corinna Vinschen2004-05-103-12/+50
| | | | | | | | | | | * fhandler_socket.cc (wait): Take flag parameter to take FD_OOB into account. Don't wait infinitely. (fhandler_socket::recvfrom): Also wait for FD_OOB if socket owner. (fhandler_socket::recvmsg): Ditto. (fhandler_socket::sendto): Ditto. (fhandler_socket::sendmsg): Ditto. (fhandler_socket::fcntl): Set owner status flag if F_SETOWN with own pid is called.
* 2004-05-09 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2004-05-092-11/+17
| | | | | * environ.cc (build_env): Only try to construct required-but-missing variables while issetuid.
* * syscalls.cc: Include environ.h.Christopher Faylor2004-05-083-11/+14
| | | | | (chroot): Set errno in case of path error. Call getwinenv. * environ.cc: Remove the NO_COPY attribute of conv_envvars.
* * fhandler_mem.cc (fhandler_dev_mem::fhandler_dev_mem): MoveCorinna Vinschen2004-05-072-19/+19
| | | | | initialization of "mem_size" from here... (fhandler_dev_mem::open): ...to here. Fix typo in FH_PORT case.
* * fhandler_dsp.cc (fhandler_dev_dsp::Audio_out::stop): Move delete ofCorinna Vinschen2004-05-072-10/+23
| | | | | | | bigwavebuffer_ so that it is always cleaned, also in child processes. (fhandler_dev_dsp::Audio_in::stop): Ditto. (fhandler_dev_dsp::close): Stop audio play immediately in case of abnormal exit.
* Revert code reversion from 2004-04-03. So, revert to async I/O again.Corinna Vinschen2004-05-075-143/+193
| | | | | | | | | | | | | | | | | | | * fhandler.h (status): Add "closed" flag. (prepare): New method declaration. (wait): Ditto. (release): Ditto. * fhandler_socket.cc: Don't include wsock_event.h. (fhandler_socket::prepare): New method, moved from wsock_event. (fhandler_socket::wait): Ditto. (fhandler_socket::release): New method. (fhandler_socket::recvfrom): Simplify loop. (fhandler_socket::recvmsg): Ditto. (fhandler_socket::sendto): Ditto. (fhandler_socket::sendmsg): Ditto. * net.cc: Don't include wsock_event.h. (wsock_event::prepare): Remove. (wsock_event::wait): Ditto. * wsock_event.h: Remove.
* fix entryChristopher Faylor2004-05-071-1/+6
|
* * thread.cc (pthread::create): Move postcreate call to avoid a potential race.Christopher Faylor2004-05-071-0/+7
| | | | (pthread::cancelable_wait): Don't allow signal interrupt unless main thread.
* Christopher Faylor <cgf@timesys.com>Christopher Faylor2004-05-073-16/+33
| | | | * path.cc (mount_info::conv_to_posix_path): Add return.
* * include/wingdi.h: Correct non-unicode typedefs ofDanny Smith2004-05-062-3/+8
| | | | ENUMLOGFONTEXDV, PENUMLOGFONTEXDV, LPENUMLOGFONTEXDV.
* 2004-05-07 Pascal Obry <obry@act-europe.fr>Danny Smith2004-05-063-2/+7
| | | | | * include/winsock.h (IN_CLASSA): Fix macro. * include/winsock2.h (IN_CLASSA): Fix macro.
* 2004-05-06 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2004-05-062-74/+52
| | | | | | | | | * path.cc (path_conv::check): Strip trailing dots and spaces and return error if the final component had only dots and spaces. (normalize_posix_path): Revert 2004-04-30. (chdir): Do not check for trailing spaces. Do not set native_dir to c:\ for virtual devices. Pass only native_dir to cwd.set. (cwdstuff::set): Assume posix_cwd is already normalized.
* fix changelog datesChristopher Faylor2004-05-051-2/+2
|
* * path.cc (normalize_win32_path): Detect components with only dots. Remove aChristopher Faylor2004-05-042-36/+32
| | | | | | | final . if it follows '\\'. (mount_info::conv_to_win32_path): Only backslashify the path when no mount is found. (chdir): Do not look for components with only dots.