summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
...
* * mount.cc (main): Add "-X" option to specify a "Cygwin executable".Christopher Faylor2000-04-272-43/+49
|
* * path.cc (normalize_win32_path): Don't add a trailing slash when one alreadyChristopher Faylor2000-04-272-48/+33
| | | | | | exists. (mount_info::conv_to_win32_path): Use existing code for dealing with relative path names when input is already a win32 path.
* * Makefile.in (install): install regexp.hDJ Delorie2000-04-262-1/+6
|
* * syscalls.cc (stat_worker): Previous patch could succeedCorinna Vinschen2000-04-262-5/+11
| | | | in stating a non-existant file.
* Add another INTERNET_OPTION.Christopher Faylor2000-04-262-0/+5
|
* * exceptions.cc (interruptible): Allocate slightly more space for directoryChristopher Faylor2000-04-2612-64/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | name check. Windows 95 seems to null-terminate the directory otherwise. (interrupt_on_return): Issue a fatal error if we can't find the caller's stack. * spawn.cc (find_exec): Accept a path_conv argument rather than a buffer so that the caller can find things out about a translated path. (perhaps_suffix): Ditto. (spawn_guts): Allocate path_conv stuff here so that we can find out stuff about the translated path (this is work in progress). * environ.cc (environ_init): Accept an as-yet unused argument indicating whether we were invoked from a cygwin parent or not. (winenv): Ditto. (posify): Accept an argument indicating whether the path has already been translated. * dlfcn.cc (check_access): Provide a path_conv buffer to find_exec. * exec.cc (sexecvpe): Ditto. * path.cc (path_conv::check): Rename from path_conv::path_conv. (mount_item::getmntent): Recognize "Cygwin executable" bit. (symlink_info::check): Remove debugging statements. * path.h (class path_conv): Add iscygexec method. Rewrite constructor to call "check" method to allow multiple operations on a path_conv variable. * pinfo.cc (pinfo_init): Pass argument to environ_init. * shared.h: Bump PROC_MAGIC. * winsup.h: Reflect above changes to function arguments. * include/sys/mount.h: Add MOUNT_CYGWIN_EXEC type.
* * syscalls.cc (stat_worker): Previous patch failed to statCorinna Vinschen2000-04-252-17/+18
| | | | each drives root dir on 9X.
* 2000-04-25 Mumit Khan <khan@xraylith.wisc.edu>Mumit Khan2000-04-252-0/+6
| | | | * include/winspool.h: Add 2 more PRINTER_ATTRIBUTE_* macros.
* 2000-04-25 Martin Kotulla <martin-k@softmaker.de>Mumit Khan2000-04-255-5/+35
| | | | | | | * include/ddeml.h (DdeCreateStringHandle{A,W}): Fix prototype. * include/shlobj.h (IShellLink{A,W}::GetPath): Fix prototype. * include/wingdi.h: Add LPFNDEVMODE and LPFNDEVCAPS callbacks. * include/winuser.h: Add WM_* macros. Add PCOPYDATASTRUCT typedef.
* * fhandler.cc (fhandler_disk_file::open): Check for allow_ntsecCorinna Vinschen2000-04-255-149/+121
| | | | | | | | | | | | | when determining exec flag. * path.cc (symlink_info::check): Remove call to get_file_attribute(). * security.cc (read_sd): Rename, ditto for variables to conform to common naming convention. Use GetFileSecurity() instead of BackupRead() to avoid permission problems when reading ACLs. (write_sd): Same renaming as for read_sd(). (alloc_sd): Change default permissions according to Linux permissions for group and world when write permission is set. * syscalls.cc (stat_worker): Avoid different permission problems when requesting file informations.
* Forgot ChangeLogCorinna Vinschen2000-04-251-0/+4
|
* * net.cc: Avoid a warning in declaration inet_network.Corinna Vinschen2000-04-251-1/+1
|
* * fhandler_console.cc (fhandler_console::read): Detect extended keycodeChristopher Faylor2000-04-242-1/+6
| | | | information for Windows 9x so that function keys will work correctly.
* * net.cc (cygwin_inet_network): new function.DJ Delorie2000-04-243-0/+18
| | | | * cygwin.din (inet_network): new export
* Fix handling of /.filenameChristopher Faylor2000-04-212-2/+6
|
* * path.cc (normalize_posix_path): Previous two patches were still incorrect soChristopher Faylor2000-04-212-57/+57
| | | | | | 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.
* * exceptions.cc (handle_exceptions): Search further for stack info toChristopher Faylor2000-04-202-1/+6
| | | | accomodate Windows 95.
* * path.cc (normalize_posix_path): Previous change failed to take rootChristopher Faylor2000-04-202-2/+7
| | | | access into account.
* * syscalls.cc (_link): Check new link path for trailing dot.Corinna Vinschen2000-04-202-7/+13
|
* * fhandler.h (fhandler_base::hclose): New virtual method.Christopher Faylor2000-04-204-21/+34
| | | | | | | (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.
* * syscalls.cc (setuid): Allow switching user context afterCorinna Vinschen2000-04-192-12/+58
| | | | | | | successful call to ImpersonateLogedOnUser (NT only). (setgid): Ditto. (seteuid): Call setuid. (setegid): Call setgid.
* * uinfo.cc (internal_getlogin): Use NetGetDCName() insteadCorinna Vinschen2000-04-192-4/+9
| | | | of NetGetAnyDCName().
* * configure.in: Change HEADER_SUBDIR to mingw32.Christopher Faylor2000-04-193-54/+70
| | | | * configure: Regenerate.
* * syscalls.cc (_rename): Try MoveFile() at first beforeDJ Delorie2000-04-192-25/+32
| | | | MoveFileEx(..., MOVEFILE_REPLACE_EXISTING).
* don't put api internals in general tarballDJ Delorie2000-04-191-4/+4
|
* add commands for building a doc kitchen-sink-tarballDJ Delorie2000-04-191-0/+23
|
* clean up SGML for latest version of jade/docbookDJ Delorie2000-04-199-20/+43
|
* * dcrt0.cc (globify): Don't use \ quoting when apparently quoting a DOS pathChristopher Faylor2000-04-182-5/+3
| | | | spec, even within a quoted string.
* * dcrt0.cc (globify): Don't use \ quoting when apparently quoting a DOS pathChristopher Faylor2000-04-182-1/+12
| | | | spec.
* * remove dependence on where pwd isDJ Delorie2000-04-182-1/+5
|
* Remove obsolete setting.Christopher Faylor2000-04-161-4/+0
|
* * init.cc (dll_entry): Use better check for determining when to set threadChristopher Faylor2000-04-163-3/+13
| | | | | | specific stuff. * syscalls.cc (_unlink): Continue with chmod'ing file even if DELETE_ON_CLOSE succeeds, if file still exists.
* * mkpasswd.c (main): Use GetDCName instead of GetAnyDCName.Corinna Vinschen2000-04-153-20/+38
| | | | | | | | | | | 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.
* * fhandler_console.cc (keytable): Add support for keypad 5 key, which MS seemsChristopher Faylor2000-04-154-10/+14
| | | | | | to think is equivalent to VK_CLEAR. * debug.cc (thread_stub): Eliminate initialization of reent stuff. * init.cc (dll_entry): Move it here.
* * dcrt0.cc (insert_file): Avoid freeing previously allocated argument list.Christopher Faylor2000-04-135-69/+83
| | | | | | | | | | * 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.
* * include/cygwin/version.h: Bump minor api to reflect export change.Corinna Vinschen2000-04-132-1/+6
|
* * cygwin.din: Add symbol for `lacl'.Corinna Vinschen2000-04-134-5/+37
| | | | | | | | | * 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'.
* * path.cc (conv_to_win32_path): Detect a win32 pathCorinna Vinschen2000-04-131-4/+24
| | | | if path contains backslashes.
* * cygpath.cc (main): Add -a -o and -c options.Christopher Faylor2000-04-132-13/+71
| | | | (doit): Ditto.
* Fix typo.Christopher Faylor2000-04-131-4/+3
|
* * path.cc (path_conv::path_conv): Ensure that suffix is correctly copied toChristopher Faylor2000-04-122-18/+24
| | | | path when we've found a symlink but aren't following symlinks.
* Add a debugging line.Christopher Faylor2000-04-111-0/+1
|
* * include/winbase.h: Change first argument of ENUMRES* types to coincide withChristopher Faylor2000-04-112-3/+8
| | | | Microsoft usage.
* * cygpath.cc (main): Add -f option for processing a group of paths from a file.Christopher Faylor2000-04-112-49/+102
| | | | (doit): New function.
* * include/string.h: Use proper prototype for _strerror.Christopher Faylor2000-04-102-1/+5
|
* * Makefile.common: Resolve srcdir to absolute path or it will confuse usagesChristopher Faylor2000-04-102-4/+11
| | | | when passed to submakes. Eliminate vestigal use of MAKEOVERRIDES.
* * Makefile.in: Work around MAKEOVERRIDES problem with older versions of make.Christopher Faylor2000-04-093-5/+23
| | | | * Makefile.common: Ditto.
* Remove erroneous entry.Christopher Faylor2000-04-081-1/+0
|
* * fhandler.cc (fhandler_disk_file::fstat): Allocate enough space for root dirChristopher Faylor2000-04-082-2/+8
| | | | determination or overflow an array.
* * exceptions.cc (sigsave): Copy on fork so that we can restore correct behaviorChristopher Faylor2000-04-086-38/+64
| | | | | | | | | | | | | 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.