Christopher Faylor
191bacb0be
* path.cc (normalize_win32_path): Handle UNC paths better.
...
(slash_unc_prefix_p): Allow backslash UNC paths.
2000-12-03 06:21:40 +00:00
Christopher Faylor
92311ab5e5
* Makefile.in: Use CXX to build the DLL.
...
* configure.in: Find correct c++ compiler.
* configure: Regenerate.
2000-12-03 05:42:03 +00:00
Christopher Faylor
8494f61e7c
* Makefile.common: Eliminate checks for libgcc.a and libstdc++.a. Use CXX for
...
g++ compiles.
* configure.in: Find correct c++ compiler.
* configure: Regenerate.
2000-12-03 05:40:45 +00:00
Christopher Faylor
b0a187e204
* Makefile.in: Remove some extra cruft.
2000-12-03 05:20:56 +00:00
Christopher Faylor
6c057e82df
* Makefile.in: Use CXX to build the DLL.
...
* configure.in: Find correct c++ compiler.
* configure: Regenerate.
* path.cc (normalize_posix_path): Put correct drive at beginning of \foo style
paths.
(chdir): Don't send non-posix path to cygcwd.set.
2000-12-03 05:16:33 +00:00
Corinna Vinschen
6b6a8cefad
* net.cc (get_inet_addr ): Close AF_UNIX socket file after reading.
2000-12-02 21:29:00 +00:00
Corinna Vinschen
09872ef885
* cygheap.cc (chgheap_root::operator =): Check root dir properly.
2000-11-29 22:27:15 +00:00
Earnie Boyd
b52aba3fc2
* Makefile.in: eliminate the need for RUNTIME and CRT_ID.
...
Always build crt1.o, dllcrt1.o, crt2.o and dllcrt2.o.
Create a libcoldname.a for the oldname library for CRTDLL.
Restrict libmoldname.a for the oldname library for MSVCRT.
* configure.in: eliminate setting RUNTIME and CRT_ID variables.
Restructure the $target_os case logic.
Always name the MinGW thread dll helper mingwm.
Change Cygwin's HEADER_SUBDIR value from mingw32 to mingw.
* configure: regenerate.
2000-11-29 21:14:48 +00:00
Corinna Vinschen
38c5dd446e
* net.cc (cygwin_inet_aton): Return nonzero if the address
...
is valid, zero if not according to Linux man page.
2000-11-29 17:15:00 +00:00
David Starks-Browning
ab96569985
New entry "Bash says "command not found", but it's right there!"
2000-11-29 16:24:59 +00:00
Christopher Faylor
95ec0f241f
* mmap.cc (munmap): Check that mmap and munmap length match.
2000-11-28 21:25:45 +00:00
Corinna Vinschen
e1a993d549
* fhandler.cc (fhandler_disk_file::open): Check for buggy CreateFile
...
condition.
* path.cc (path_conv::check): Get file system type in call to
GetVolumeInformation to check for file systems with buggy CreateFile.
* path.h (enum path_types): Add PATH_HASBUGGYOPEN.
(class path_conv): Add methods `has_buggy_open' and
`set_has_buggy_open'.
2000-11-28 18:45:42 +00:00
Christopher Faylor
fe1c7fe7a6
* fhandler.cc (is_at_eof): New function.
...
(fhandler_base::raw_read): Detect special case where last error ==
ERROR_NOACCESS but the file is at EOF. Most UNIXes do not consider this to be
an error.
2000-11-26 21:45:16 +00:00
Christopher Faylor
e0cdea91fe
* include/cygwin/version.h: Bump DLL minor version number to 7.
2000-11-26 19:46:17 +00:00
Corinna Vinschen
2e68f6b47e
* include/cygwin/version.h: Bump minor API version due to adding
...
inet_aton.
2000-11-25 10:29:49 +00:00
Corinna Vinschen
0bec01198b
* net.cc (cygwin_inet_aton): New function.
...
* cygwin.din: Export cygwin_inet_aton as inet_aton.
2000-11-25 10:23:55 +00:00
Christopher Faylor
93c1e56b2d
* path.cc (mount_info::read_cygdrive_info_from_registry): Read system cygdrive
...
prefix with KEY_READ.
(mount_info::get_cygdrive_info): Ditto.
2000-11-24 18:04:44 +00:00
Earnie Boyd
c84242b6f3
* Makefile.in: Fix bindist target to distribute the correct files.
...
Remove the use of SNAPSHOT variable and test SNAPDATE instead.
Set SNAPDATE within the snapshot target on recursive call to $(MAKE).
2000-11-22 23:43:23 +00:00
Corinna Vinschen
65e0f5ebc2
* include/winnt.h: Add missing FILE_NAMED_STREAMS define.
2000-11-22 21:27:36 +00:00
Christopher Faylor
0217c5bb3b
* Makefile.in: new-temp.a -> new-templib.a
2000-11-22 16:19:53 +00:00
David Starks-Browning
872134b37d
Update "why doesn't chmod work" with hint from Corinna.
2000-11-22 13:07:14 +00:00
Earnie Boyd
cc100085ed
* Makefile.in: Add missing line continuation `\' for $(SUBDIRS) target.
...
Add variables and targets to control binary and source distributions.
Add variables and targets to control snapshot distribution.
* profile/gmon.h: Add missing #endif for #ifndef.
* profile/ChangeLog: Merge entries here and remove.
* profile/Makefile.in: Add variables and targets to control
distribution.
* README: Add.
* TODO: ditto.
* config.guess: ditto.
* config.sub: ditto.
* mkinstalldirs: ditto.
* install-sh: ditto.
* configure: regenerate.
* profile/configure: ditto.
2000-11-22 01:51:53 +00:00
Earnie Boyd
6126c12345
* include/direct.h: add guard around MSVCRT-only prototytpes
...
* include/io.h: add __int64 struct definitions and function prototypes;
add guard for MSVCRT-only prototypes
* include/limits.h: add ISO C9x macros LLONG_MIN, LLONG_MAX, ULLONG_MAX
* include/stdio.h: add wchar function prototypes (__MSVCRT__);
put wchar functions together to make sync with wchar.h easier
* include/stdlib.h: add wide char functions (__MSVCRT__)
* include/string.h: add string collation functions ( __MSVCRT__)
* include/sys/stat.h: add __int64 struct and function ( __MSVCRT__)
* include/tchar.h: add macros and macro function definitions
* include/wchar.h: add wide char function prototypes ( __MSVCRT__ );
enclose more functions in __MSVCRT__ guard;
some oldname wide char function prototypes #if (0)'d
* profile/gmon.h: add guard around BSD-ish typedefs
2000-11-21 02:50:03 +00:00
Christopher Faylor
d5b692284b
* Makefile.in: Use a different variable name for subdirectory since the
...
previous one was used by the top level make.
2000-11-21 00:00:05 +00:00
Christopher Faylor
9784d54da8
* spawn.cc (spawn_guts): Quoting was still wrong. Keep trying to fix it.
2000-11-20 22:10:13 +00:00
Christopher Faylor
099efae038
* spawn.cc (spawn_guts): YA tweak for dealing with arcane rules of quoting in
...
"normal" Microsoft programs.
* child_info.h: Bump fork magic number.
* include/sys/mount.h: Add an entry for mixed mode.
2000-11-20 19:35:45 +00:00
David Starks-Browning
bbed89ab13
sources.redhat.com -> cygwin.com where appropriate
2000-11-20 14:37:37 +00:00
Christopher Faylor
7665ae4aca
* Makefile.in: Install mingw stuff in a subdirectory if building under cygwin.
2000-11-20 01:52:26 +00:00
Christopher Faylor
86d2c003fe
*** empty log message ***
2000-11-19 04:58:18 +00:00
Christopher Faylor
04979a0fc3
* utils.sgml: Document new options for ps and strace.
2000-11-19 04:55:49 +00:00
Christopher Faylor
9f7bdd2b58
* cygwinenv.sgml: Remove CYGWIN=strace option. Update CYGWIN options.
...
* how-programming.texinfo: Remove stuff about CYGWIN=strace.
* setup2.sgml: Remove CYGWIN=strace example.
2000-11-19 04:53:46 +00:00
Corinna Vinschen
46ba13261b
* path.cc (normalize_posix_path): Special care for root directory
...
in case of files beginning with a dot.
2000-11-17 18:39:47 +00:00
David Starks-Browning
2ef98494d8
Add Windows ME to "What is it?"
2000-11-17 15:09:55 +00:00
David Starks-Browning
7cb2bb152d
Add 'Windows 2000' to "What is it?" entry.
2000-11-17 14:12:23 +00:00
David Starks-Browning
ef01aeac68
Update entry "I'm having basic problems with find. Why?", add advice
...
about -follow option if CWD is symlink.
2000-11-17 14:04:59 +00:00
David Starks-Browning
7816541772
Update "Why is make behaving badly?", add warning about make -j[n].
2000-11-17 13:32:28 +00:00
David Starks-Browning
e2ed94a3c6
New entry "Setup screwed up my mounts!"
2000-11-17 12:57:51 +00:00
David Starks-Browning
b9448841db
Fix error in "Why doesn't my script work?", add note about 'mount -x'.
2000-11-17 12:10:04 +00:00
David Starks-Browning
2f2092aece
new entry "Why doesn't my script work?"
2000-11-17 11:40:06 +00:00
Corinna Vinschen
1126c2b042
* syslog.cc (syslog): Add users SID to NT syslog entry.
2000-11-17 11:30:14 +00:00
Christopher Faylor
879c443594
Fix typo.
2000-11-17 05:15:17 +00:00
Christopher Faylor
5758fdf31d
* fhandler_console.cc: New member variable `dwBufferSize' for `info'.
...
(fillin_info): Set `dwBufferSize' to the size of the console buffer.
(clear_screen): Use width of console buffer to calculate how many spaces to
clear.
2000-11-17 03:01:14 +00:00
Christopher Faylor
992b0a24d0
* Makefile.in: Make import library creation 'make -j2' friendly.
2000-11-16 20:32:27 +00:00
David Starks-Browning
cb06d7468a
New entry "Why doesn't mkdir -p work on a network share?"
2000-11-16 15:08:35 +00:00
Corinna Vinschen
eb79d041f8
* uinfo.cc (uinfo_init): Call `cygwin_set_impersonation_token' to
...
reset `cygheap->user.token' to INVALID_HANDLE_VALUE.
2000-11-16 09:53:26 +00:00
Christopher Faylor
0dc9dc8b3a
Update ChangeLog.
2000-11-16 05:21:03 +00:00
Christopher Faylor
0d675c5d7f
* sigproc.cc (wait_sig): Remove unneeded for loop iteration.
...
* exceptions.cc (interrupt_setup): Don't set signal mask here or races occur
with main thread. Set it in sigdelayed instead.
(sigreturn): Reflect change in stack order of ebp and flags.
(sigdelayed): Set stack frame correctly. Call set_process_mask here with flags
for last trapped signal.
(signal_dispatch): Add newmask.
* sigproc.cc (wait_sig): Eliminate ill-considered attempt to halt looping
signal processors.
2000-11-16 05:16:59 +00:00
Corinna Vinschen
cb6f4dbd0c
* uinfo.cc (internal_getlogin): Change parameter list to reflect
...
that `token' is member of cygheap_user now.
(uinfo_init): Use modified internal_getlogin.
* syscalls.cc (seteuid): Ditto.
2000-11-15 21:14:27 +00:00
Corinna Vinschen
66c161baac
* cygheap.h: Move `token' and `impersonated' from class _pinfo
...
to class cygheap_user.
* pinfo.h: Ditto.
* fork.cc (fork_child): Change usage of `token' and `impersonated'
accordingly.
(fork_parent): Ditto.
* security.cc (cygwin_set_impersonation_token): Ditto.
* sigproc.cc (proc_subproc): Ditto.
* spawn.cc (spawn_guts): Ditto.
* syscalls.cc (seteuid): Ditto.
* uinfo.cc (uinfo_init): Ditto.
2000-11-15 21:04:02 +00:00
Corinna Vinschen
cc35b56c95
* spawn.cc (spawn_guts): Revert patch to ignore chroot settings
...
on creating native Win32 environment.
2000-11-15 09:01:33 +00:00