Christopher Faylor
53217744a3
fix typo
2002-09-13 13:05:52 +00:00
Christopher Faylor
3e6ae531dd
fix typo
2002-09-13 13:01:28 +00:00
Corinna Vinschen
8934e4707d
* syscalls.cc (seteuid32): Treat ILLEGAL_UID invalid.
...
(setegid32): Treat ILLEGAL_GID invalid.
2002-09-13 09:00:28 +00:00
Danny Smith
139b31f7ac
* include/sys/time.h (timeval): Add struct definition and
...
associated macros (copied from w32api/include/winsock.h).
2002-09-12 10:34:54 +00:00
Danny Smith
3f7b89caf1
* include/winsock.h (timeval): Guard struct and associated
...
macros with _TIMEVAL_DEFINED.
* include/winsock2.h (timeval): Likewise.
2002-09-12 10:11:05 +00:00
Corinna Vinschen
5a8746b732
* grp.cc (initgroups): Call groups::clear_supp to free the
...
supplementary group sids that may have been set by setgroups.
* security.cc (cygsidlist::free_sids): Also zero the class members.
* security.h (groups::clear_supp): New.
Rename cygsidlist_unknown to cygsidlist_empty.
2002-09-11 10:37:11 +00:00
Corinna Vinschen
22f8000733
* ntsec.html: Add chapter for switching user context w/o password.
2002-09-11 08:39:04 +00:00
Danny Smith
848791f9bc
* lib/shell32.def: Add missing stubs.
2002-09-11 00:10:13 +00:00
Christopher Faylor
02fa38279f
* fhandler_tty.cc (fhandler_tty_slave::open): Don't protect input/output
...
handles since they are not properly manipulated later.
* tty.cc (tty::make_pipes): Ditto.
2002-09-08 19:35:41 +00:00
Earnie Boyd
de3387b304
* include/windef.h (WINVER): Add documentation.
...
(_WIN32_WINNT): Ditto.
Special thanks to Paul Schmidt <paul@tricattechnologies.com>
2002-09-07 16:47:35 +00:00
Christopher Faylor
788d78be79
whitespace
2002-09-06 04:39:49 +00:00
Christopher Faylor
4898f75e37
* winsup.h (_WIN32_WINNT): Protect.
2002-09-06 04:30:46 +00:00
Christopher Faylor
5c0469b45c
* winsup.h (_WIN32_WINNT): Define.
2002-09-06 04:21:30 +00:00
Danny Smith
53a514ef33
* lib/Makefile.in (TEST_OPTIONS): Define WINVER to 0x0666.
2002-09-06 03:24:06 +00:00
Earnie Boyd
6f28fb6195
* include/_mingw.h: Increment version to 2.3.
...
Makefile.in: Ditto.
2002-09-05 14:27:29 +00:00
Earnie Boyd
31736d1768
* mingwex/fegetenv.c: Change to \n line endings.
...
* mingwex/vsnprintf.c: Ditto.
* mingwex/vsnwprintf.c: Ditto.
2002-09-05 11:51:26 +00:00
Danny Smith
1730adee69
2002-09-04 Kevin Chase <kevincha99@hotmail.com>
...
* include/winbase.h (AllocateUserPhysicalPages,
MapUserPhysicalPages, MapUserPhysicalPagesScatter,
FreeUserPhysicalPages): Add prototypes.
* lib/kernel32.def: Add function stubs for above.
2002-09-04 22:20:52 +00:00
Christopher Faylor
ca558bf047
some edits
2002-09-04 15:17:24 +00:00
Christopher Faylor
090b3abf87
first draft
2002-09-04 15:14:14 +00:00
Christopher Faylor
3947b56661
fix typo
2002-09-04 14:56:56 +00:00
Corinna Vinschen
03dc3df581
* Makefile.in (DLL_OFILES): Drop shortcut.o.
...
* path.cc: Move all shortcut functions from shortcut.c to here.
(check_shortcut): Implement without using COM interface.
* path.h: Move definition of SHORTCUT_HDR_SIZE to here.
* shortcut.c: Remove.
* shortcut.h: Ditto.
2002-09-04 13:11:29 +00:00
Corinna Vinschen
4d147a03bd
* fhandler.h (fhandler_socket::read): Remove method.
...
(fhandler_socket::write): Ditto.
(fhandler_socket::readv): New method.
(fhandler_socket::writev): Ditto.
(fhandler_socket::recvmsg): Add new optional argument.
(fhandler_socket::sendmsg): Ditto.
* fhandler.cc (fhandler_socket::read): Remove method.
(fhandler_socket::write): Ditto.
(fhandler_socket::readv): New method.
(fhandler_socket::writev): Ditto.
(fhandler_socket::recvmsg): Use win32's scatter/gather IO where
possible.
(fhandler_socket::sendmsg): Ditto.
* net.cc (cygwin_recvmsg): Check the msghdr's iovec fields.
(cygwin_sendmsg): Ditto. Add omitted sigframe.
2002-09-04 09:39:35 +00:00
Danny Smith
3573883f9d
2002-09-03 Ren� M�ller Fonseca <fonseca@users.sourceforge.net>
...
* include/winuser.h (IDTRYAGAIN,IDCONTINUE): Add defines.
Add WINVER guards for dialog box command id defines.
2002-09-03 22:29:11 +00:00
Earnie Boyd
20fb0cc513
* include/wincon.h (GetConsoleWindow): Add _WIN32_WINNT >= 0x0500 guard.
2002-09-03 16:25:54 +00:00
Corinna Vinschen
4a311951a5
* cygwin.din: Revert exporting new wchar functions.
...
* include/cygwin/version.h: Change comment for API minor 62.
2002-09-03 12:26:51 +00:00
Christopher Faylor
bdfeb17915
* dcrt0.cc (dll_crt0_1): Remove getpagesize() call.
...
* shared.cc (memory_init): Move it here.
2002-09-02 06:00:59 +00:00
Danny Smith
169618f29f
* mingwex/math/hypotl.c: Replace with version based on cephes
...
library.
2002-09-02 03:00:37 +00:00
Christopher Faylor
c8bef40026
* fhandler_proc.cc: Add <sys/param.h> include.
...
(format_proc_uptime): Use KernelTime and UserTime only as they include the
other counters.
(format_proc_stat): KernelTime includes IdleTime, so subtract IdleTime from
KernelTime. Make number of 'jiffies' per second same as HZ define.
* fhandler_process.cc: Add <sys/param.h> include.
(format_process_stat): Make number of 'jiffies' per second same as HZ define.
Use KernelTime and UserTime only to calculate start_time.
2002-08-31 16:37:51 +00:00
Christopher Faylor
af598a3b09
* fhandler_tty.cc (fhandler_tty_slave::fhandler_tty_slave): Set "don't need
...
ready for read" flag.
(fhandler_tty_slave::read): Don't do anything special with vtime when vmin ==
0.
2002-08-31 03:41:43 +00:00
Christopher Faylor
7a1174dcf2
(inspired by a patch from Egor Duda)
...
* select.cc (fhandler_tty_slave::ready_for_read): Remove.
* fhandler.h (fhandler_tty_slave::ready_for_read): Remove declaration.
* fhandler_tty.cc (fhandler_tty_slave::read): Don't do anything special with
vtime when vmin == 0.
* autoload.cc (GetConsoleWindow): Correct parameter count.
2002-08-31 03:35:50 +00:00
Christopher Faylor
f80e156de9
Christopher Faylor <cgf@redhat.com>
...
* tty.cc (tty_list::allocate_tty): Use GetConsoleWindow, if available. Call
FindWindow in a loop.
2002-08-30 16:03:52 +00:00
Christopher Faylor
91edb60487
* include/wincon.h: Define GetConsoleWindow(void).
2002-08-30 15:58:06 +00:00
Christopher Faylor
ab7f9b938f
* miscfuncs.cc (check_iovec_for_read): Don't check buffer when zero length
...
iov_len.
(check_iovec_for_write): Ditto.
* fhandler.h (fhandler_base::readv): New method.
(fhandler_base::writev): Ditto.
* fhandler.cc (fhandler_base::readv): New method.
(fhandler_base::writev): Ditto.
* syscalls.cc (_read): Delegate to readv(2).
(_write): Ditto, mutatis mutandi.
(readv): Rewrite, based on the old _read code, to use the new
fhandler_base::readv method. Improve access mode handling and ensure all calls
reach the final strace statement.
(writev): Ditto, mutatis mutandi.
* include/sys/uio.h (struct iovec): Change field types to match SUSv3.
* winsup.h (check_iovec_for_read): New function.
(check_iovec_for_write): Ditto.
* miscfuncs.cc (check_iovec_for_read): Ditto.
(check_iovec_for_write): Ditto.
2002-08-30 15:47:10 +00:00
Corinna Vinschen
70c306d781
Sigh, mbsrtowcs was still missing...
2002-08-30 13:30:26 +00:00
Corinna Vinschen
aabdc97a4c
* cygwin.din: Add more prototypes for new wchar functions in newlib.
2002-08-30 13:01:58 +00:00
Corinna Vinschen
b50a2f29aa
* cygwin.din: Add prototypes for new wchar functions in newlib.
...
* include/cygwin/version.h: Bump API minor number.
2002-08-30 12:18:56 +00:00
Christopher Faylor
9dc81046dd
* how-api.texinfo: Remove a line from the CRLF discussion about lseek not
...
working. Answer thread safe question more simply.
2002-08-30 00:42:19 +00:00
Corinna Vinschen
7382e593a0
* poll.cc (poll): Peek sockets ready for read to see if there's
...
actually data.
2002-08-29 09:41:00 +00:00
Christopher Faylor
d4d59223ed
* cygthread.cc (hthreads): Remove unneeded global.
...
(cygthread::simplestub): New static member function.
(cygthread::runner): Don't set hthreads.
(cygthread::freerange): New member function.
(cygthread::operator new): Call freerange if all cygwin slots are used up.
(cygthread::exit_thread): Don't mess with event if freerange thread.
(cygthread::detach): Ditto.
* cygthread.h (class cygthread): Declare new member functions and variables.
2002-08-29 03:33:50 +00:00
Christopher Faylor
64508b36f9
remove
2002-08-29 02:15:26 +00:00
Earnie Boyd
1a48bbb9b8
* include/w32api.h: Increment version to 2.1.
...
* Makefile.in: Ditto.
2002-08-28 22:26:46 +00:00
Danny Smith
933ba4b187
* include/sys/param.h: Add ENDIAN defines.
...
* test_headers.c: Include sys/param.h.
2002-08-28 21:24:59 +00:00
Christopher Faylor
4053143834
remove
2002-08-28 18:24:57 +00:00
Christopher Faylor
78dd8bdd12
* malloc.cc: Protect some definitions to avoid a compile time warning.
2002-08-28 16:08:09 +00:00
Corinna Vinschen
9c50dc14a9
* calls.texinfo: Add getc_unlocked, getchar_unlocked, putc_unlocked
...
and putchar_unlocked.
2002-08-28 10:53:55 +00:00
Corinna Vinschen
75d01d9e3b
* cygwin.din: Export getc_unlocked, getchar_unlocked,
...
putc_unlocked, putchar_unlocked functions.
* include/cygwin/version.h: Bump api minor.
2002-08-28 10:50:27 +00:00
Corinna Vinschen
281d8a3232
* fhandler_socket.cc (fhandler_socket::recvfrom): Eliminate flags
...
not understood by WinSock.
(fhandler_socket::sendto): Ditto. If WinSock sendto() returns
WSAESHUTDOWN, change errno to EPIPE and raise SIGPIPE if MSG_NOSIGNAL
isn't set in flags.
* include/cygwin/socket.h: Define MSG_WINMASK and MSG_NOSIGNAL.
* include/cygwin/version.h: Bump API minor number.
2002-08-28 10:18:20 +00:00
Corinna Vinschen
667599f478
* poll.cc (poll): Eliminate erroneous POLLERR conditional.
2002-08-28 09:29:42 +00:00
Danny Smith
5bbbbfba55
* test_headers.c: Don't include varargs.h.
...
* Makefile.in (test_headers): Don't use -std=xx
with -xc++. Test -std=gnu89, gnu99 also.
2002-08-28 03:57:16 +00:00
Christopher Faylor
09df858c35
fragging mumble bruggum newlib
2002-08-28 00:30:49 +00:00
Corinna Vinschen
0a64232525
* fhandler_socket.cc (fhandler_socket::check_peer_secret_event):
...
Fix strace message.
(fhandler_socket::connect): Remove sigframe.
(fhandler_socket::accept): Ditto.
(fhandler_socket::getsockname): Ditto.
(fhandler_socket::getpeername): Ditto.
(fhandler_socket::recvfrom): Ditto.
(fhandler_socket::recvmsg): Ditto.
(fhandler_socket::sendto): Ditto.
(fhandler_socket::sendmsg): Ditto.
(fhandler_socket::close): Ditto.
(fhandler_socket::ioctl): Ditto.
* ioctl.cc (ioctl): Add sigframe.
*net.cc (cygwin_sendto): Ditto.
(cygwin_recvfrom): Ditto.
(cygwin_recvfrom): Ditto.
(cygwin_connect): Ditto.
(cygwin_shutdown): Ditto.
(cygwin_getpeername): Ditto.
(cygwin_accept): Ditto. Improve strace message.
(cygwin_getsockname): Ditto. Ditto.
(cygwin_recvmsg): Ditto. Ditto.
(cygwin_sendmsg): Fix strace message.
2002-08-27 09:24:50 +00:00
Christopher Faylor
6d8bd861e2
* child_info.h: Add _PROC_WHOOPS enum value.
...
(CURR_CHILD_INFO_MAGIC): Update.
(child_info::magic): Make 'long'.
* cygheap.h: Export _cygheap_start.
* cygheap.cc: Don't declare _cygheap_start.
* cygmagic: Use cksum to produce checksums. Append 'U' to end of checksum.
* dcrt0.cc (initial_env): Calculate sleep ms before reusing buffer.
(_dll_crt0): Detect cygheap mismatch as indicative of different cygwin version.
Set child_proc_info to NULL when _PROC_WHOOPS.
(multiple_cygwin_problem): If child_info specific problem, then set
child_proc_info type to _PROC_WHOOPS.
* shared_info.h (CURR_MOUNT_MAGIC): Update.
(CURR_SHARED_MAGIC): Ditto.
2002-08-27 04:10:54 +00:00
Danny Smith
4854ee501e
2002-08-26 Bart Oldeman <bart.oldeman@btinternet.com>
...
* include/winsock2.h (SOCKET_ADDRESS): Define if
__CSADDR_T_DEFINED is not defined (copied from nspapi.h)
(CSADDR_INFO): Ditto.
(nspapi.h) : Don't include. Removed FIXME comment.
* include/nspapi.h (SOCKET_ADDRESS) Only define if
__CSADDR_T_DEFINED is not defined.
(CSADDR_INFO): Ditto.
(BLOB): Added structure and typedef if not already defined.
(NS_*): Add defines.
(SERVICE_*): Ditto.
(SERVICE_ADDRESS): Add structure and typedefs.
(SERVICE_ADDRESSES): Ditto.
(SERVICE_INFO[AW]): Ditto, and add UNICODE mappings.
(LPSERVICE_ASYNC_INFO): Add typedef.
(SetService[AW], GetAddressByName[AW]): Add prototypes and UNICODE
mappings.
* include/wsipx.h: New file.
* include/svcguid.h: New file.
* lib/test.c: Include wspix.h and svcguid.h.
2002-08-26 23:33:17 +00:00
Danny Smith
eac48e7ecf
2002-08-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* include/wsahelp.h: New file.
* lib/test.c: Include wsahelp.h.
2002-08-26 22:13:05 +00:00
Christopher Faylor
874ab2d639
* dll.sgml: Remove indirect reference to older gccs.
2002-08-26 18:03:40 +00:00
Corinna Vinschen
c250f9145b
* fhandler.h (fhandler_socket::recvfrom): Fix prototype.
...
(fhandler_socket::sendto): Ditto.
* fhandler_socket.cc (fhandler_socket::recvfrom): Ditto.
(fhandler_socket::sendto): Ditto.
* include/sys/socket.h (recv): Fix prototype.
(recvfrom): Ditto.
(send): Ditto.
(sendto): Ditto.
* net.cc (cygwin_sendto): Ditto. Improve strace message
(cygwin_recvfrom): Ditto. Ditto.
(cygwin_setsockopt): Improve strace message.
(cygwin_getsockopt): Ditto.
(cygwin_connect): Ditto.
(cygwin_accept): Ditto.
(cygwin_bind): Ditto.
(cygwin_getsockname): Ditto.
(cygwin_getpeername): Ditto.
(cygwin_recv): Fix prototype.
(cygwin_send): Ditto.
(cygwin_recvmsg): Improve strace message.
(cygwin_sendmsg): Ditto.
2002-08-26 09:57:27 +00:00
Corinna Vinschen
38170b13ea
* sec_acl.cc (getacl): Check ace_sid == well_known_world_sid
...
before owner_sid and group_sid so that well_known_world_sid
means "other" even when owner_sid and/or group_sid are Everyone.
* security.cc (get_attribute_from_acl): Created from code common
to get_nt_attribute() and get_nt_object_attribute(), with same
reordering as in getacl() above.
(get_nt_attribute): Call get_attribute_from_acl().
(get_nt_object_attribute): Ditto.
2002-08-26 09:56:06 +00:00
Christopher Faylor
7200557403
* Makefile.in (cygcheck.exe): Make a -mno-cygwin program.
...
* cygrun.c (main): Export CYGWIN=ntsec unless otherwise set.
* shared.cc (shared_name): Only add build date to shared name when
*testing*.
2002-08-26 04:30:11 +00:00
Christopher Faylor
9d89f63486
* Makefile.in (RUNTEST): Use Makefile's srcdir and bupdir* macros, where
...
appropriate.
* winsup.api/winsup.exp: Use -nodefaultlibs when linking executable to avoid
potentially linking installed dll.
2002-08-26 02:53:24 +00:00
Christopher Faylor
f77cd63642
* Makefile.in (DLL_IMPORTS): Move libuuid.a and libshell32.a to list rather
...
than referring to them via -l. Add DLL imports last in link line for
new-cygwin.dll and cygrun.exe.
2002-08-25 00:07:10 +00:00
Christopher Faylor
02eb4ad4d4
output some newlines.
2002-08-23 15:46:00 +00:00
Christopher Faylor
1c5dcf3b0a
* dll.sgml: Remove indirect reference to older gccs.
2002-08-21 16:02:17 +00:00
Christopher Faylor
d3106bef0a
* dll.sgml: Refine dll build instructions.
...
* ntsec.html: Correct some typos.
2002-08-21 15:45:04 +00:00
Christopher Faylor
62012a3f31
fix some glitches
2002-08-21 15:42:18 +00:00
Earnie Boyd
69f710846f
* include/sys/param.h: New File.
2002-08-21 12:49:56 +00:00
Earnie Boyd
811b5b0ae4
* include/_mingw.h: Increment version to 2.2.
...
Makefile.in: Ditto.
2002-08-21 12:18:28 +00:00
Earnie Boyd
39d3651cad
* include/commctrl.h (NMCUSTOMDRAW): Fix lItemlParam.
...
Thanks to: "Phil Dempster" <p_dempster@yahoo.co.uk>.
2002-08-21 12:07:51 +00:00
Danny Smith
cfb5d4db12
* include/math.h (asm): Change to __asm__ throughout.
...
Expose ISO C99 functions if __GLIBCPP__.
(hypotf): Use hypot, not _hypot in stub..
2002-08-20 23:26:11 +00:00
Danny Smith
aabc7d585a
* include/tchar.h: Ansi-fy another comment.
2002-08-20 23:08:14 +00:00
Danny Smith
b9b4e3ca9d
* include/tchar.h: Ansi-fy comment.
2002-08-20 23:01:42 +00:00
Danny Smith
02d46a6f8a
* test_headers.c : New file.
...
* Makefile.in (test_headers): New target, using it,
(SRCDIST_FILES): Distribute it.
2002-08-20 22:56:59 +00:00
Danny Smith
9a5498d08b
* include/ws2spi.h: Modify comment about being part of
...
mingw32 package.
(winsock2.h): Change "" to <>.
2002-08-20 00:59:23 +00:00
Danny Smith
73078ed64d
2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* include/ws2spi.h: New file.
* lib/test.c: Include ws2spi.h.
2002-08-20 00:48:23 +00:00
Danny Smith
c79f8453b0
* include/winsock2.h (WSAIsBlocking,WSAUnhookBlockingHook,
...
WSASetBlockingHook,WSACancelBlockingCall): Expose deprecated
functions.
2002-08-20 00:36:09 +00:00
Christopher Faylor
3bacc423cf
* pinfo.h (pinfo::remember): Arrange for destructor call if proc_subproc
...
returns error.
* sigproc.cc (zombies): Store 1 + total zombies since proc_subproc uses
NZOMBIES element.
2002-08-19 14:59:27 +00:00
Corinna Vinschen
34f7289475
* pwdgrp.h (pwdgrp_read::pwdgrp_read): Remove.
...
(pwdgrp_read::~pwdgrp_read): Ditto.
(pwdgrp_read::open): Reset fh to NULL instead of INVALID_HANDLE_VALUE.
(pwdgrp_read::close): Ditto.
2002-08-19 11:27:18 +00:00
Christopher Faylor
c060edba34
* fhandler.h (fhandler_console::send_winch_maybe): New method.
...
* fhandler_console.cc (set_console_state_for_spawn): Remove if 0'ed code.
(fhandler_console::send_winch_maybe): Define new method.
(fhandler_console::read): Use send_winch_maybe where appropriate.
(fhandler_console::init): Just call all tcsetattr rather than output_tcsetattr.
* select.cc (peek_console): Reorganize so that send_winch_maybe is called for
everything but keyboard input.
2002-08-19 04:43:58 +00:00
Christopher Faylor
8dca9e2302
* perthread.h (vfork_save): Add ctty, sid, pgid, exitval fields.
...
(vfork_save::restore_pid): New method.
(vfork_save::restore_exit): New method.
* fork.cc (vfork): Save ctty, sid, pgid and restore them when returning to
"parent". Use exitval field if exiting but never created a new process.
* syscalls.cc (setsid): Detect when in "vfork" and force an actual fork so that
pid will be allocated (UGLY!).
(getsid): New function.
* dcrt0.cc (do_exit): Use vfork_save::restore_exit method for returning from a
vfork.
* spawn.cc (spawnve): Use vfork_save::{restore_pid,restore_exit} methods for
returning from vfork.
* cygwin.din: Export getsid.
* include/cygwin/version.h: Bump api minor number.
* malloc.cc: #ifdef sYSTRIm for when MORECORE_CANNOT_TRIM is true.
2002-08-18 05:49:26 +00:00
Christopher Faylor
d17ba05c1c
* cygmalloc.h (MORECORE_CANNOT_TRIM): Define.
2002-08-18 04:14:59 +00:00
Christopher Faylor
0428827b0e
* sigproc.cc (sigCONT): Define.
...
* sigproc.h (sigCONT): Declare.
(wait_sig): Create sigCONT event here.
* exceptions.cc (sig_handle_tty_stop): Wait for sigCONT event rather than
stopping thread.
(sig_handle): Set sigCONT event as appropriate on SIGCONT rather than calling
ResumeThread.
2002-08-18 04:13:57 +00:00
Christopher Faylor
a80add95d9
* malloc.cc: Update to 2.7.2.
...
* malloc_wrapper.cc (malloc_init): Call user level mallocs to determine if the
malloc has been wrapped.
2002-08-18 03:28:52 +00:00
Christopher Faylor
aaac1d9e19
* Makefile.in: Change COMPILE_C* definitions.
2002-08-17 17:12:24 +00:00
Danny Smith
894d685ff7
* include/winuser.h (CURSOR_SHOWING) Add define.
2002-08-17 09:41:52 +00:00
Danny Smith
9e0f101fa9
* include/winerror.h: Cast OLE error codes to HRESULT.
2002-08-17 04:42:25 +00:00
Christopher Faylor
0763513767
fix typo
2002-08-17 02:16:25 +00:00
Christopher Faylor
b3c12fb401
* Makefile.in: Change COMPILE_C* definitions.
2002-08-17 02:15:05 +00:00
Christopher Faylor
e0f61e607c
Missed this commit in last checkin.
2002-08-16 19:50:22 +00:00
Christopher Faylor
98c9c4569b
* winsup.h: Remove malloc_*lock functions.
2002-08-16 19:49:54 +00:00
Christopher Faylor
c7e2187a60
* Makefile.in: Add support for new malloc.o and renamed malloc_wrapper.o. Use
...
-fomit-frame-pointer for malloc.o compilation.
* malloc_wrapper.cc: New file. Rename from malloc.cc. Add support for more
malloc functions. Eliminate export_* calls. Just use straight malloc names.
Remove unused argument from malloc lock functions.
* cygwin.din: Just export straight malloc names. Add malloc_stats,
malloc_trim, malloc_usable_size, mallopt, memalign, valloc.
* dcrt0.cc (__cygwin_user): Eliminate export_* malloc entries.
* fork.cc (fork_parent): Remove unused argument from malloc_lock argument.
* malloc.cc: New file. Doug Lea's malloc v2.7.1.
* cygmalloc.h: New file.
* include/cygwin/version.h: Bump API_MINOR.
* sync.h (muto::acquire): Use appropriate number for regparm attribute.
(muto::reset): Ditto.
(muto::release): Ditto.
2002-08-16 19:41:39 +00:00
Christopher Faylor
775275aac7
* exceptions.cc (interrupt_setup): Ensure that the previous signal mask is
...
properly saved.
2002-08-16 19:07:28 +00:00
Christopher Faylor
a54ad580fc
* dcrt0.cc: Modify define for CYGWIN_GUARD.
...
(alloc_stack_hard_way): Just use CYGWIN_GUARD in VirtualAlloc call.
2002-08-15 20:34:49 +00:00
Christopher Faylor
bb55ce4cc1
present tense
2002-08-15 20:24:16 +00:00
Christopher Faylor
052e90e9a9
make comment more accurate.
2002-08-15 15:46:27 +00:00
Danny Smith
e893abd3c6
* include/wincrypt.h (ALG_*): Add defines.
...
(CALG_*): Ditto.
(CRYPT_*): Ditto.
(PP_*): Ditto.
(PROV_*): Ditto.
(PRIVATEKEYBLOB): Add define.
2002-08-14 23:47:46 +00:00
Earnie Boyd
2c3ef6355b
* include/unistd.h: Add include of process.h.
2002-08-14 21:08:43 +00:00
Earnie Boyd
99a3b239eb
* include/shlobj.h (SHGetFolderPath): Add define.
...
* lib/shell32.def (SHGetSpecialFolderPath): Add export.
(SHGetFolderPath): Ditto.
2002-08-14 16:43:40 +00:00
Christopher Faylor
403985a498
* regtool.cc (find_key): Add support for custom key separator.
...
(usage): Document it.
2002-08-13 15:37:32 +00:00
Danny Smith
3317419d1a
* include/commdlg.h: Don't include COM headers if __OBJC__.
2002-08-12 23:33:10 +00:00
Danny Smith
03a0a275b5
* include/wincrypt.h (CryptDuplicateHash, CryptDuplicateKey):
...
Add prototypes.
2002-08-12 23:10:16 +00:00
Danny Smith
d6f9ca7959
2002-08-12 Andriy Palamarchuk <apa3a@yahoo.com>
...
* include/shellapi.h (FOF_NOERRORUI): Add define.
2002-08-12 22:24:28 +00:00