Christopher Faylor
698c627424
* fhandler_console.cc (fhandler_console::read): Detect extended keycode
...
information for Windows 9x so that function keys will work correctly.
2000-04-24 21:41:11 +00:00
DJ Delorie
046069e449
* net.cc (cygwin_inet_network): new function.
...
* cygwin.din (inet_network): new export
2000-04-24 15:44:11 +00:00
Christopher Faylor
7203adb1cc
Fix handling of /.filename
2000-04-21 14:37:48 +00:00
Christopher Faylor
6b762a4ec6
* path.cc (normalize_posix_path): Previous two patches were still incorrect so
...
rewrite this function to deal with trailing dots.
(mount_info::conv_to_win32_path): Just check for '/' where appropriate.
Eliminate nofinalslash call since it is handled in normalize_posix_path now.
2000-04-21 05:32:19 +00:00
Christopher Faylor
60bebb0318
* exceptions.cc (handle_exceptions): Search further for stack info to
...
accomodate Windows 95.
2000-04-20 21:33:58 +00:00
Christopher Faylor
db64ab89f0
* path.cc (normalize_posix_path): Previous change failed to take root
...
access into account.
2000-04-20 20:42:14 +00:00
Corinna Vinschen
bf921462e7
* syscalls.cc (_link): Check new link path for trailing dot.
2000-04-20 13:52:41 +00:00
Christopher Faylor
d7aac2acf5
* fhandler.h (fhandler_base::hclose): New virtual method.
...
(fhandler_base::set_inheritance): Make this a method so that we can use the
appropriate close methods.
* fhandler.cc (fhandler_base::set_inheritance): Ditto.
* path.cc (normalize_posix_path): Eliminate /. trailing path component.
2000-04-20 04:38:10 +00:00
Corinna Vinschen
f06a3648d5
* syscalls.cc (setuid): Allow switching user context after
...
successful call to ImpersonateLogedOnUser (NT only).
(setgid): Ditto.
(seteuid): Call setuid.
(setegid): Call setgid.
2000-04-19 22:33:20 +00:00
Corinna Vinschen
ceba50edbe
* uinfo.cc (internal_getlogin): Use NetGetDCName() instead
...
of NetGetAnyDCName().
2000-04-19 20:03:51 +00:00
Christopher Faylor
8c63f3b872
* configure.in: Change HEADER_SUBDIR to mingw32.
...
* configure: Regenerate.
2000-04-19 17:11:59 +00:00
DJ Delorie
ef6581f9ff
* syscalls.cc (_rename): Try MoveFile() at first before
...
MoveFileEx(..., MOVEFILE_REPLACE_EXISTING).
2000-04-19 03:21:13 +00:00
DJ Delorie
7916b1efda
don't put api internals in general tarball
2000-04-19 02:35:06 +00:00
DJ Delorie
ca271663ab
add commands for building a doc kitchen-sink-tarball
2000-04-19 02:31:45 +00:00
DJ Delorie
05357ffef2
clean up SGML for latest version of jade/docbook
2000-04-19 00:55:19 +00:00
Christopher Faylor
25ba8f306f
* dcrt0.cc (globify): Don't use \ quoting when apparently quoting a DOS path
...
spec, even within a quoted string.
2000-04-18 23:16:56 +00:00
Christopher Faylor
c845acffda
* dcrt0.cc (globify): Don't use \ quoting when apparently quoting a DOS path
...
spec.
2000-04-18 21:28:45 +00:00
DJ Delorie
2cf2f0980f
* remove dependence on where pwd is
2000-04-18 00:37:04 +00:00
Christopher Faylor
08ce80eac2
Remove obsolete setting.
2000-04-16 23:00:38 +00:00
Christopher Faylor
fbf23e34c5
* init.cc (dll_entry): Use better check for determining when to set thread
...
specific stuff.
* syscalls.cc (_unlink): Continue with chmod'ing file even if DELETE_ON_CLOSE
succeeds, if file still exists.
2000-04-16 22:57:05 +00:00
Corinna Vinschen
0ac91154fc
* mkpasswd.c (main): Use GetDCName instead of GetAnyDCName.
...
Don't create extra passwd entry for administrators group
if local_groups is set.
(usage): Change usage text slightly.
(enum_users): Loop while ERROR_MORE_DATA is returned.
(enum_local_groups): Ditto.
* mkgroup.c (enum_local_groups): Ditto.
(enum_groups) Ditto.
(usage): Change usage text slightly.
2000-04-15 22:30:49 +00:00
Christopher Faylor
eed11cf2bb
* fhandler_console.cc (keytable): Add support for keypad 5 key, which MS seems
...
to think is equivalent to VK_CLEAR.
* debug.cc (thread_stub): Eliminate initialization of reent stuff.
* init.cc (dll_entry): Move it here.
2000-04-15 03:52:24 +00:00
Christopher Faylor
2cf9359a8a
* dcrt0.cc (insert_file): Avoid freeing previously allocated argument list.
...
* path.cc (symlink_info::check): Rename from symlink_check_one. Use new
symlink_info struct for communication.
(path_conv::path_conv): Use symlink_info structure for communication with
symlink_info::check. Fix typo which resulted in symbolic links always being
resolved.
(readlink): Use stat_suffixes array when resolving a link.
* syscalls.cc (stat_suffixes): Make global.
2000-04-13 22:43:48 +00:00
Corinna Vinschen
8a06963c1c
* include/cygwin/version.h: Bump minor api to reflect export change.
2000-04-13 18:52:12 +00:00
Corinna Vinschen
b53881fd27
* cygwin.din: Add symbol for `lacl'.
...
* security.cc (ReadSD): Add debug output.
(acl_worker): New static function.
(acl): Call acl_worker now.
(lacl): New function.
(facl): Call acl_worker now.
* include/cygwin/acl.h: Add prototype for `lacl'.
2000-04-13 06:53:24 +00:00
Corinna Vinschen
a4bf66dd75
* path.cc (conv_to_win32_path): Detect a win32 path
...
if path contains backslashes.
2000-04-13 06:48:14 +00:00
Christopher Faylor
418068d4b0
* cygpath.cc (main): Add -a -o and -c options.
...
(doit): Ditto.
2000-04-13 05:23:30 +00:00
Christopher Faylor
7ef25eb606
Fix typo.
2000-04-13 01:00:59 +00:00
Christopher Faylor
0d60da2632
* path.cc (path_conv::path_conv): Ensure that suffix is correctly copied to
...
path when we've found a symlink but aren't following symlinks.
2000-04-12 22:50:08 +00:00
Christopher Faylor
d13dac7f30
Add a debugging line.
2000-04-11 21:22:53 +00:00
Christopher Faylor
caa8b1ca9b
* include/winbase.h: Change first argument of ENUMRES* types to coincide with
...
Microsoft usage.
2000-04-11 12:51:58 +00:00
Christopher Faylor
138d4f510e
* cygpath.cc (main): Add -f option for processing a group of paths from a file.
...
(doit): New function.
2000-04-11 02:57:25 +00:00
Christopher Faylor
23ee7c4463
* include/string.h: Use proper prototype for _strerror.
2000-04-10 23:00:27 +00:00
Christopher Faylor
ba87a619ef
* Makefile.common: Resolve srcdir to absolute path or it will confuse usages
...
when passed to submakes. Eliminate vestigal use of MAKEOVERRIDES.
2000-04-10 03:51:39 +00:00
Christopher Faylor
7f363152c5
* Makefile.in: Work around MAKEOVERRIDES problem with older versions of make.
...
* Makefile.common: Ditto.
2000-04-09 06:15:43 +00:00
Christopher Faylor
0ccdde4c26
Remove erroneous entry.
2000-04-08 05:03:01 +00:00
Christopher Faylor
af3e5ed279
* fhandler.cc (fhandler_disk_file::fstat): Allocate enough space for root dir
...
determination or overflow an array.
2000-04-08 04:47:15 +00:00
Christopher Faylor
0cda2f4609
* exceptions.cc (sigsave): Copy on fork so that we can restore correct behavior
...
in forked process.
(interruptible): Flag as interruptible when running in main process module.
(interrupt_setup): Save return address and address of return address.
(signal_fixup_after_fork): New function. Uses above two values to restore
proper behavior to forked process.
(interrupt_on_return): Pass return address address to interupt_setup.
(interrupt_now): Pass NULL for return address address to interrupt_setup.
* fork.cc (fork): Call signal_fixup_after_fork.
* shared.h: Lint cleanups.
* winsup.h: Ditto.
2000-04-08 04:13:12 +00:00
Ron Parker
61e196e361
Updated to build cinstall with mingw. See Changelog for numerous setup.c changes.
2000-04-07 22:12:41 +00:00
Christopher Faylor
25a99cabd3
Bump minor version.
2000-04-07 00:09:27 +00:00
Christopher Faylor
aefbf3885d
* fhandler.h (select_stuff): Eliminate use of 'total'.
...
* select.cc (cygwin_select): Ditto.
(select_stuff::wait): Use maximum size for w4 rather than calculating what will
fit.
2000-04-03 18:15:01 +00:00
Corinna Vinschen
476839eb03
* grp.cc (parse_grp): Save empty array instead of
...
NULL in gr_mem if no supplementary group is given.
2000-04-03 18:08:13 +00:00
Christopher Faylor
6c8ef0489b
update copyright.
2000-04-03 01:29:06 +00:00
Corinna Vinschen
796e3b20bc
* newlib/libc/include/sys/unistd.h: Add prototypes for
...
fchmod, fchown, lchown.
* winsup/cygwin/syscalls.cc (chown_worker): Use previous
uid/gid if new uid/gid is -1.
New static function with chown functionality.
(chown): Call chown_worker with SYMLINK_FOLLOW.
(fchown): New function. Call chown_worker with SYMLINK_FOLLOW.
(lchown): New function. Call chown_worker with SYMLINK_IGNORE.
* cygwin.din: Add symbols for fchown, lchown.
* path.cc (symlink): Call `set_file_attribute()' and
`SetFileAttributeA()' instead of `chmod()' to set
uid/gid correct.
2000-04-02 20:42:42 +00:00
Christopher Faylor
c90d7012d3
* include/wininet.h: Add three more "INTERNET_OPTIONS".
2000-04-02 01:52:38 +00:00
Christopher Faylor
fd5afe2066
* MAINTAINERS: Add Ron Parker as maintainer of cinstall stuff.
...
Add ChangeLog to doc directory.
2000-03-31 04:46:47 +00:00
Mumit Khan
ab81a36772
2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
...
* Makefile.in (subdirs): Workaround for broken shells.
2000-03-31 04:43:46 +00:00
Mumit Khan
152e16e798
2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
...
* include/winbase.h (CreateHardLink{A,W}): Add prototypes.
* include/winerror.h (ERROR_TOO_MANY_LINKS): Add macro.
* include/winnt.h (SEC_*): Add macros.
* lib/th32.def: Use Kernel32.dll instead of TH32.DLL.
2000-03-30 06:10:11 +00:00
Mumit Khan
f36f4868d1
2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
...
* include/ole.h: Workaround for C++ parser bug.
* include/rpcdcep.h: Likewise.
* include/winsock.h: Likewise.
2000-03-30 06:08:58 +00:00
Christopher Faylor
b0ddfa70a5
Simplify constructors and initializers for select_record.
2000-03-30 04:23:11 +00:00