Age | Commit message (Collapse) | Author |
|
* include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.
|
|
* include/winnt.h (IMAGE_EXPORT_DIRECTORY): Fixed declaration.
|
|
* include/httpext.h (HSE_SEND_HEADER_EX_INFO,
HSE_REQ_SEND_RESPONSE_HEADER_EX): Define.
|
|
* 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.
|
|
device list.
* cygwinenv.sgml: Fix typo in check_case description.
|
|
* ssp.c (usage): Add missing linefeed.
|
|
if it uses an acl.
|
|
starts with a drive.
Also perform whitespace cleanup.
|
|
|
|
strtosigno with NSIG - 1.
|
|
syntax similar to that recommended in mingw-dvlpr.
|
|
|
|
|
|
* cygwin.din: Export atoll.
|
|
from !with_console
* fhandler_tty.cc (fhandler_pty_master::open): Release tty_mutex here after all
initialization is done.
|
|
argument definition.
(getgrnam_r): Ditto.
|
|
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.
|
|
compilation error.
|
|
* 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.
|
|
|
|
value in each WSARecvFrom call.
(fhandler_socket::recvmsg): Ditto. Reformat slightly.
|
|
* 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.
|
|
|
|
(cygheap::set): Reflect changes in declaration for arguments and return value
from previous checkin.
|
|
* 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.
|
|
* 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.
|
|
* include/ddk/ntddk.h: Don't set 4-byte alignment on included
headers.
|
|
|
|
|
|
* fhandler_tape.cc (mt_h): Drop in favor of cygheap based handle.
(mtinfo_init): Use cygheap->mt_h handle. Protect it.
|
|
* 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.
|
|
value when creating files.
* path.h (class path_conv): Add write accessor for file_attributes.
|
|
* 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.
|
|
* environ.cc (build_env): Only try to construct required-but-missing
variables while issetuid.
|
|
(chroot): Set errno in case of path error. Call getwinenv.
* environ.cc: Remove the NO_COPY attribute of conv_envvars.
|
|
initialization of "mem_size" from here...
(fhandler_dev_mem::open): ...to here. Fix typo in FH_PORT case.
|
|
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.
|
|
* 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.
|
|
|
|
(pthread::cancelable_wait): Don't allow signal interrupt unless main thread.
|
|
* path.cc (mount_info::conv_to_posix_path): Add return.
|
|
ENUMLOGFONTEXDV, PENUMLOGFONTEXDV, LPENUMLOGFONTEXDV.
|
|
* include/winsock.h (IN_CLASSA): Fix macro.
* include/winsock2.h (IN_CLASSA): Fix macro.
|
|
* 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.
|
|
|
|
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.
|
|
|
|
|
|
|
|
(mkdir): Remove call to writable_directory.
* syscalls.cc (unlink): Ditto.
(rename): Ditto.
* winsup.h (writable_directory): Remove declaration.
|