Corinna Vinschen
414bfc1072
* cygserver.h (CYGWIN_SERVER_VERSION_API): Bump.
2004-06-03 19:52:12 +00:00
Corinna Vinschen
378e5a0271
* include/cygwin/ipc.h (IPC_KEY_IS_SHMID): Redefine to a more sensible
...
value.
2004-06-03 19:51:10 +00:00
Corinna Vinschen
e9054f3f7f
* shm.cc (shmget): Explicitely set td_retval[0] to -1 on error.
2004-06-03 19:49:54 +00:00
Christopher Faylor
e6f751a5a9
remove erroneous ChangeLog entry
2004-06-03 18:56:49 +00:00
Christopher Faylor
a864f241f1
* winbase.h: Fix all ilock defs as per cygwin 1.5.10 release.
2004-06-03 18:55:56 +00:00
Christopher Faylor
e847fe136d
add missing changelog entry
2004-06-02 21:25:57 +00:00
Christopher Faylor
1a21f33188
* spawn.cc (find_exec): Use has_slash to determine if path has a slash rather
...
than calculating this twice.
2004-06-02 21:20:54 +00:00
Luke Dunstan
cdb055db02
2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
...
* include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.
2004-06-01 14:09:20 +00:00
Luke Dunstan
b188d0f595
2004-05-29 Filip Navara <xnavara@volny.cz>
...
* include/winnt.h (IMAGE_EXPORT_DIRECTORY): Fixed declaration.
2004-05-31 14:10:20 +00:00
Luke Dunstan
814a8765fb
2004-05-25 Al Slater <al.slater@scluk.com>
...
* include/httpext.h (HSE_SEND_HEADER_EX_INFO,
HSE_REQ_SEND_RESPONSE_HEADER_EX): Define.
2004-05-31 13:57:30 +00:00
Pierre Humblet
2d5afa98a2
2004-05-30 Pierre Humblet <pierre.humblet@ieee.org>
...
* 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.
2004-05-31 02:20:39 +00:00
Joshua Daniel Franklin
e3c1b77980
* pathnames.sgml: Remove /dev/kmem from the supported POSIX
...
device list.
* cygwinenv.sgml: Fix typo in check_case description.
2004-05-30 06:47:09 +00:00
Joshua Daniel Franklin
1a8b65e301
2004-05-29 John Paul Wallington <jpw@gnu.org>
...
* ssp.c (usage): Add missing linefeed.
2004-05-30 06:33:02 +00:00
Christopher Faylor
c4c9eb5fd6
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Only try to open the file
...
if it uses an acl.
2004-05-29 00:51:16 +00:00
Christopher Faylor
e3778517d9
* path.cc (chdir): Always use the normalized_path as posix_cwd, except if it
...
starts with a drive.
Also perform whitespace cleanup.
2004-05-28 19:50:07 +00:00
Christopher Faylor
1973881114
clarify last entry slightly.
2004-05-27 15:58:29 +00:00
Christopher Faylor
0512945eb5
* kill.cc (listsig): NSIG includes Signal 0, so we need to avoid calling
...
strtosigno with NSIG - 1.
2004-05-27 15:15:51 +00:00
Christopher Faylor
37eadb6fb1
* winbase.h: Semi-revert previous patch as it caused strange behavior. Use
...
syntax similar to that recommended in mingw-dvlpr.
2004-05-25 20:00:19 +00:00
Christopher Faylor
9a17d61b09
* include/cygwin/version.h: Bump DLL minor number to 11.
2004-05-25 16:01:49 +00:00
Christopher Faylor
1b1f85fa0c
* winbase.h: Add proper attributions for memory operands throughout.
2004-05-25 04:00:49 +00:00
Christopher Faylor
41bba72eb4
* include/cygwin/version.h: Bump api minor version number.
...
* cygwin.din: Export atoll.
2004-05-25 03:21:34 +00:00
Christopher Faylor
bfa768973c
* tty.cc (tty_list::allocate_tty): Leave tty_mutex armed on successful return
...
from !with_console
* fhandler_tty.cc (fhandler_pty_master::open): Release tty_mutex here after all
initialization is done.
2004-05-20 17:32:12 +00:00
Corinna Vinschen
aac9c88c24
* grp.cc (getgrgid_r): Replace struct group by struct __group32 in
...
argument definition.
(getgrnam_r): Ditto.
2004-05-17 16:14:01 +00:00
Corinna Vinschen
68509b303e
* cygwin.din: Add symbols flockfile, ftrylockfile, funlockfile,
...
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.
2004-05-17 16:06:02 +00:00
Christopher Faylor
3271e9f9e3
* tty.cc (tty_list::init): Move hmaster initialization earlier to prevent
...
compilation error.
2004-05-17 15:55:42 +00:00
Christopher Faylor
641654f72a
Change the name "title_mutex" to "tty_mutex" throughout.
...
* 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.
2004-05-17 15:27:56 +00:00
Christopher Faylor
fb4489a53f
add missing file
2004-05-16 16:38:27 +00:00
Corinna Vinschen
32880f1e4a
* fhandler_socket.cc (fhandler_socket::recvfrom): Use original flags
...
value in each WSARecvFrom call.
(fhandler_socket::recvmsg): Ditto. Reformat slightly.
2004-05-16 15:38:03 +00:00
Christopher Faylor
0c565ab35b
* cygthread.cc (cygthread::is): Eliminate.
...
* 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.
2004-05-16 04:18:50 +00:00
Christopher Faylor
aafd8a545f
revert previous not-ready-for-primetime checkin.
2004-05-15 16:10:41 +00:00
Christopher Faylor
71af2ed39e
* cygheap.h: Remove some parameter names from declarations throughout.
...
(cygheap::set): Reflect changes in declaration for arguments and return value
from previous checkin.
2004-05-15 16:09:04 +00:00
Christopher Faylor
982c8ecdb4
* cygheap.h (cwdstuff::set): Modify return value and arguments.
...
* 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 15:55:43 +00:00
Danny Smith
99189153b3
2004-05-15 Filip Navara <xnavara@volny.cz>
...
* 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 10:08:06 +00:00
Danny Smith
34f35cf5e0
2004-05-15 Filip Navara <xnavara@volny.cz>
...
* include/ddk/ntddk.h: Don't set 4-byte alignment on included
headers.
2004-05-15 09:47:02 +00:00
Christopher Faylor
f30298c13b
remove keyword stuff
2004-05-12 16:21:18 +00:00
Corinna Vinschen
8d8bc1e139
* path.cc (path_conv::check): Don't bail out with error if path is "//".
2004-05-12 14:04:23 +00:00
Corinna Vinschen
191ea07aa5
* cygheap.h (struct init_cygheap): Add mt_h member.
...
* fhandler_tape.cc (mt_h): Drop in favor of cygheap based handle.
(mtinfo_init): Use cygheap->mt_h handle. Protect it.
2004-05-12 12:28:59 +00:00
Pierre Humblet
8bdfa78a69
2004-05-12 Pierre Humblet <pierre.humblet@ieee.org>
...
* 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.
2004-05-12 01:44:11 +00:00
Corinna Vinschen
0175b5311e
* fhandler.cc (fhandler_base::open): Set file attributes to correct
...
value when creating files.
* path.h (class path_conv): Add write accessor for file_attributes.
2004-05-11 15:39:50 +00:00
Corinna Vinschen
75b5f30fdd
* fhandler.h (class fhandler_socket): Add "owner" status flag.
...
* 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-10 15:21:01 +00:00
Pierre Humblet
94f29ccdf6
2004-05-09 Pierre Humblet <pierre.humblet@ieee.org>
...
* environ.cc (build_env): Only try to construct required-but-missing
variables while issetuid.
2004-05-09 15:17:15 +00:00
Christopher Faylor
ac3003157b
* syscalls.cc: Include environ.h.
...
(chroot): Set errno in case of path error. Call getwinenv.
* environ.cc: Remove the NO_COPY attribute of conv_envvars.
2004-05-08 02:55:38 +00:00
Corinna Vinschen
f8aae275a4
* fhandler_mem.cc (fhandler_dev_mem::fhandler_dev_mem): Move
...
initialization of "mem_size" from here...
(fhandler_dev_mem::open): ...to here. Fix typo in FH_PORT case.
2004-05-07 21:28:53 +00:00
Corinna Vinschen
367ff06ea4
* fhandler_dsp.cc (fhandler_dev_dsp::Audio_out::stop): Move delete of
...
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.
2004-05-07 07:54:28 +00:00
Corinna Vinschen
3e101fb2cd
Revert code reversion from 2004-04-03. So, revert to async I/O again.
...
* 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.
2004-05-07 07:51:31 +00:00
Christopher Faylor
dab22ff6e6
fix entry
2004-05-07 03:51:22 +00:00
Christopher Faylor
9b0b76ba92
* thread.cc (pthread::create): Move postcreate call to avoid a potential race.
...
(pthread::cancelable_wait): Don't allow signal interrupt unless main thread.
2004-05-07 03:31:04 +00:00
Christopher Faylor
1940656ab9
Christopher Faylor <cgf@timesys.com>
...
* path.cc (mount_info::conv_to_posix_path): Add return.
2004-05-07 03:27:37 +00:00
Danny Smith
718123fada
* include/wingdi.h: Correct non-unicode typedefs of
...
ENUMLOGFONTEXDV, PENUMLOGFONTEXDV, LPENUMLOGFONTEXDV.
2004-05-06 21:04:26 +00:00
Danny Smith
bbf3df482a
2004-05-07 Pascal Obry <obry@act-europe.fr>
...
* include/winsock.h (IN_CLASSA): Fix macro.
* include/winsock2.h (IN_CLASSA): Fix macro.
2004-05-06 20:54:50 +00:00