Commit Graph

1932 Commits

Author SHA1 Message Date
Danny Smith fb1c4e20f4 * include/richedit.h (EM_GETSCROLLPOS, EM_SETSCROLLPSPOS):
Add defines.
2002-03-26 21:20:53 +00:00
Christopher Faylor 2f3126f6ec * fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Always set
st_[ug]id to value derived from get_file_attributes.
2002-03-22 04:27:52 +00:00
Christopher Faylor 45d2ea8a52 * spawn.cc (find_exec): Return input if file not found. 2002-03-22 03:24:30 +00:00
Christopher Faylor e7ac2b2299 add eol to end 2002-03-21 05:52:21 +00:00
David Starks-Browning 4728007427 expand entry on dir file, may need to update it after installing packages. 2002-03-20 23:53:50 +00:00
David Starks-Browning ba2e67d174 new subsection "Is there a Cygwin port of GNU Emacs?" with pointer to
cygwin-mount.el, and details about "emacs -nw" vs. "xemacs -nw".
2002-03-20 23:48:16 +00:00
David Starks-Browning 3d27e4aaa5 add "cygwish80.exe" to list of tcl/tk apps that do not understand paths 2002-03-20 23:14:30 +00:00
David Starks-Browning d5ded091b6 remove "not yet updated" for preprocessor, GUI programming entries. 2002-03-20 23:12:26 +00:00
David Starks-Browning bab8194c80 remove "Where can I get f77 and objc components for B20 EGCS 1.1?"
(it can't possibly be relevant any more...)
2002-03-20 23:02:51 +00:00
David Starks-Browning 00a4a21d24 update (make problem solved, cvs+ssh problem solved) 2002-03-20 23:01:09 +00:00
David Starks-Browning cfaf7d8891 remove "not yet updated" warning for queue slots, df entries. 2002-03-20 22:34:40 +00:00
Corinna Vinschen 99dbafacb6 * poll.cc (poll): Add support for invalid descriptors. 2002-03-19 17:12:49 +00:00
Christopher Faylor 7a9f3efb1b * mkgroup.c (usage): Use one just fprintf + string concatenation for output
message.
(print_version): Add void to function type and update copyright.
2002-03-19 15:48:40 +00:00
Corinna Vinschen 22a9157c7c * mkgroup.c (usage): Simplify usage output. Generalize to allow use
for help. Correct '?' typo to 'h'.
	(longopts): Add version option.
	(opts): Add 'v' version option.
	(print_version): New function.
	(main): Accommodate new version option.  Accommodate usage parameter
	changes.  Use usage to output help message.
2002-03-19 15:28:13 +00:00
Robert Collins b035997120 2002-03-15 Robert Collins <rbtcollins@hotmail.com>
* fhandler.h (fhandler_termios::lseek): Override lseek.
        * fhandler_termios.cc (fhandler_termios::lseek): Implement this.
2002-03-19 04:39:01 +00:00
Christopher Faylor 59a2339f27 * cygserver.cc: Include stdlib.h for exit declaration.
* threaded_queue.cc: Ditto.
2002-03-15 21:52:05 +00:00
Christopher Faylor ca17537785 * pinfo.cc (pinfo::init): Use PID_ALLPIDS flag to control when a redirected
block should be marked as nonexistent.
(winpids::add): Use PID_ALLPIDS when looking for all pids.
* cygwin.h (PID_ALLPIDS): New enum element.
2002-03-15 21:49:12 +00:00
Corinna Vinschen eeec2a4835 2002-03-15 Corinna Vinschen <corinna@vinschen.de>
* mkgroup.c (main): When generating group 513, check for computer's
	primary domain instead of current user's domain.

2002-03-14  Corinna Vinschen  <corinna@vinschen.de>

	* mkgroup.c (main): When generating group 513, check for domain SID
	if computer name isn't mapped to a SID.
2002-03-15 14:53:55 +00:00
Corinna Vinschen 2f26318784 * glob.c (stat32_to_STAT): New function.
(g_lstat): Call user space functions always with 32 bit struct stat
	as a workaround.
	(g_stat): Ditto.
	* include/glob.h (struct glob): Don't prototype function pointers
	when compiling Cygwin.
2002-03-15 10:12:31 +00:00
Christopher Faylor 4af6d4a9ab * pinfo.cc (pinfo::init): Properly handle execed process stub when PID_NOREDIR
is specified.
2002-03-14 23:14:19 +00:00
Christopher Faylor e10c087bd6 Fix ChangeLog 2002-03-14 15:34:32 +00:00
Corinna Vinschen 6ea9c71656 * poll.cc: Remove variable open_fds, rearrange and add code
to fix settings of revents.
2002-03-14 12:15:31 +00:00
Corinna Vinschen bbe0913914 * mmap.cc (mmap_record::map_map): Return -1 if VirtualProtect fails.
(list::erase): New method with no argument.  Erase latest record
	added.
	(mmap64): Fail if map_map() fails.
2002-03-13 20:54:57 +00:00
Danny Smith 5289f34254 * include/richedit.h (RICHEDIT_CLASS): UNICODE it.
* include/shlobj.h (IContextMenu2): Put methods in right order.
	* include/basetyps.h (REFGUID, REFIID, REFCLSID): Check for
	CINTERFACE before defining.
2002-03-13 20:00:16 +00:00
Christopher Faylor 73ea29f42c whitespace cleanup, update copyright 2002-03-13 02:34:05 +00:00
Corinna Vinschen cb4589f49d * sysconf.cc (sysconf): Fix condition. 2002-03-12 08:57:22 +00:00
Christopher Faylor 1f77d71b4c remove erroneous part of comment 2002-03-12 03:36:01 +00:00
Danny Smith 168f27437f Fix my last ChangeLog entry. 2002-03-11 20:58:00 +00:00
Corinna Vinschen 2817e0dc89 * mmap.cc (msync): Check area given by addr and len for being a
contigeous mmap'd region.
2002-03-11 20:23:09 +00:00
Christopher Faylor af53a09c70 * kill.cc (usage): Move to top of file.
(getsig): Ditto.
(forcekill): Ditto.
2002-03-11 18:33:02 +00:00
Corinna Vinschen 713fb38b7c * fork.cc (fork_child): Call fixup_mmaps_after_fork() before
closing parent process handle.  Call fixup_mmaps_after_fork()
	with parent process handle as parameter.
	* mmap.cc (mmap_record::access): New method.
	(fixup_mmaps_after_fork): Take process handle as parameter.
	In case of FILE_MAP_COPY access, copy valid memory regions to child.
	* pinfo.h (fixup_mmaps_after_fork): Change prototype accordingly.
2002-03-11 17:57:22 +00:00
Danny Smith cf62424b92 * include/accctrl.h, aclapi.h, basetsd.h, basetyps.h, cderr.h,
cguid.h, commctrl.h, commdlg.h, cpl.h, cplext.h, custcntl.h,
	dbt.h, dde.h, ddeml.h, dlgs.h, excpt.h, httpext.h, imagehlp.h,
	imm.h, initguid.h, intshcut.h, ipexport.h, iphlpapi.h,
	ipifcons.h, iprtrmib.h, iptypes.h, isguids.h, largeint.h, lm.h,
	lmaccess.h, lmalert.h, lmapibuf.h, lmat.h, lmaudit.h,
	lmbrowsr.h, lmchdev.h, lmconfig.h, lmcons.h, lmerr.h,
	lmerrlog.h, lmmsg.h, lmremutl.h, lmrepl.h, lmserver.h,
	lmshare.h, lmsname.h, lmstats.h, lmsvc.h, lmuse.h, lmuseflg.h,
	lmwksta.h, lzexpand.h, mapi.h, mciavi.h, mcx.h, mmsystem.h,
	mswsock.h, nb30.h, nddeapi.h, nspapi.h, ntdef.h, ntsecapi.h,
	ntsecpkg.h, oaidl.h, objbase.h, objfwd.h, objidl.h, odbcinst.h,
	ole.h, ole2.h, ole2ver.h, oleauto.h, olectl.h, olectlid.h,
	oledlg.h, oleidl.h, pbt.h, prsht.h, psapi.h, rapi.h, ras.h,
	raserror.h, rassapi.h, regstr.h, richedit.h, richole.h, rpc.h,
	rpcdce.h, rpcdce2.h, rpcdcep.h, rpcndr.h, rpcnsi.h, rpcnsip.h,
	rpcnterr.h, rpcproxy.h, schannel.h, schnlsp.h, scrnsave.h,
	security.h, setupapi.h, shellapi.h, shlguid.h, shlobj.h, sql.h,
	sqlext.h, sqltypes.h, sqlucode.h, sspi.h, subauth.h,
	tlhelp32.h, unknwn.h, userenv.h, w32api.h, winbase.h, wincon.h,
	wincrypt.h, windef.h, windows.h, windowsx.h, winerror.h,
	wingdi.h, wininet.h, winioctl.h, winnetwk.h, winnls.h, winnt.h,
	winperf.h, winreg.h, winresrc.h, winsock.h, winsock2.h,
	winspool.h, winsvc.h, winuser.h, winver.h, ws2tcpip.h,
	wsnetbs.h, wtypes.h, zmouse.h:	Add #pragma GCC system_header
	if __GNUC__ >= 3.
	* include/mapi.h: Change header guard name to _MAPI_H  for
	consistency.
2002-03-09 09:04:10 +00:00
Danny Smith 96a3b54498 * include/accctrl.h (_ACCCTRL_H): Correct typo.
Remove unnecessary inclusion of <wtypes.h>
	* ChangeLog: Fix omission of name in recent entries.

	* include/initguid.h (DEFINE_GUID): Add GUID_EXT to define.
2002-03-08 08:17:19 +00:00
Corinna Vinschen c8c3824dc8 * autoload.cc (NetGetDCName): Add symbol.
(NetServerEnum): Remove symbol.
	* security.cc (get_lsa_srv_inf): Call NetGetDCName() instead of
	NetServerEnum() since it's faster.  Don't call it at all if machine
	is not a domain member.
2002-03-07 14:32:53 +00:00
Christopher Faylor b56dedef3e * cygcheck.cc: Reformat. 2002-03-07 03:13:17 +00:00
Christopher Faylor b9262dd919 * cygcheck.cc (longopts): Use correct short option for --version. 2002-03-07 03:06:28 +00:00
Christopher Faylor 6a34460970 * cygpath.cc: Reformat.
* cygpath.cc (print_version): New function.
(main): Accommodate new version function.  Initialize 'o' to prevent warning.
* cygcheck.cc (main): Eliminate non-GNU formatting glitch.
2002-03-07 03:00:14 +00:00
Christopher Faylor 9420d2b833 * path.cc (normalize_posix_path): Avoid runs of '.'s > 2. 2002-03-07 01:31:08 +00:00
Danny Smith b7410006b9 * include/mswsock.h: Group winsock2 dependants
together and protect with #ifdef _WINSOCK2_H.
	* lib/test.c: Only test ws2tcpip.h if winsock2.h
	has been included.
2002-03-06 11:31:47 +00:00
Danny Smith 8d3db0afbe * include/mswsock.h (TP_*): Add new defines.
(TRANSMIT_PACKETS_ELEMENT): Define new structure.
	(WSAMSG): Likewise.
	(WSACMSGHDR): Likewise.
	(DisconnectEx): Add new prototype.
	(WSARecvMsg): Likewise.
	(WSA_CMSG_*) Add empty macros, guarded by #if 0.
2002-03-05 22:40:30 +00:00
Christopher Faylor 07a21bce5b * errno.cc: Change EPERM associated text to "Operation not permitted"
throughout.
2002-03-05 18:11:20 +00:00
Christopher Faylor 1d25d6f87e Update copyright. 2002-03-05 18:03:32 +00:00
Christopher Faylor eeac69d835 * fhandler_socket.cc (fhandler_socket::close): Respond to signals while
looping, waiting for socket to close.  Superstitiously clear last error when
WSAEWOULDBLOCK.
2002-03-05 18:02:53 +00:00
Robert Collins 241a7c5a8c 2002-03-05 Robert Collins <rbtcollins@hotmail.com>
* cygserver_transport_pipes.cc (transport_layer_pipes::transport_layer_pipes):
        Always init - until static members work correctly.
        * shm.cc (shmget): Initialize the security descriptor - thanks Corinna!
        * include/sys/ipc.h: Make the ipc control constants partitioned off from the sem
        control constants.
2002-03-05 12:58:24 +00:00
Corinna Vinschen ad2864f4c8 * include/sys/termios.h: Define _POSIX_VDISABLE. Define CCEQ macro.
* fhandler_termios.cc: Include <sys/termios.h>.
	(line_edit): Recognize disabled c_cc[] chars.  Ignore VDISCARD when
	not in ICANON mode.
2002-03-05 08:15:28 +00:00
Christopher Faylor 96ef4a6d4d bump copyright 2002-03-05 02:23:39 +00:00
Corinna Vinschen 59149930a3 * syscalls.cc (truncate64): Use ftruncate64 directly to not lose
upper 32 bits.
2002-03-04 16:47:41 +00:00
Robert Collins 7c3617cc0a 2002-03-04 Robert Collins <rbtcollins@hotmail.com>
* cygserver_shm.cc (delete_shmnode): New function.
        (client_request_shm::serve): Use it.
2002-03-04 08:45:40 +00:00
Robert Collins 038c71f10c 2002-03-04 Robert Collins <rbtcollins@hotmail.com>
* cygserver_shm.cc (client_request_shm::serve): Implement SHM_DETACH.
        * shm.cc (shmdt): Implement.
2002-03-04 08:12:53 +00:00
Robert Collins 67be0adb71 2002-03-04 Robert Collins <rbtcollins@hotmail.com>
* cygserver_shm.cc: Run indent.
        (deleted_head): New global for storing shm id's pending deletion.
        (client_request_shm::serve): Return ENOSYS for invalid request types.
        Implement SHM_DEL - delete a shm id.
        * cygserver_shm.h (SHM_DEL): New type value.
        * shm.cc (delete_inprocess_shmds): New function, does what it's name implies.
        (shmctl): Implement shm_rmid control type.
2002-03-04 07:22:08 +00:00