summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
...
* * cygwinenv.sgml: Add text for `smbntsec' option.Corinna Vinschen2000-12-192-1/+15
|
* * environ.cc (struct parse_thing): Add entry for new CYGWIN optionCorinna Vinschen2000-12-197-4/+25
| | | | | | | | | | | `smbntsec'. * path.cc (path_conv::check): Check path for being a remote path. If so and `allow_smbntsec' is set to FALSE, set has_acls to FALSE. * security.cc: Add global definition for `allow_smbntsec'. * security.h: Add extern declaration for `allow_smbntsec'. * fhandler.cc (fhandler_disk_file::open): Eliminate extern declaration of `allow_ntsec'. * syscalls.cc: Ditto.
* * cygcheck.cc (cygwin_info): Add some more bounds checking. From Matt HargetChristopher Faylor2000-12-162-49/+205
| | | | | | | | | | | | | | | | | | | <matt@use.net>: * utils/cygcheck.cc (keyeprint): Move declaration before other functions so it could be used by all functions to report error messages. Add comment. (add_path): Check for NULL return from malloc. (find_on_path): Check initial uses of pointers for NULL. (rva_to_offset): Ditto. (init_paths): Add checking for return values of Win32 calls. (get_dword): Ditto. (get_word): Ditto. (dll_info): Ditto, also add NULL pointer checks. (scan_registry): Ditto. (check_keys): Ditto. (dump_sysinfo): Ditto. Add default case to switch. Add error reporting if GetVolumeInformation fails, except when it returns ERROR_NOT_READY. (track_down): Add checking for NULL pointers and return values of Win32 calls. (cygwin_info): Ditto. Correct small memory leak.
* * fhandler_console.cc (read): Add support for xterm-style mouse eventChristopher Faylor2000-12-163-38/+159
| | | | | | | | reporting. (fhandler_console::char_command): Honor mouse events. (fhandler_console::open): Enable mouse input events. (fhandler_console::input_tcsetattr): Ditto. * select.cc (peek_console): Add check for mouse events.
* * path.cc (normalize_posix_path): Calculate path name length overruns moreChristopher Faylor2000-12-153-10/+20
| | | | | | dynamically. (normalize_win32_path): Ditto. * Makefile.in: Avoid scanning the directory twice for *.d files.
* * fhandler.h (fhandler_console): Add additional argument to char_commandChristopher Faylor2000-12-153-127/+51
| | | | | | | | method. * fhandler_console.cc (fhandler_console::read): Revert previously misapplied patch. (fhandler_console::char_command): Add a second argument. (fhandler_console::write): Recognize when a '?' is found after a <esc>[.
* new entry, installing cygwin-inst snapshots with setupDavid Starks-Browning2000-12-131-0/+36
|
* update contentsDavid Starks-Browning2000-12-131-5/+6
|
* very minor wording changeDavid Starks-Browning2000-12-131-3/+3
|
* update globbing entryDavid Starks-Browning2000-12-131-10/+1
|
* new entries about contributing packagesDavid Starks-Browning2000-12-122-0/+23
|
* try again...David Starks-Browning2000-12-121-1/+1
|
* add tip about -lm order to WinMail@16 entryDavid Starks-Browning2000-12-121-4/+22
|
* add entry about mt on Win9xDavid Starks-Browning2000-12-121-2/+8
|
* update & expand section on multiple DLLsDavid Starks-Browning2000-12-121-4/+11
|
* tiny fixDavid Starks-Browning2000-12-121-0/+1
|
* added structure (unsolved vs. FITNR).David Starks-Browning2000-12-121-1/+13
| | | | added entry about scp leaving ssh procs on Win9x.
* screen has now been portedDavid Starks-Browning2000-12-121-8/+0
|
* these problems are fixed nowDavid Starks-Browning2000-12-121-37/+1
|
* * net.cc (cygwin_rexec): Eliminate superfluous call toCorinna Vinschen2000-12-113-4/+13
| | | | | `set_socket_inheritance'. * include/sys/socket.h: Add SUS defines for option values to `shutdown'.
* * lib/Makefile.in: Install headers and libraries in tooldir.Christopher Faylor2000-12-112-9/+21
|
* * Makefile.in: Compile/link dumper.exe with c++.Christopher Faylor2000-12-112-10/+14
|
* * include/sysexits: New file.Christopher Faylor2000-12-102-0/+122
|
* * autoload.cc: Autoload CharToOemA.Christopher Faylor2000-12-109-48/+100
| | | | | | | | | | | | | | | | | * dcrt0.cc (dll_crt0_1): Translate command line to OEM if current codepage is OEM. * environ.cc: Add new option 'codepage' to CYGWIN environment variable. * fhandler_clipboard.cc (fhandler_clipboard::read): Read clipboard in OEM mode if current codepage is OEM. * fhandler_console.cc (fhandler_console::read): Only translate console input if current codepage is ANSI. * fhandler_console.cc (fhandler_console::write_normal): Translate output data if current codepage is ANSI. * pinfo.cc (codepage_init): New function. Setup current codepage from CYGWIN environment variable and set codepage for file APIs. * security.cc (read_sd): Translate file name to it if current codepage is OEM. * winsup.h: (sys_wcstombs,sys_mbstowcs): Use current codepage for translations between multibyte and widechar string and vice versa.
* * path.cc (normalize_win32_path): Check for explicit use of two slashes at theChristopher Faylor2000-12-093-39/+135
| | | | | | beginning of a path. These should be treated specially regardless of whether they are UNC paths or old-style //a paths. Avoid adding cwd to a path if the path already begins with '/'.
* * path.cc (normalize_win32_path): Reorganize logic to accomodate chroot.Christopher Faylor2000-12-093-27/+35
| | | | | | Always check for MAX_PATH overrun. Avoid adding one too many backslashes when src path begins with a slash. From Corinna Vinschen. * winsup.h: Force demangling for dll_crt0 for newer compilers.
* * cygwin.din: Declare strtok_r for the import lib. Already in the DLL.Corinna Vinschen2000-12-072-1/+7
|
* * mkpasswd.c: make default home directory /home/$user if oneCorinna Vinschen2000-12-072-19/+58
| | | | | | | can't be found in user registry. Allow user to override that with command line arg. (longopts): Fix typo in `local-groups' option. (main): Initialize `passed_home_path' before first usage.
* Make initial tabbing consistent.Christopher Faylor2000-12-071-109/+109
|
* * winsup/cygwin/include/sys/uio.h: readv: Correct prototypeCorinna Vinschen2000-12-062-2/+7
| | | | writev: ditto.
* * include/winnls.h: NORM_IGNORE* remove duplicate defines.Earnie Boyd2000-12-052-36/+258
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SORT_STRINGSORT: ditto. CMAP*: ditto. CTRY_*: add new defines. LGRPID_*: ditto. LCMAP*: change defines to hex notation. CALID: change from ULONG to DWORD. CALTYPE: ditto. _cpinfoex[AW]: add structure. FoldString: correct Unicode mappings. GetCPInfoEx[AW]: add prototypes. EnumCalendarInfoEx[AW]: ditto. EnumDateFormatsEx[AW]: ditto. EnumSystemLanguageGroups[AW]: ditto. EnumLanguageGroupLocales[AW]: ditto. EnumUILanguages[AW]: ditto. GetSystemDefaultUILanguage[AW]: ditto. GetUserDefaultUILanguage[AW]: ditto. IsValidLanguageGroup[AW]: ditto. CALINFO_ENUMPROCEX[AW]: add function pointer typedef LANGUAGEGROUP_ENUMPROC[AW]: ditto LANGGROUPLOCALE_ENUMPROC[AW]: ditto UILANGUAGE_ENUMPROC[AW]: ditto DATEFMT_ENUMPROCEX[AW]: ditto LPCURRENCYFMT[AW]: add structure pointer typedef LPNUMBERFMT[AW]: ditto * ChangeLog: Correct entry by Matt Hargett to include file name.
* * include/sys/uio.h: Include <sys/cdefs.h>. Use __BEGIN_DECL andCorinna Vinschen2000-12-052-7/+15
| | | | | __END_DECL. Add declarations for `readv' and `writev'.
* * Added a define for INVALID_SET_FILE_POINTER, a possible returnCorinna Vinschen2000-12-052-0/+6
| | | | code for the SetFilePointer() win32 API call.
* * Makefile.in: Change `-nostartfiles' to `-nostdlib' to avoidCorinna Vinschen2000-12-042-2/+8
| | | | | automatic linking with default libraries when linking new-cygwin1.dll. Link with libgcc.a and libstdc++.a explicitly.
* * path.cc (normalize_win32_path): Handle UNC paths better.Christopher Faylor2000-12-032-3/+16
| | | | (slash_unc_prefix_p): Allow backslash UNC paths.
* * Makefile.in: Use CXX to build the DLL.Christopher Faylor2000-12-034-114/+245
| | | | | * configure.in: Find correct c++ compiler. * configure: Regenerate.
* * Makefile.common: Eliminate checks for libgcc.a and libstdc++.a. Use CXX forChristopher Faylor2000-12-034-26/+138
| | | | | | g++ compiles. * configure.in: Find correct c++ compiler. * configure: Regenerate.
* * Makefile.in: Remove some extra cruft.Christopher Faylor2000-12-032-5/+6
|
* * Makefile.in: Use CXX to build the DLL.Christopher Faylor2000-12-035-61/+183
| | | | | | | | * 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.
* * net.cc (get_inet_addr ): Close AF_UNIX socket file after reading.Corinna Vinschen2000-12-022-14/+22
|
* * cygheap.cc (chgheap_root::operator =): Check root dir properly.Corinna Vinschen2000-11-292-1/+5
|
* * Makefile.in: eliminate the need for RUNTIME and CRT_ID.Earnie Boyd2000-11-294-54/+61
| | | | | | | | | | | 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.
* * net.cc (cygwin_inet_aton): Return nonzero if the addressCorinna Vinschen2000-11-292-2/+7
| | | | is valid, zero if not according to Linux man page.
* New entry "Bash says "command not found", but it's right there!"David Starks-Browning2000-11-291-0/+21
|
* * mmap.cc (munmap): Check that mmap and munmap length match.Christopher Faylor2000-11-282-3/+6
|
* * fhandler.cc (fhandler_disk_file::open): Check for buggy CreateFileCorinna Vinschen2000-11-284-3/+37
| | | | | | | | | 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'.
* * fhandler.cc (is_at_eof): New function.Christopher Faylor2000-11-262-0/+30
| | | | | | (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.
* * include/cygwin/version.h: Bump DLL minor version number to 7.Christopher Faylor2000-11-262-1/+5
|
* * include/cygwin/version.h: Bump minor API version due to addingCorinna Vinschen2000-11-252-1/+7
| | | | inet_aton.
* * net.cc (cygwin_inet_aton): New function.Corinna Vinschen2000-11-253-2/+22
| | | | * cygwin.din: Export cygwin_inet_aton as inet_aton.