Danny Smith
174e6ff064
* include/string.h: Group wide string functions together,
...
and protect with _WSTRING_DEFINED.
2004-07-26 04:12:11 +00:00
Danny Smith
69e26fe33c
2004-07-26 Hartmut Honisch <hhonisch@users.sourceforge.net>
...
* include/commctrl.h (TreeView_SetItemState): Define macro.
2004-07-25 21:23:27 +00:00
Danny Smith
751ba44030
* include/_mingw.h (_MINGW_ATTR_*): Replace with
...
__MINGW_ATTRIB_*.
* include/stdlib.h (_ATTRIB_NORETURN): Replace with
__MINGW_ATTRIB_NOREURN, throughout.
(malloc): Declare with __MINGW_ATTRIB_MALLOC.
(calloc): Likewise.
(abs): Declare with __MINGW_ATTRIB_CONST.
(labs): Likewise.
(div): Likewise.
(ldiv): Likewise.
(lldiv): Likewise.
(_rotl): Likewise.
(_rotr): Likewise.
(_lrotl): Likewise.
(_lrotr): Likewise.
* include/setjmp.h (longjmp): Add __MINGW_ATTRIB_NORETURN.
2004-07-25 11:23:43 +00:00
Christopher Faylor
634d51d94e
* dcrt0.cc (dll_crt0_0): Use proper boolean arguments.
...
* pinfo.cc (pinfo::init): Don't consider MapViewOfFileEx error to be fatal if
exiting.
* pinfo.h (pinfo::init): Eliminate default argument and supply the argument in
the one case that needed it.
2004-07-24 19:18:58 +00:00
Danny Smith
b92b36bd8a
* include/wingdi.h (CMYK): Its fun to play with the C-M-Y-K.
...
(young man, young man,...)
2004-07-24 12:47:44 +00:00
Corinna Vinschen
65c5aa77fb
* autoload.cc (GetNativeSystemInfo): Add.
...
(IsWow64Process): Add.
* init.cc (respawn_wow64_process): New function.
(dll_entry): If process has been started from a 64 bit
process, call respawn_wow64_process.
* uname.cc (uname): On 64 bit systems, use GetNativeSystemInfo.
Show actual CPU type.
2004-07-24 09:41:34 +00:00
Danny Smith
61e6420f32
2004-07-24 Brodie Thiesfield <brofield@users.sourceforge.net>
...
* include/shlobj.h (FILEDESCRIPTOR): Unicode it.
(FILEGROUPDESCRIPTOR): LIkewise.
2004-07-24 09:00:52 +00:00
Corinna Vinschen
061095b5a3
* dtable.cc (dtable::get_debugger_info): Make stderr r/w according
...
to SUSv3.
2004-07-23 09:04:59 +00:00
Corinna Vinschen
0544d11637
* fhandler_tty.cc (fhandler_tty_slave::open): Use requested flag
...
values also when copying fhandler from archetype.
2004-07-22 20:39:08 +00:00
Christopher Faylor
5b7534fec3
* pinfo.cc (pinfo::init): Print handle in hex when MapViewOfFile fails.
2004-07-22 18:25:52 +00:00
Danny Smith
cc054d9d26
* include/_mingw.h: Undefine __attribute__.
...
(__MINGW_ATTR_NORETURN): New define.
(__MINGW_ATTR_CONST): New define.
(__MINGW_ATTR_MALLOC): New define.
(__MINGW_ATTR_PURE): New define.
(_CRTIMP, __cdecl, __stdcall, __UNUSED_PARAM): Ansi-fy
expansions.
2004-07-21 10:59:54 +00:00
Corinna Vinschen
7d9c458d8f
* shm.cc: Whitespace fixes.
2004-07-20 16:08:49 +00:00
Corinna Vinschen
96e949deaa
* bsd_helper.cc: Whitespace fixes.
...
* bsd_mutex.cc: Ditto.
2004-07-20 16:06:14 +00:00
Christopher Faylor
325965583f
revert erroneous checkin
2004-07-20 16:01:39 +00:00
Christopher Faylor
894c677711
* Makefile.in (clean): Remove cygwin.def since it is autogenerated.
2004-07-20 15:52:33 +00:00
Danny Smith
f451556720
* include/time.h (__time64_t): Add missing ';'.
2004-07-19 22:51:38 +00:00
Corinna Vinschen
bb3be323ba
* transport.cc (transport_layer_base::~transport_layer_base): Remove.
...
* transport.h (transport_layer_base::~transport_layer_base): Ditto.
2004-07-19 14:04:51 +00:00
Corinna Vinschen
bc2c51140c
* fhandler_dsp.cc (fhandler_dev_dsp::Audio_out::init): Fix non-ISO
...
expression.
* fhandler_floppy.cc (fhandler_dev_floppy::open): Remove unused
variable.
* fhandler_proc.cc (format_proc_meminfo): Fix compiler warning.
2004-07-19 13:13:48 +00:00
Corinna Vinschen
f8e58afb11
* bsd_mutex.cc (win_priority): Actually calculate p from priority.
2004-07-19 13:12:00 +00:00
Danny Smith
cd341e5613
* include/math.h: Guard ISO C99 additions with __cplusplus
...
not __GLIBCPP__.
2004-07-17 05:15:26 +00:00
Christopher Faylor
241422d046
* Makefile.in (CC): Strip inappropriate include file settings from any
...
passed-in CC.
2004-07-17 04:31:14 +00:00
Christopher Faylor
1d2fd38847
* pinfo.cc (pinfo::init): Guard against MapViewOfFileEx failure.
2004-07-16 15:49:22 +00:00
Corinna Vinschen
e348b39a71
* mmap.cc (mmap_record::alloc_page_map): Mark pages as allocated even
...
on Windows 9x, FWIW.
2004-07-16 14:32:03 +00:00
Joshua Daniel Franklin
99d86313f4
* how-resources.texinfo: Update documentation to /usr/share/doc.
...
* how-using.texinfo: Add paragraph about find -noleaf.
2004-07-16 14:17:15 +00:00
Danny Smith
75ccca2f65
2004-07-15 "dgun" <dgun@umpire.com>
...
* include/complex.h (conj): Correct typo in prototype.
2004-07-15 20:20:22 +00:00
Corinna Vinschen
0c0ad23a2c
* mmap.cc (mprotect): When MAP_WRITE protection is requested, use
...
READWRITE or WRITECOPY protection, whatever has been used when the
page has been allocated initially.
2004-07-15 17:00:44 +00:00
Corinna Vinschen
4243412aa5
* fhandler.h (class fhandler_dev_raw): Remove is_writing flag.
...
Remove declaration of writebuf.
(class fhandler_dev_floppy): Remove declaration of close.
* fhandler_floppy.cc (fhandler_dev_floppy::close): Delete.
(fhandler_dev_floppy::lseek): Remove calls to writebuf. Set
eom_detected to false after successful seek.
* fhandler_raw.cc (fhandler_dev_raw::writebuf): Delete.
(fhandler_dev_raw::raw_read): Remove calls to writebuf.
(fhandler_dev_raw::raw_write): Always invalidate buffer.
2004-07-15 14:56:05 +00:00
Danny Smith
fcedcf9488
Whitespace change to ChangeLog
2004-07-15 11:56:01 +00:00
Danny Smith
4bf283e0e2
* include/math.h: Add pragma GCC system_header.
2004-07-15 11:39:15 +00:00
Danny Smith
e651690002
* mingwex/complex/cargs.c: New file.
...
* mingwex/Makefile.in: Really add carg.o to libmingwex.a.
2004-07-15 11:35:13 +00:00
Corinna Vinschen
a062ed9840
* Makefile.in (INCLUDES): Temporarily revert previous change.
...
* mingwex/Makefile,in (INCLUDES): Ditto.
* profile/Makefile,in (INCLUDES): Ditto.
* mingwex/Makefile,in: Drop carg.o dependency.
2004-07-15 10:40:37 +00:00
Corinna Vinschen
5ba42c7f4c
* mmap.cc (class mmap_record): Fix return type of get_offset.
...
(mmap_record::fixup_page_map): Fix off by one error.
(list::search_record): Use long as type of "start" argument in both,
declaration and definition. Use long as type for local variable "i".
2004-07-15 09:21:16 +00:00
Christopher Faylor
a671e18c42
* mingwex/fwide.c: Include <stdio.h> to resolve FILE usage.
2004-07-15 02:43:19 +00:00
Christopher Faylor
839677149f
* fhandler_registry.cc (registry_listing): Correct typo.
...
(fhandler_registry::fill_filebuf): Set size of newly expanded buffer prior to
calling RegQueryValueEx.
2004-07-15 02:07:14 +00:00
Danny Smith
8e47f4464b
* Makefile.in (INCLUDES): Designate $(srcdir)/../include as a
...
system dir.
* mingwex/Makefile,in (INCLUDES): Ditto.
* profile/Makefile,in (INCLUDES): Ditto.
* mingwex/Makefile,in: Add carg.o to libmingwex.a.
2004-07-14 23:44:50 +00:00
Corinna Vinschen
dd3a7a2042
* fhandler_raw.cc (fhandler_dev_raw::raw_write): Remove buffered
...
write entirely.
2004-07-14 13:51:17 +00:00
Earnie Boyd
650bcf9d74
* Makefile.in: Move use of --nostdinc++ as GCC3.4 warns to use it
...
for C modules.
* mingwex/Makefile.in: Ditto.
* profile/Makefile.in: Ditto.
2004-07-13 13:01:28 +00:00
Earnie Boyd
bb8c8bd47a
* Makefile.in: Move use of --nostdinc++ as GCC3.4 refuses to use it
...
for C modules.
2004-07-13 11:23:08 +00:00
Earnie Boyd
ef72590eb1
* include/limits.h: Change to new file header preamble.
2004-07-13 11:11:36 +00:00
Earnie Boyd
aa726b09ae
* include/_mingw.h: Increment minor version for 3.4 release.
...
* Makefile.in: Ditto.
2004-07-13 11:04:25 +00:00
Corinna Vinschen
e3118d880b
* mkgroup.cc (netapibufferallocate,netgroupgetinfo): New function
...
pointers.
(load_netapi): Load NetApiBufferAllocate and NetGroupGetInfo.
(enum_local_groups,enum_groups): Add disp_groupname parameter.
Load info for disp_groupname if specified.
(usage): Add description of "-g/--group" option.
(longopts,opts): Add "-g/--group" option.
(main): Process "-g/--group" option.
* utils.sgml (mkgroup): Add description of "-g/--group" option
2004-07-12 16:52:16 +00:00
Danny Smith
e4cb4efab3
* mingwex/math/cephes_emath.h (__etens): Remove declaration.
2004-07-12 07:33:17 +00:00
Danny Smith
1b0314715b
* include/unistd.h (ftruncate): Add inline definition.
...
* mingwex/ftruncate.c: New file.
* mingwex/Makefile.in: Add ftruncate.o to libmingwex.a.
2004-07-11 10:01:41 +00:00
Danny Smith
8261a23149
* include/time.h: Do not include sys/types.h.
2004-07-10 04:06:09 +00:00
Corinna Vinschen
1d4707111a
* spawn.cc (spawn_guts): Check if script is executable.
2004-07-08 09:18:29 +00:00
Corinna Vinschen
95db28a454
* winbase.h (IsWow64Process): Add missing WINAPI qualifier.
2004-07-06 15:33:46 +00:00
Danny Smith
64b9893f0d
2 * mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c,
...
(MATH_OBJS): Remove pow,o.
* include/math.h (pow): Declare with _CRTIMP.
Add comment on how to avoid excess precision problems.
2004-07-02 10:01:51 +00:00
Corinna Vinschen
78c6a5b53a
* times.cc (hires_ms::usecs): Don't overreact.
2004-06-30 16:00:32 +00:00
Corinna Vinschen
fbd5a0b8da
* times.cc (hires_ms::usecs): Reinit timer when system time overflows.
2004-06-30 15:50:08 +00:00
Danny Smith
81223d017f
2004-06-30 Kees Zeelenberg <kzlg@users.sourceforge.net>
...
Danny Smith <dannysmith@users.sourceforge.net>
* include/stdio.h (fopen64): Add inline function.
(fseeko64): Add prototype.
(ftello64): Add inline function.
* include/io.h (lseek64): Add inline function.
* include/sys/types (off64_t): Add typedef.
(fpos64_t): Add typedef.
* mingwex/fopen64.c: New file.
* mingwex/fseeko64.c: New file.
* mingwex/ftello64.c: New file.
* mingwex/lseek64.c: New file.
* mingwex/Makefile.in (STDIO_DISTFILES): Add fopen64.c,
fseeko.64.c, ftello64.c, lseek64.c.
(STDIO_OBJS): Add fopen64.o, fseeko.64.o, ftello64.o, lseek64.o.
2004-06-30 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdio.h (__mingw_fseeko64): Add prototype.
* mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition.
(__mingw_fwrite): Handle huge files.
2004-06-30 04:51:18 +00:00
Christopher Faylor
76a3f968a5
* thread.cc (__cygwin_lock_lock): Don't bother locking when there is only one
...
known thread.
(__cygwin_lock_unlock): Ditto for unlocking.
2004-06-27 19:16:48 +00:00
Corinna Vinschen
c624912e3e
* fhandler_proc.cc (format_proc_cpuinfo): Test CPU vendor and print
...
AMD specific 3dnow capabilities.
2004-06-23 16:09:32 +00:00
Corinna Vinschen
f0d14ca96d
* fhandler_socket.cc (fhandler_socket::release): Call
...
WSASetLastError last.
2004-06-23 07:36:21 +00:00
Christopher Faylor
c0508da25a
* autoload.cc (wsock_init): Keep lock while modifying return address.
2004-06-22 04:00:16 +00:00
Corinna Vinschen
456afc5dd5
* fhandler.cc (fhandler_base::open): Remove 9x specific code.
2004-06-17 15:25:09 +00:00
Pierre Humblet
bd0e9c7aa6
2004-06-17 Pierre Humblet <pierre.humblet@ieee.org>
...
* fhandler.cc (fhandler_base::open_9x): Do not check for null name.
Move debug_printf to common code line.
(fhandler_base::open): Ditto. Initialize upath. Remove second argument
of pc.get_nt_native_path.
* path.h (path_conv::get_nt_native_path): Remove second argument.
* path.cc (path_conv::get_nt_native_path): Ditto. Call str2uni_cat.
* security.h (str2buf2uni_cat): Delete declaration.
(str2uni_cat): New declaration.
* security.cc (str2buf2uni): Get length from sys_mbstowcs call.
(str2buf2uni_cat): Delete function.
(str2uni_cat): New function.
* miscfuncs.cc (sys_mbstowcs): Add debug_printf.
2004-06-17 13:34:26 +00:00
Corinna Vinschen
f6d9664b63
* fhandler.cc (fhandler_base::open): Substitute FILE_SUPERSEDE with
...
FILE_OVERWRITE_IF.
2004-06-17 07:03:09 +00:00
Danny Smith
3adfd50973
2004-06-16 Danny Smith <dannysmith@users.sourceforge.net>
...
* include/winnt.h (IMAGE_ORDINAL_FLAG): Map to ...
(IMAGE_ORDINAL_FLAG{32,64}: New defines.
(IMAGE_SNAP_BY_ORDINAL): Map to ...
(IMAGE_SNAP_BY_ORDINAL{32,64}: New defines.
(IMAGE_ORDINAL): Map to ...
(IMAGE_ORDINAL{32,64}: New defines.
(IMAGE_THUNK_DATA): Map to ...
(IMAGE_THUNK_DATA{32,64}: New structures.
(IMAGE_THUNK_DATA): Map to ...
(IMAGE_THUNK_DATA{32,64}: New structures.
(IMAGE_IMPORT_DESCRIPTOR): Map to ...
(IMAGE_IMPORT_DESCRIPTOR{32,64}: New structures.
(IMAGE_IMAGE_TLS_DIRECTORY) Map to ...
(IMAGE_IMAGE_TLS_DIRECTORY{32,64}: New structures.
2004-06-16 Bang Jun-Young <junyoung@NetBSD.org>
* w32api/include/winnt.h (WAITORTIMERCALLBACKFUNC): Protect with
_WIN32_WINNT >= 0x0500.
2004-06-16 08:27:04 +00:00
Joshua Daniel Franklin
8caaf6cd6f
Fix faq-faq0 snafu.
2004-06-15 03:23:23 +00:00
Joshua Daniel Franklin
e52db4e16d
* how-programming.texinfo: Add section about Visual Studio linking.
2004-06-15 03:19:23 +00:00
Alan Modra
64b49cceb5
* dumper.cc (dumper::prepare_core_dump): Use bfd_get_section_size
...
instead of _raw_size.
(dumper::write_core_dump): Likewise.
* parse_pe.cc (select_data_section): Likewise.
2004-06-15 02:18:51 +00:00
Joshua Daniel Franklin
bad8e625b8
2004-06-13 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
...
* faq.texinfo: Move outdated calls.texinfo to readme.texinfo.
* how-api.texinfo: Fix typos.
* how-programming.texinfo: Fix typos.
* how-resources.texinfo: Fix typos.
* how-using.texinfo: Fix typos.
* install.texinfo: Fix typos.
* readme.texinfo: Move outdated calls.texinfo to readme.texinfo.
2004-06-14 02:42:05 +00:00
Joshua Daniel Franklin
af6b55758b
Define ps status flags
2004-06-11 18:25:06 +00:00
Christopher Faylor
cc24f9b669
* include/cygwin/version.h: REALLY bump dll minor version to 11.
2004-06-09 16:03:51 +00:00
Corinna Vinschen
35fe2c0811
* include/cygwin/ipc.h: Make IPC_INFO visible only for ipc system
...
utilities, to make it consistent with declaration of struct seminfo.
2004-06-08 10:53:40 +00:00
Corinna Vinschen
694a67c4e1
* path.cc (fchdir): Pass the Posix path to chdir.
2004-06-08 07:20:04 +00:00
Christopher Faylor
beffbc5efd
* dtable.cc (dtable::find_fifo): Release lock after fifo found (still racy).
...
* fhandler.h (fhandler_fifo::get_io_handle): New fifo-specific method.
* fhandler_fifo.cc (fhandler_fifo::close): Close output_handle only if it is
open.
(fhandler_fifo::open_not_mine): Reorganize slightly. Don't call _pinfo methods
when the fifo is owned by me or suffer dtable lock_cs deadlock.
(fhandler_fifo::open): Call open_not_mine first, otherwise open myself
(racy).
* pinfo.cc (_pinfo::commune_recv): Duplicate fifo handles here in requesting
processes arena to avoid one potential race (of many).
(_pinfo::commune_send): Move all PICOM_FIFO code under one case statement.
* thread.cc (pthread::init_mainthread) Use existing hMainProc handle rather
than calling GetCurrentProcess.
2004-06-07 04:26:32 +00:00
Luke Dunstan
6a02213b52
2004-06-05 Luke Dunstan <infidel@users.sourceforge.net>
...
* include/winbase.h (GetWriteWatch): Correct prototype.
(WRITE_WATCH_FLAG_RESET): Define.
Thanks to Sergey Philippov <phis@users.sourceforge.net>.
2004-06-05 13:39:35 +00:00
Luke Dunstan
99745be758
2004-06-02 Rocher Laurent <lrocher@users.sourceforge.net>
...
* include/commctrl.h (Animate_OpenEx): Define.
(DateTime_GetSystemTime, DateTime_SetSystemTime): Correct names.
(ListView_GetNumberOfWorkAreas): Correct macro.
(ListView_SetUnicodeFormat, ListView_GetUnicodeFormat,
ListView_SetItemCountEx, ListView_GetISearchString,
TreeView_GetLastVisible, Header_CreateDragImage,
Header_SetImageList, Header_GetImageList): Define.
(LVM_SETUNICODEFORMAT, LVM_GETUNICODEFORMAT,
MCM_GETUNICODEFORMAT, MCM_SETUNICODEFORMAT,
TBSTATE_ELLIPSES): Define.
(MonthCal_SetRange): Correct macro.
(ImageList_Duplicate): Declare.
2004-06-05 13:01:07 +00:00
Christopher Faylor
cf4bfdb2f8
* winbase.h (ilockincr): Add more neverending changes from the inexplicable
...
world of gcc asm constraint magic. Should stop random crashes.
(ilockdecr): Ditto.
2004-06-04 23:55:44 +00:00
Christopher Faylor
04612c69eb
* autoload.cc (IsDosDeviceName_U): Define.
...
* ntdll.h (IsDosDeviceName_U): Declare.
* fhandler.cc (fhandler_base::open): Check to see if win32_name is a dos device
and just call the 9x open if so.
2004-06-03 22:27:25 +00:00
Christopher Faylor
1633289656
revert accidental checkin
2004-06-03 21:33:29 +00:00
Christopher Faylor
604ca5fa17
* winbase.h (ilockincr): More changes from the inexplicable world of gcc asm
...
magic.
(ilockdecr): Ditto.
2004-06-03 21:29:43 +00:00
Christopher Faylor
ee94df3ecc
* winbase.h (ilockincr): YA correction to ensure correct operation with no
...
optimization.
(ilockdecr): Ditto.
2004-06-03 20:48:02 +00:00
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