DJ Delorie
ed8387fb4f
* syscalls.cc (setmode): change mode of any matching FILE* also.
2000-05-19 17:15:02 +00:00
DJ Delorie
f00c1d2ccd
* cygpath.cc: add --windir/--sysdir options
...
* utils.sgml: and document them
2000-05-19 17:06:28 +00:00
Christopher Faylor
f343a326d3
* Makefile.in: Remove external.h dependency.
...
* dcrt0.cc (sigthread::init): Move here from sigproc.h.
* sigproc.h (sigthread): Move init to dcrt0.cc.
2000-05-18 21:30:30 +00:00
Christopher Faylor
e73a56e982
* Makefile.in: Eliminate WINSUP_DEPS.
...
* cygpath.cc: Reorganize includes to accomodate sys/cygwin.h changes.
* mkgroup.c: Ditto.
* mkpasswd.c: Ditto.
* mount.cc: Ditto. Eliminate use of cygwin source specific includes.
* ps.cc: Ditto.
* cygwin.cc: Eliminate obsolete file.
2000-05-18 18:39:11 +00:00
Christopher Faylor
8126b13644
* MAINTAINERS: Add Corinna to general list.
2000-05-18 18:34:02 +00:00
Christopher Faylor
5ea32366a6
Eliminate.
2000-05-18 18:32:26 +00:00
Christopher Faylor
2a6a56c227
* select.cc (thread_pipe): Add paranoid check to ensure thread termination.
...
* external.cc: Eliminate obsolete include.
* getopt.c (getopt_long): Fix compiler warning.
* shared.h: Moved PID_ definitions to include/sys/cygwin so that they can be
used by external programs.
* include/sys/cygwin.h: Move external definitions here. Include sys/resource.h
to avoid having to do this everywhere.
2000-05-18 18:32:05 +00:00
Corinna Vinschen
f55f400b2d
* include/winnt.h: Add some missing TAPE_DRIVE_* defines.
2000-05-18 09:39:33 +00:00
Christopher Faylor
77303e2d83
* sigproc.h (sigframe): Don't set frame info unless tid matches this thread id.
2000-05-18 05:05:58 +00:00
Christopher Faylor
12e659efa8
* dcrt0.cc (dll_crt0_1): Initialize mainthread stuff here before anything needs
...
it.
* sigproc.cc (sigproc_init): Move mainthread initialization out of here.
* sigproc.h (sigthread): Add init() method.
(sigframe): Don't try to initialize muto.
* sync.cc: Undef WaitForSingleObject to avoid recursion.
2000-05-18 03:20:01 +00:00
DJ Delorie
d3d8c2db17
* testsuite/winsup.api/crlf.c: New
...
* testsuite/winsup.api/iospeed.c: New
2000-05-17 17:21:36 +00:00
Christopher Faylor
6201d15e3c
* path.cc (mount_info::cygdrive_posix_path): Don't add trailing slash if
...
referring to something like c:\.
* dcrt0.cc (dll_crt0_1): Move uinfo initialization prior to sig_send
initialization to give signal thread a chance to finish.
* debug.cc (WFSO): Move to sigproc.cc
(WFMO): Ditto.
* exceptions.cc (interruptible): Allocate slightly more space for directory
just for paranoia's sake.
(call_handler): Eliminate nonmain argument. Determine if main thread has set a
frame pointer and use it if so.
(sig_handle): Eliminate nonmain argument.
* net.cc: Record frame information in appropriate routines throughout.
* select.cc (select): Ditto.
* sigproc.cc: Use sigthread structure to record mainthread id throughout.
(sig_send): Record frame information for signal handler.
(wait_sig): Reflect argument change in sig_handle.
(WFSO): Move here and record frame information for signal handler.
(WFMO): Ditto.
* sigproc.h: Implement new "sigthread" class. Implement "sigframe" class for
manipulating signal frame info.
* thread.cc (__pthread_kill): Use standard _kill() function rather than calling
sig_send directly.
* winsup.h: Eliminate ebp element from signal_dispatch class.
2000-05-17 05:49:51 +00:00
Corinna Vinschen
670d8ef016
* fhandler_tape.cc (fhandler_dev_tape::ioctl): Check
...
for filemark feature on MTWEOF operation.
2000-05-16 21:42:55 +00:00
Christopher Faylor
00ca312564
* include/cygwin/in.h (AF_INET6): Use correct in6_addr struct.
2000-05-16 15:50:45 +00:00
David Starks-Browning
eadffa103e
manually updated some sites (txt version badly formatted, dont know why)
2000-05-16 15:38:47 +00:00
David Starks-Browning
6890a5097f
update README to latest net release, if only in name
2000-05-16 15:37:05 +00:00
David Starks-Browning
00d48dd71c
fix dependencies for readme.txt
2000-05-16 15:13:49 +00:00
David Starks-Browning
8dc619c3b7
remove doc/readme exclusion for starksb@ebi.ac.uk
2000-05-16 14:30:27 +00:00
Christopher Faylor
4004738117
* include/cygwin/version.h: Bump DLL minor version number to 2.
2000-05-15 04:37:03 +00:00
Christopher Faylor
66aea0c52e
* shared.h: Bump PROC_MAGIC.
...
* include/cygwin/version.h: Bump API minor to accomodate two recent exports.
2000-05-15 03:42:27 +00:00
Mumit Khan
a0c3677120
2000-05-13 Mumit Khan <khan@xraylith.wisc.edu>
...
* include/cygwin/socket.h (AF_INET6): Use same value as winsock2.
2000-05-14 01:01:23 +00:00
Mumit Khan
bc657c17b5
2000-05-12 Mumit Khan <khan@xraylith.wisc.edu>
...
* include/cygwin/in.h (struct in6_addr): Fix spelling.
* include/cygwin/socket.h (AF_INET6, PF_INET6): Define macros.
(AF_MAX, PF_MAX): Bump to 32 to leave room for future expansion.
2000-05-13 02:01:51 +00:00
Christopher Faylor
41010c6a53
* dcrt0.cc (build_argv): Remove unneeded variable.
...
* select.cc (peek_pipe): Don't check for "ready" if it's already set.
(peek_console): Ditto.
(peek_serial): Ditto.
(peek_socket): Ditto.
(peek_windows): Ditto.
2000-05-13 01:42:53 +00:00
Corinna Vinschen
5640cadbc5
* fhandler_raw.cc (write_file, read_file): New wrapper functions
...
for WriteFile and ReadFile to get rid of ERROR_MEDIA_CHANGED
and ERROR_BUS_RESET in case of first access to tape.
(fhandler_dev_raw::raw_write): Use write_file instead of WriteFile.
(fhandler_dev_raw::raw_read): Use read_file instead of ReadFile.
2000-05-12 18:34:50 +00:00
Christopher Faylor
ad0bed746d
* Makefile.in (DLL_OFILES): Sort.
...
* fhandler_tty.cc (fhandler_tty_slave::send_ioctl_request): Eliminate.
(fhandler_tty_slave::ioctl): Rewrite to avoid races.
2000-05-12 05:06:43 +00:00
DJ Delorie
cfe11d7465
* mmap.cc (list::erase): Increment loop counter.
...
(map::erase): Likewise.
2000-05-11 22:30:45 +00:00
David Starks-Browning
eeefccfcd1
Preliminary update to FAQ to reflect latest net release.
...
(So far, just a new title, some minor updates, and a disclaimer in each
section that has to be updated for the net release, or at least looked at.)
2000-05-11 16:19:21 +00:00
DJ Delorie
d542e8ffed
* cygwin.din: insure that regsub() is included in
...
cygwin1.dll
2000-05-11 15:12:31 +00:00
Christopher Faylor
adfefc0b06
* Makefile.in: Use appropriate VARIABLE to refer to cygwin.def in load line.
2000-05-09 23:00:37 +00:00
Corinna Vinschen
7a87f0326b
* fhandler.cc (fhandler_base::puts_readahead): Change
...
while condition to disallow wild runs.
2000-05-09 21:55:11 +00:00
Corinna Vinschen
f26e3f1574
* window.cc (setitimer): Check for overflow condition
...
in tv_sec.
2000-05-09 13:28:11 +00:00
Corinna Vinschen
8c63465c7b
* errno.cc: Change mapping of ERROR_BAD_PATHNAME to ENOENT.
2000-05-09 10:14:17 +00:00
Corinna Vinschen
a731e4e755
* path.cc (symlink::info): Treat non readable files
...
as normal non symlink files.
2000-05-08 22:50:19 +00:00
Christopher Faylor
67ce5cba91
* include/pthread.h (pthread_detach): Add missing prototype.
...
(pthread_join): same.
2000-05-08 22:38:07 +00:00
DJ Delorie
c469b6a2b0
* fhandler.cc (lock): use signed math to allow checking ranges
...
properly.
2000-05-08 16:13:54 +00:00
David Starks-Browning
5664fa55f4
New maintainer for FAQ (doc/*.texinfo except readme), fix DJ's email address.
2000-05-08 13:41:33 +00:00
Christopher Faylor
eafa31fb9f
* dcrt0.cc (insert_file): Eliminate unused parameter.
...
(build_argv): Ditto.
* exceptions.cc (stack): Eliminate unused parameters.
(stackdump): Ditto.
(cygwin_stackdump): Reflect above changes.
(sig_handle): Ditto.
* fhandler.cc (fhandler_base::set_inheritance): Use kludge to avoid unused
parameter warning.
2000-05-07 03:29:08 +00:00
Mumit Khan
60c83af2ad
2000-05-06 Mumit Khan <khan@xraylith.wisc.edu>
...
* include/wchar.h (wcscmp, wcslen): Fix prototypes.
* syscalls.cc (wcslen, wcscmp): Adjust.
2000-05-06 17:00:53 +00:00
Christopher Faylor
2a1064aad6
* errno.cc (errmap): Correct DIRECTORY mapping to ENOTDIR.
2000-05-06 03:33:10 +00:00
Mumit Khan
3f7290da25
2000-05-04 Mumit Khan <khan@xraylith.wisc.edu>
...
* Makefile.in (install): Install profile startup and library.
2000-05-04 23:19:35 +00:00
Christopher Faylor
8e9b0aee25
* configure.in: Use -gstabs+ as compile debug option. This seems to promote
...
better handling of symbols.
* configure: Regenerate.
* delqueue.cc (delqueue_list::process_queue): Allow ERROR_ACCESS_DENIED to
indicate that a file is being shared under Windows 95.
* syscalls.cc (_unlink): Use full path name. Take special action for Windows
95. Assume that an ERROR_ACCESS_DENIED indicates a sharing violation unless
it's on a remote drive. Punt if there is an ERROR_ACCESS_DENIED on a remote
drive.
2000-05-04 19:46:32 +00:00
Corinna Vinschen
07a135a6bf
* errno.cc (errmap): Map ERROR_BAD_NETPATH to new errno ENOSHARE.
...
(_sys_errlist): Add entry for ENOSHARE.
(strerror): Add case for ENOSHARE.
* syscalls.cc (stat_worker): Check for errno ENOSHARE.
2000-05-03 16:11:11 +00:00
Corinna Vinschen
1c0c369b36
* Makefile.in: Add dependencies for fhandler_random.o
...
* fhandler.h: Add device type FH_RANDOM. Add class
fhandler_dev_random.
* fhandler_random.cc: New file. Implementation of
fhandler_dev_random.
* hinfo.cc (build_fhandler): Add case for FH_RANDOM.
* path.cc: Add device names for random devices to
windows_device_names.
(get_device_number): Add if branch for random devices.
(win32_device_name): Add device name generation for
random devices.
winsup.h: Include <wincrypt.h>.
2000-05-03 15:39:10 +00:00
Corinna Vinschen
a939e045e7
* ntsec.sgml: Revisited description of `ntsec' according to
...
the changes in release 1.1.
* setup.sgml: Include ntsec.
* setup-net.sgml: Ditto.
2000-05-02 22:26:41 +00:00
DJ Delorie
523ebbe087
* path.cc (mount_info::conv_to_win32_path): Previous patch
...
failed to set flags on a win32 path.
2000-05-02 15:42:30 +00:00
Corinna Vinschen
dd67f9db6a
* security.cc (read_sd): Return 1 on success because we
...
can't rely on the returned SD size from GetFileSecurity.
2000-05-02 09:38:32 +00:00
Corinna Vinschen
64dcb07652
* dcrt0.cc: Add dynamic load code for `OemToCharA' from user32.dll.
...
* security.cc (read_sd): Call `OemToCharA' to make
`GetFileSecurity' happy on filenames with umlauts.
2000-05-02 00:25:43 +00:00
DJ Delorie
f115d4c2b2
add reference to Makefile.common (srcdir)
2000-04-30 12:59:50 +00:00
Christopher Faylor
0bd0cb4470
Correct contributor email address.
2000-04-30 04:30:46 +00:00
Christopher Faylor
865ab4b83f
* mount.cc (main): Add "-X" option to specify a "Cygwin executable".
2000-04-27 03:44:23 +00:00