Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2001-06-15* fhandler.cc (fhandler_disk_file::fstat): Properly set executable bits forChristopher Faylor
directory when !ntsec && !ntea. Also move common code prior to call to get_attributes.
2001-06-15* thread.cc (pthread_cond::Signal): Release the condition access variableChristopher Faylor
correctly.
2001-06-15Index: opcodes/ChangeLogGeoffrey Keating
2001-06-13 Geoffrey Keating <geoffk@redhat.com> * cgen-asm.c (cgen_parse_keyword): When looking for the boundaries of a keyword, allow any special characters that are actually in one of the allowed keyword. * cgen-opc.c (cgen_keyword_add): Add any special characters to the nonalpha_chars field. Index: cgen/ChangeLog 2001-06-13 Geoffrey Keating <geoffk@redhat.com> * desc.scm (<keyword> 'gen-defn): Add extra zero into CGEN_KEYWORD_ENTRY initializers. Index: include/opcode/ChangeLog 2001-06-13 Geoffrey Keating <geoffk@redhat.com> * cgen.h (cgen_keyword): Add nonalpha_chars field.
2001-06-14* fhandler.cc (fhandler_base::open): Set win32 access flagsEgor Duda
to 0, when requested. * fhandler.h: New status flag FH_QUERYOPEN. (fhandler::get_query_open): New function. (fhandler::set_query_open): Ditto. * syscalls.cc (stat_worker): Request query-only open mode.
2001-06-14Remove reference to Cygnus.David Starks-Browning
2001-06-14teeny tiny typoDavid Starks-Browning
2001-06-13Handle GDB's gdb/version.in.Andrew Cagney
2001-06-13* who.texinfo: Oops. Add a couple of important folk.Christopher Faylor
2001-06-13* who.texinfo: Remove email addresses. Modernize.Christopher Faylor
2001-06-12* environ.cc (set_file_api_mode): New function. Move settingEgor Duda
of file APIs mode (OEM/ANSI) here. (codepage_init): From here. * winsup.h (set_file_api_mode): Declare it. * fork.cc (fork_child): Set file APIs mode in forkee.
2001-06-122001-06-11 Danny Smith <dannysmith@users.sourceforge.net>Jeff Johnston
* /libc/include/ctype.h (is* and to* macros): Do not define if C++.
2001-06-12 * objidl.h (IMalloc::ReAlloc()): Correct declaration.Earnie Boyd
(IMalloc::Free()): Ditto.
2001-06-112001-06-11 Egor Duda <deo@logos-m.ru>Jeff Johnston
* libc/ctype/ctype_.c: When compiled with gcc on platforms with signed char, make _ctype_[-128] ... _ctype[-1] refer to initialized memory region. Platform can define COMPACT_CTYPE to avoid allocation of the additional 128 bytes of data. Add pointer to _ctype_ array. Always initialize all _ctype_ array elements.
2001-06-11 * include/shlobj.h (REGSTR_PATH_EXPLORER): Unicode it.Earnie Boyd
(REGSTR_PATH_SPECIAL_FOLDERS): Ditto. * include/regstr.h (REGSTR_PATH_EXPLORER): Add #ifndef guard.
2001-06-11 * profile/configure.in: Make msvcrt.dll version default.Earnie Boyd
* profile/makefile.in: Build both gcrt1.o and gcrt2.o. * provile/configure: Regenerate.
2001-06-11 * include/shlobj.h (struct _browseinfo): UNICODE it.Earnie Boyd
(SHBrowseForFolder): Ditto. (SHGetPathFromIDList): Ditto.
2001-06-11Add missing entry.Christopher Faylor
2001-06-11 * include/stdio.h (swscanf): Make first arugument const.Earnie Boyd
* include/wchar.h (swscanf): Ditto. * include/tchar.h (_tfopen): New _UNICODE define. (_tgetenv): Ditto. (_tsetlocale): Ditto.
2001-06-11* pinfo.cc: Use autoloaded ToolHelp functions throughout for Win9x.Christopher Faylor
* autoload.cc: Autoload ToolHelp functions.
2001-06-11 * include/basetsd.h: RC_INVOKED protection and realignment.Earnie Boyd
Thanks to: Colin Peters <colinpeters@users.sourceforge.net>
2001-06-11 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencingJonathan Larmour
NULL pointer.
2001-06-11* path.cc (chdir): Fix call to path_conv constructor so that it REALLY doesn'tChristopher Faylor
check for the null/non-empty path.
2001-06-11* path.cc (path_conv::update_fs_info): Don't consider remote drives to be NTFS.Christopher Faylor
Set root_dir before invoking GetDriveType (from Kazuhiro Fujieda <fujieda@jaist.ac.jp>). Eliminate extra checks for rootdir.
2001-06-11* path.cc (chdir): Pre-check path for validity before eating trailing space.Christopher Faylor
Then, ensure that path_conv doesn't check the path for validity again.
2001-06-10* exceptions.cc (sigdelayed): Ensure that signal is cleared as the lastChristopher Faylor
operation or suffer races. * sigproc.cc (proc_subproc): Deal with zombie array overflow.
2001-06-10 * cygwin.din: Add fchdir symbols.Corinna Vinschen
* path.cc (chdir): Guard against invalid parameter. (fchdir): New function. * include/cygwin/version.h: Bump API minor version to 40. * uinfo.cc (internal_getlogin): Remove unused variable.
2001-06-10 * syscalls.cc (seteuid): Set environment variables USERNAME andCorinna Vinschen
USERDOMAIN before impersonation to workaround a LookupAccountSid() misbehaviour. * uinfo.cc (internal_getlogin): Revert most of the previous change. Don't set environment variables USERNAME and USERDOMAIN. That's the job of seteuid() now. Try to get logon server from Lsa only if logon server isn't already known.
2001-06-08* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): IfAlexandre Oliva
gcc/xgcc is built, use -print-prog-name to find out the program name to use.
2001-06-07* thread.cc (pthread_cond::Broadcast): Don't print error messages on invalidChristopher Faylor
mutexs - user programs are allowed to call pthread_cond_broadcast like that. (__pthread_cond_timedwait): Initialise themutex properly. (__pthread_cond_wait): Initialise themutex properly.
2001-06-06 * Makefile.in (bindist): Reassign value of exec_prefix on make commandEarnie Boyd
line.
2001-06-05 * fhandler_console.cc (fhandler_console::dup): Allocate space forCorinna Vinschen
savebuf on Cygwin heap. (fhandler_console::char_command): Ditto. Use correct values for size.
2001-06-05* security.h (NTWriteEA): Change prototype.Egor Duda
* ntea.cc (NTReadEA): Don't check for global ntea setting, now it's caller responsibility. (NTWriteEA): Ditto. * security.cc (get_file_attribute): Read attribute from EA only if 'ntea' is enabled. (set_file_attribute): Ditto. * path.h: (class path_conv): Add members to store file system information. (path_conv::get_drive_type): New function. * syscalls.cc (stat_worker): Use it. * path.cc (path_conv::update_fs_info): New functions. (path_conv::check): Get file system information from device where file resides. On NTFS, try to read symlink contents from EA. (get_symlink_ea): New function. (set_symlink_ea): Ditto. (symlink): Store symlink in extended attribute, if possible.
2001-06-05 * fhandler.cc (fhandler_disk_file::fstat): Always reset file positionCorinna Vinschen
to original value after checking for executable magic.
2001-06-05 * profile/Makefile.in (mkinstalldirs): Correct relative path.Earnie Boyd
2001-06-05 * include/_mingw.h: Change version to 1.0.Earnie Boyd
Makefile.in: Ditto.
2001-06-04* ltcf-c.sh (archive_cmds, archive_expsym_cmds) [solaris,Alexandre Oliva
with_gcc]: Use `gcc -shared' to build a shared library.
2001-06-04* ltcf-c.sh (archive_cmd) [hpux, with_gcc]: Use gcc to link sharedAlexandre Oliva
archives.
2001-06-04 * cygheap.h (cygheap_user::cygheap_user): Initialize token toCorinna Vinschen
INVALID_HANDLE_VALUE. * uinfo.cc (uinfo_init): Close token handle if needed.
2001-06-04* path.cc (normalize_posix_path): Revert .. check removed by previous changes.Christopher Faylor
* cygheap.h: Temporarily declare path_prefix_p here.
2001-06-04 * net.cc (wsock_event): Add destructor.Corinna Vinschen
2001-06-03* dlfcn.cc (dlclose): Do not call FreeLibrary if the symbol to close wasChristopher Faylor
obtained by dlopen(NULL,...).
2001-06-03* syscalls.cc (sleep): Try to be a little more accomodating of signal arrival.Christopher Faylor
Ensure that the signal handler is called.
2001-06-03* cygheap.cc (cygheap_root::cygheap_rot): Remove constructor.Christopher Faylor
(cygheap_root::~cygheap_root): Remove destructor. (cygheap_root::operator =): Remove. (cygheap_root::set): New method. * cygheap.h (cygheap_root): Reflect above changes. Store root info in mount-like structure. (cygheap_root:posix_ok): New method. (cygheap_root::ischroot_native): Ditto. (cygheap_root::unchroot): Ditto. (cygheap_root::exists): Ditto. (cygheap_root::posix_length): Ditto. (cygheap_root::posix_path): Ditto. (cygheap_root::native_length): Ditto. (cygheap_root::native_path): Ditto. * dir.cc (opendir): Remove special chroot test. * path.cc (path_prefix_p): Remove front end. (normalize_posix_path): Reorganize chroot tests to accomodate new convention of allowing paths using posix chroot prefix. (path_conv::check): Pass a "already ran normalize" option to conv_to_win32_path. Return if there is an error from this function. (mount_info::conv_to_win32_path): Add extra argument. Don't call normalize_posix_path if caller has already done so. Substitute chroot setting, if any, for root translation. Add chroot checking to final output step. * shared_info (mount_info): Accomodate additional argument to conv_to_win32_path. * syscalls.cc (chroot): Store both normalized posix path and native path in chroot.
2001-06-01* path.cc (chdir): Really make sure that isspace gets only an unsigned char.Christopher Faylor
2001-06-01 * syscalls.cc (_rename): Handle the case that `foo' is renamed toCorinna Vinschen
`bar' while `bar.lnk' is an existing shortcut-symlink.
2001-06-01revert.Christopher Faylor
2001-05-31* fhandler.cc (fhandler_disk_file::fstat): Avoid clearing S_IFMT bits sinceChristopher Faylor
we've already pre-cleared everything anyway.
2001-05-31Maintain 80 col line length.Christopher Faylor
2001-05-31* path.cc (chdir): Always send unsigned chars to isspace since newlib's isspaceChristopher Faylor
doesn't deal well with "negative" chars. * fhandler.cc (fhandler_disk_file::open): Propagate remote status of file garnered from path_conv. Move #! checking to fstat. (fhandler_disk_file::fstat): Reorganize st_mode setting to eliminate duplication. Move check for #! here from fhandler::open. * fhandler.h (fhandler_base::isremote): New method. (fhandler_base::set_isremote): Ditto. (fhandler_base::set_execable_p): Also record "don't care if executable state". (fhandler_base::dont_care_if_execable): New method. * path.cc (path_conv::check): Clear new flags. Appropriately set vol_flags, drive_type, and is_remote_drive. * path.h: Add new flags and methods for manipulating them. * syscalls.cc (_unlink): Use isremote() to determine if a path is remote rather than calling GetDriveType. (stat_worker): Ditto. * security.cc (get_file_attribute): Or attribute with result of NTReadEA to be consistent with get_nt_attribute.
2001-05-30New entry "How do I print under Cygwin?"David Starks-Browning