summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
...
* Minor changes, also add note about deleting temp dir after setup.David Starks-Browning2000-06-141-5/+21
|
* Fix simple @-error.David Starks-Browning2000-06-131-1/+1
|
* * path.cc (mount_info::add_item): The previous patch can't handle the case ofChristopher Faylor2000-06-132-6/+13
| | | | overwriting a mount entry.
* New entry: "How should I set my PATH?"David Starks-Browning2000-06-131-0/+28
|
* Removed a couple of "not yet updated" disclaimers.David Starks-Browning2000-06-131-32/+19
| | | | New entry: "info error "dir: No such file or directory""
* "Installation using the setup.exe program": minor note not to mess withDavid Starks-Browning2000-06-131-9/+64
| | | | | | | | | default mounts. "Adding or updating packages": full instructions now, not just links to ml. New: subsection "Problems running setup.exe" subsubsection "Error message: "Unable to retrieve the list of cygwin mirrors..."" subsubsection "System hangs when unpacking tar archives"
* * thread.h: Shorten "current_directory" variables to "cwd_*" throughout.Christopher Faylor2000-06-133-62/+69
| | | | | | | * path.cc: Ditto. (normalize_posix_path): Add some extra debugging info. (chdir): Ditto. Store chdir'ed posix and MS-DOS directory names in "cache" here rather than trying to derive them later.
* Merge "Installation and Setup" and "Using Cygwin Releases" to simplyDavid Starks-Browning2000-06-121-169/+74
| | | | "Using Cygwin". Significant update to "How can I access other drives?".
* * fhandler_random.cc (read): Call CryptAquireContext withCorinna Vinschen2000-06-112-2/+8
| | | | CRYPT_VERIFYCONTEXT.
* * path.cc (path_conv::check): Erase two lines checked inCorinna Vinschen2000-06-082-2/+5
| | | | by mistake.
* * fhandler.cc (fhandler_disk_file::open): Check for directoryCorinna Vinschen2000-06-082-2/+11
| | | | to set O_DIROPEN on directories anyway.
* path.cc (mount_info::init): Eliminate the mount_slash feature.Corinna Vinschen2000-06-083-141/+88
| | | | | | | | | | | | | | | | | (mount_slash): Eliminated. (mount_info::read_mounts): Eliminate looking up existing entries. The loop for deleting cygpath entries is done only when such entries exist. (mount_info::from_registry): Eliminate sorting. (mount_info::add_item): Call add_reg_mount if necessary. Check nmounts more precisely. Use strcasematch in looking up existing entries. (mount_info::del_item): Call del_reg_mount if necessary. Use strcasematch. Use memmove instead of memcpy. (mount_info::import_v1_registry): Everything is done in this method. (mount_info::to_registry): Eliminated. (mount_info::from_v1_registry): Eliminated. (cygwin_umount): Simply call del_item. shared.h: Modify the declaration of add_item and del_item. Remove the declaration of from_v1_registry.
* mount.cc (error): New function to report an error and exit.Corinna Vinschen2000-06-083-19/+38
| | | | | | | umount.cc (error): Ditto. (remove_all_automounts): Check return status of cygwin_umount. (remove_all_user_mounts): Ditto. (remove_all_system_mounts): Ditto.
* * include/cygwin/version.h: Bump DLL minor version number to 3.Christopher Faylor2000-06-082-1/+5
|
* * cygwin.din: add cygwin_dll_initDJ Delorie2000-06-084-0/+55
| | | | | | * dcrt0.cc (cygwin_dll_init): new (dll_crt0_1): short circuit if manually loaded * path.cc (mount_info::init): don't init if manually loaded
* * include/netinet/in_systm.h: New file.Corinna Vinschen2000-06-073-0/+45
| | | | * include/cygwin/in_systm.h: Ditto.
* Major update to "Where can I get more information?" section. Now includes:David Starks-Browning2000-06-071-21/+89
| | | | | | | - Posting guidelines - Pointers to User's Guide, API Reference, USENIX paper - Pointer to alternate searchable mail archive (www.delorie.com) - Addresses for commercial & CD-ROM inquiries
* minor typo correction: GNU not GnuDavid Starks-Browning2000-06-071-2/+2
|
* * mount.cc: add stdlib.h for exitDJ Delorie2000-06-054-0/+11
| | | | | * umount.cc: ditto * strace.cc: add #define for alloca
* "Installation Instructions" for FAQ, first update for current net release.David Starks-Browning2000-06-021-172/+154
|
* * exceptions.cc: Remove unneeded include.Christopher Faylor2000-06-017-27/+40
| | | | | | * dcrt0.cc: Wrap LoadDLLfunc stuff in dummy function. * init.cc: Ditto. * uinfo.cc: Ditto.
* * autoload.h: Put each info block in its own dummy static function.Christopher Faylor2000-06-012-1/+11
|
* * include/cygwin/version.h: use decimal, NOT octalDJ Delorie2000-05-312-2/+8
|
* Remove broken targets readme.info, faq.infoDavid Starks-Browning2000-05-311-1/+4
| | | | (at least until we know what to do with them)
* * fhandler.cc (fhandler_disk_file::open): Check for executableCorinna Vinschen2000-05-312-2/+8
| | | | even if ntsec is on if filesystem doesn't support ACLs.
* * dcrt0.cc: Use LoadDLLfuncEx for loading Crypto API functionsCorinna Vinschen2000-05-312-5/+10
| | | | with parameter `notimp' set to 1.
* * path.cc (mount_info::conv_to_win32_path): Previous patch was too aggressiveChristopher Faylor2000-05-302-5/+12
| | | | in adding a trailing slash.
* Needed for previous changes.Christopher Faylor2000-05-301-0/+2
|
* * Makefile.in: Remove libadvapi32.a.Christopher Faylor2000-05-3011-130/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * autoload.h: Add additional field to autoload block for handling unimplemented functions. (LoadDLLfuncEx): New function which accepts additional parameter for controlling unimplemented function behavior. (LoadDLLfunc): Use LoadDLLfuncEx. * dcrt0.cc: Use new arguments for LoadDLLfunc. Add advapi32 routines. (noload): Rewrite in assembler. Handle new unimplemented function type. * exceptions.cc: Eliminate another vestige of StackWalk stuff. * net.cc: Use new arguments for LoadDLLfunc. * uinfo.cc: Ditto. * config.h.in: Remove obsolete define. * path.h (isdrive): New macro. * dcrt0.cc (globify): Use new macro to determine if a string refers to an MS-DOS drive. * environ.cc (winenv): Ditto. * spawn.cc (find_exec): Ditto. * path.cc (get_raw_device_number): Ditto. (mount_info::conv_to_posix_path): Ditto. (chdir): Ditto. (cygwin_posix_path_list_p): Ditto. (cygwin_split_path): Ditto. (path_conv::check): Move tmp_buf to beginning of function since it can be used earlier in the loop. Use tmp_buf rather than 'root' to hold root information. (mount_info::conv_to_win32_path): Add trailing slash to end of mount path when it translates to a drive. Add defensive code to avoid writing beyond the end of 'dst'.
* * fhandler_random.cc (read): Use CRYPT_MACHINE_KEYSET inCorinna Vinschen2000-05-272-4/+10
| | | | | call to CryptAcquireContext() to serve users that did not log in interactively.
* * include/wincrypt.h: Add missing CRYPT_MACHINE_KEYSET define.Corinna Vinschen2000-05-272-0/+5
|
* * errno.cc (errmap): Map ERROR_BAD_NET_NAME to errno ENOSHARE.Corinna Vinschen2000-05-262-0/+5
|
* * sigproc.h (sigframe::set): Accept a default frame pointer.Christopher Faylor2000-05-263-4/+12
| | | | * sigproc.cc (sig_send): Use passed in frame pointer, if appropriate.
* * configure.in: Don't assume that cinstall directory exists.Christopher Faylor2000-05-253-3/+3
|
* * configure.in: Don't assume that cinstall directory exists.Christopher Faylor2000-05-253-17/+34
|
* * dir.cc (rmdir): Use file attributes that have already been discovered byChristopher Faylor2000-05-252-2/+3
| | | | path_conv.
* * dir.cc (rmdir): Use file attributes that have already been discoveredChristopher Faylor2000-05-252-2/+2
| | | | by path_conv.
* * dir.cc (rmdir): Use file attributes that have already been discovered byChristopher Faylor2000-05-252-3/+7
| | | | path_conv.
* Patch by Kazuhiro Fujieda <fujieda@jaist.ac.jp>:Corinna Vinschen2000-05-252-1/+6
| | | | * dir.cc (rmdir): Correct the manner in checking the target directory.
* * dir.cc (writable_directory): Comment out previous code,Corinna Vinschen2000-05-244-7/+34
| | | | | | | | | | return always 1 for now. (mkdir): Call set_file_attribute explicitely with S_IFDIR mode bit. * syscalls.cc (chown_worker): Ditto. (chmod): Ditto. * security.cc (get_nt_attribute): Fix error in debug output. Never set FILE_DELETE_CHILD for files. Construct appropriate inherit attribute according to file type.
* * Makefile.common (%.o): further simplify, add "..." to make itDJ Delorie2000-05-242-4/+9
| | | | obvious it's an abbreviated command line.
* * syscalls.cc (_cygwin_istext_for_stdio): New, for newlibDJ Delorie2000-05-233-2/+62
| | | | | * include/cygwin/version.h: Bump API number for detect old programs using old getc/putc macros
* * dir.cc (writable_directory): handle root directoriesDJ Delorie2000-05-232-0/+8
|
* * uname.cc (uname): Use a "s" to denote a snapshot to avoid confusion with theChristopher Faylor2000-05-232-1/+6
| | | | number "5".
* * path.cc (mount_info::conv_to_posix_path): Avoid putting a trailing slash on aChristopher Faylor2000-05-234-27/+48
| | | | | | | | | | | | | 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.
* * mkvers.sh: Use snapshot date as build date since it is more interesting.Christopher Faylor2000-05-233-6/+23
| | | | | * 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.
* * environ.cc (regopt): Scan HKLM if HKCU scan fails.Christopher Faylor2000-05-222-0/+10
|
* * dir.cc (rmdir): Care for misleading error messagesCorinna Vinschen2000-05-223-8/+26
| | | | | | | 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.
* * dcrt0.cc (dll_crt0_1): Move uinfo_init call to before sigproc_init to avoid aChristopher Faylor2000-05-223-16/+18
| | | | | | | 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.
* * exceptions.cc (interruptible): Add an argument to control whether functionChristopher Faylor2000-05-202-37/+67
| | | | | | 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.