DJ Delorie
56cd25ee02
* syscalls.cc (_cygwin_istext_for_stdio): New, for newlib
...
* include/cygwin/version.h: Bump API number for detect old
programs using old getc/putc macros
2000-05-23 23:52:50 +00:00
DJ Delorie
98c6450eaa
* dir.cc (writable_directory): handle root directories
2000-05-23 19:25:18 +00:00
Christopher Faylor
6eb63adf97
* uname.cc (uname): Use a "s" to denote a snapshot to avoid confusion with the
...
number "5".
2000-05-23 14:10:31 +00:00
Christopher Faylor
2dd78662b7
* path.cc (mount_info::conv_to_posix_path): Avoid putting a trailing slash on a
...
directory name when the ms-dos path spec is a root directory of a device.
* registry.cc (reg_key::build_reg): Set 'key_is_invalid' flag rather than using
an INVALID_HANDLE_KEY.
(reg_key::get_int): Test for key validity before performing registry
operations.
(reg_key::set_int): Ditto.
(reg_key::get_string): Ditto.
(reg_key::set_string): Ditto.
(reg_key::kill): Ditto.
(reg_key::~reg_key): Ditto.
2000-05-23 14:08:52 +00:00
Christopher Faylor
8a06cd1b87
* mkvers.sh: Use snapshot date as build date since it is more interesting.
...
* uname.cc (uname): Detect if this is a snapshot build and add an "S" to the
version number. Report the snapshot date as the release date.
2000-05-23 05:18:48 +00:00
Christopher Faylor
9e1ab0ca55
* environ.cc (regopt): Scan HKLM if HKCU scan fails.
2000-05-22 21:19:36 +00:00
Corinna Vinschen
6892216822
* dir.cc (rmdir): Care for misleading error messages
...
when trying to remove a directory on a samba share.
Eliminate superfluous else branch.
* syscalls.cc (_rename): Additional check for ERROR_FILE_EXISTS
if MoveFile fails.
2000-05-22 17:15:47 +00:00
Christopher Faylor
7054be8b55
* dcrt0.cc (dll_crt0_1): Move uinfo_init call to before sigproc_init to avoid a
...
race.
(noload): Add an extra argument for debugging.
* uinfo.cc (uinfo_init): Eliminate test for multiple calls.
(getlogin): Assume that uinfo_init has already been called.
2000-05-22 00:54:22 +00:00
Christopher Faylor
6cb613a428
* exceptions.cc (interruptible): Add an argument to control whether function
...
just checks for validity. Flag module handle == 0 as noninterrupible.
(call_handler): Always acquire and release ebp lock. Loop for only a fixed
amount of time attempting to grab mutos and find an interruptible PC.
2000-05-20 05:52:33 +00:00
Corinna Vinschen
a4bc548973
* regtool.cc (find_key): Add parameter `access'.
...
Call `RegOpenKeyEx' with that desired access.
(cmd_add, cmd_remove, cmd_set, cmd_unset): Call
`find_key' with KEY_ALL_ACCESS access.
(cmd_list, cmd_check, cmd_get): Call `find_key'
with KEY_READ access.
2000-05-19 22:02:23 +00:00
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