]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
23 years ago* cygheap.cc (cygheap_root::cygheap_rot): Remove constructor.
Christopher Faylor [Sun, 3 Jun 2001 02:31:16 +0000 (02:31 +0000)]
* cygheap.cc (cygheap_root::cygheap_rot): Remove constructor.
(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.

23 years ago* path.cc (chdir): Really make sure that isspace gets only an unsigned char.
Christopher Faylor [Fri, 1 Jun 2001 14:57:52 +0000 (14:57 +0000)]
* path.cc (chdir): Really make sure that isspace gets only an unsigned char.

23 years ago * syscalls.cc (_rename): Handle the case that `foo' is renamed to
Corinna Vinschen [Fri, 1 Jun 2001 11:53:20 +0000 (11:53 +0000)]
    * syscalls.cc (_rename): Handle the case that `foo' is renamed to
        `bar' while `bar.lnk' is an existing shortcut-symlink.

23 years agorevert.
Christopher Faylor [Fri, 1 Jun 2001 01:45:53 +0000 (01:45 +0000)]
revert.

23 years ago* fhandler.cc (fhandler_disk_file::fstat): Avoid clearing S_IFMT bits since
Christopher Faylor [Thu, 31 May 2001 19:58:59 +0000 (19:58 +0000)]
* fhandler.cc (fhandler_disk_file::fstat): Avoid clearing S_IFMT bits since
we've already pre-cleared everything anyway.

23 years agoMaintain 80 col line length.
Christopher Faylor [Thu, 31 May 2001 17:35:32 +0000 (17:35 +0000)]
Maintain 80 col line length.

23 years ago* path.cc (chdir): Always send unsigned chars to isspace since newlib's isspace
Christopher Faylor [Thu, 31 May 2001 05:25:46 +0000 (05:25 +0000)]
* path.cc (chdir): Always send unsigned chars to isspace since newlib's isspace
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.

23 years agoNew entry "How do I print under Cygwin?"
David Starks-Browning [Wed, 30 May 2001 09:42:36 +0000 (09:42 +0000)]
New entry "How do I print under Cygwin?"

23 years agoNew entry "Where is Objective C?"
David Starks-Browning [Wed, 30 May 2001 09:26:59 +0000 (09:26 +0000)]
New entry "Where is Objective C?"

23 years agoNew entry "How do I contribute to Cygwin?"
David Starks-Browning [Wed, 30 May 2001 09:17:59 +0000 (09:17 +0000)]
New entry "How do I contribute to Cygwin?"

23 years ago* Makefile.in: Tweak to attempt to accomodate older texi2html.
Christopher Faylor [Wed, 30 May 2001 01:30:38 +0000 (01:30 +0000)]
* Makefile.in: Tweak to attempt to accomodate older texi2html.

23 years ago * sec_helper.cc (cygsid::getfrompw): Change parameter to `const'.
Corinna Vinschen [Tue, 29 May 2001 20:43:40 +0000 (20:43 +0000)]
    * sec_helper.cc (cygsid::getfrompw): Change parameter to `const'.
        (cygsid::getfromgr): Ditto.
        * security.cc: Use `sys_mbstowcs' and `sys_wcstombs' throughout.
        (extract_nt_dom_user): Try to get user and domain from SID in
        pw->pw_gecos first.
        * security.h (class cygsid): Change parameter of getfrompw() and
        getfromgr() to `const'.
        * uinfo.cc (internal_getlogin): Change order for evaluating user
        information in winNT case. Drop usage of NetWkstaUserGetInfo().

23 years ago* Makefile.in: Accomodate newer versions of docbook and openjade.
Christopher Faylor [Tue, 29 May 2001 20:25:21 +0000 (20:25 +0000)]
* Makefile.in: Accomodate newer versions of docbook and openjade.

23 years agoAvoid NAME too long error.
Christopher Faylor [Tue, 29 May 2001 20:24:51 +0000 (20:24 +0000)]
Avoid NAME too long error.

23 years agoExpand entry "why doesn't my script work"
David Starks-Browning [Tue, 29 May 2001 18:11:29 +0000 (18:11 +0000)]
Expand entry "why doesn't my script work"

23 years agoUpdate entry about PATH, now done in /etc/profile not cygwin.bat.
David Starks-Browning [Tue, 29 May 2001 15:19:25 +0000 (15:19 +0000)]
Update entry about PATH, now done in /etc/profile not cygwin.bat.
Remove entry "Where can I find 'which'" since it's included now.

23 years agoAdd pointer to google for searching list archives.
David Starks-Browning [Tue, 29 May 2001 15:00:42 +0000 (15:00 +0000)]
Add pointer to google for searching list archives.

23 years agoRemove distinction between latest and contrib in list of packages.
David Starks-Browning [Tue, 29 May 2001 14:42:07 +0000 (14:42 +0000)]
Remove distinction between latest and contrib in list of packages.

23 years ago * shortcut.c (check_shortcut): Treat only Cygwin shortcuts as symlinks.
Corinna Vinschen [Tue, 29 May 2001 08:04:55 +0000 (08:04 +0000)]
    * shortcut.c (check_shortcut): Treat only Cygwin shortcuts as symlinks.

23 years ago* ltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++ shared
Alexandre Oliva [Mon, 28 May 2001 21:05:35 +0000 (21:05 +0000)]
* ltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++  shared
libraries when using g++ with native linker.

23 years ago* ltconfig, ltmain.sh: Upgrade to libtool 1.4a 1.641.2.256.
Alexandre Oliva [Mon, 28 May 2001 20:56:20 +0000 (20:56 +0000)]
* ltconfig, ltmain.sh: Upgrade to libtool 1.4a 1.641.2.256.

23 years agoHandle printf ("%#.0o",0);
Nick Clifton [Mon, 28 May 2001 18:22:44 +0000 (18:22 +0000)]
Handle printf ("%#.0o",0);

23 years agoFix some entries.
Alan Modra [Mon, 28 May 2001 10:37:50 +0000 (10:37 +0000)]
Fix some entries.

23 years agoFix bug when both pointers have matching, non-word alignment, and the length
Nick Clifton [Fri, 25 May 2001 21:17:06 +0000 (21:17 +0000)]
Fix  bug when both pointers have matching, non-word alignment, and the length
is <= 4 but more than enough to move them over a word boundary.
Add comments explaining what each instruction does.

23 years ago* path.cc (symlink_info::check): Correctly set 'ext_tacked_on'. Use this to
Christopher Faylor [Fri, 25 May 2001 15:07:46 +0000 (15:07 +0000)]
* path.cc (symlink_info::check): Correctly set 'ext_tacked_on'.  Use this to
determine if user specified 'foo.lnk' explicitly.  Reorganize slightly to get
rid of one goto.

23 years ago * path.cc (symlink_info::check): Add a check to return correctly
Corinna Vinschen [Fri, 25 May 2001 08:31:57 +0000 (08:31 +0000)]
    * path.cc (symlink_info::check): Add a check to return correctly
        if incoming `*.lnk' file is not a symlink.

23 years ago* path.cc (slash_drive_prefix_p): Remove.
Christopher Faylor [Fri, 25 May 2001 03:13:14 +0000 (03:13 +0000)]
* path.cc (slash_drive_prefix_p): Remove.
(mount_info::slash_drive_to_win32_path): Ditto.
(mount_info::conv_to_win32_path): Remove slash drive prefix check.
(mount_info::add_item): Ditto.
(mount_info::del_item): Ditto.
* shared_info.h (mount_info): Remove slash_drive_to_win32_path declaration.

23 years agoSupport for xcoff64, enable ld for aix
Tom Rix [Thu, 24 May 2001 21:06:16 +0000 (21:06 +0000)]
Support for xcoff64, enable ld for aix

23 years agoSupport for xcoff64
Tom Rix [Thu, 24 May 2001 20:32:58 +0000 (20:32 +0000)]
Support for xcoff64

23 years ago* exceptions.cc (handle_exceptions): Bump repeat count for debugging kick out.
Christopher Faylor [Thu, 24 May 2001 05:20:17 +0000 (05:20 +0000)]
* exceptions.cc (handle_exceptions): Bump repeat count for debugging kick out.
* fhandler.h (fhandler_dev_dsp): Add a fixup_after_exec.
* fhandler_dsp.cc (class Audio): Add TOT_BLOCK_SIZE to enum.
(operator new): New.
(bigwavebuffer): Declare using TOT_BLOCK_SIZE to avoid buffer overruns.
(Audio::Audio): Optimize slightly.
(fhandler_dev_dsp::open): Allocate s_audio using static buffer.
(fhandler_dev_dsp::fixup_after_exec): New function.  Ditto.

23 years agoAdd MIPS r12k support
Nick Clifton [Wed, 23 May 2001 17:26:39 +0000 (17:26 +0000)]
Add MIPS r12k support

23 years ago * syscalls.cc (seteuid): Restrict overriding external provided
Corinna Vinschen [Wed, 23 May 2001 15:49:22 +0000 (15:49 +0000)]
    * syscalls.cc (seteuid): Restrict overriding external provided
        user tokens to ntsec. Don't test external tokens for primary
        group to evaluate if it should be overridden. Restrict creating
        internal tokens to ntsec.

23 years ago2001-05-23 John Healy <jhealy@redhat.com>
John Healy [Wed, 23 May 2001 15:34:43 +0000 (15:34 +0000)]
2001-05-23  John Healy  <jhealy@redhat.com>

        * cgen.h: Increased CGEN_MAX_SYNTAX_ELEMENTS to 48.

23 years ago * syscalls.cc (chown_worker): Don't check for ENOSYS.
Corinna Vinschen [Wed, 23 May 2001 08:12:49 +0000 (08:12 +0000)]
    * syscalls.cc (chown_worker): Don't check for ENOSYS.

23 years ago* lib/mapi32.def: Add MAPISendMail.
Christopher Faylor [Tue, 22 May 2001 23:03:25 +0000 (23:03 +0000)]
* lib/mapi32.def: Add MAPISendMail.

23 years ago * include/w32api.h: Update version.
Earnie Boyd [Tue, 22 May 2001 20:51:47 +0000 (20:51 +0000)]
* include/w32api.h: Update version.
* Makefile.in: Ditto.

23 years ago* signal.cc (sleep): Protect with sigframe.
Christopher Faylor [Tue, 22 May 2001 16:22:36 +0000 (16:22 +0000)]
* signal.cc (sleep): Protect with sigframe.

23 years ago * security.cc (get_file_attribute): Don't set errno.
Corinna Vinschen [Tue, 22 May 2001 15:59:37 +0000 (15:59 +0000)]
    * security.cc (get_file_attribute): Don't set errno.

23 years ago* ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)
Alexandre Oliva [Tue, 22 May 2001 10:40:29 +0000 (10:40 +0000)]
* ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)
[aix4*|aix5*]: Prepend blank.

23 years ago* configure.in: Allow --enable-newvfork to turn NEWVFORK on and off.
Christopher Faylor [Mon, 21 May 2001 19:13:48 +0000 (19:13 +0000)]
* configure.in: Allow --enable-newvfork to turn NEWVFORK on and off.
* configure: Regenerate.

23 years ago* include/cygwin/version.h: Bump minor version number.
Christopher Faylor [Mon, 21 May 2001 15:50:36 +0000 (15:50 +0000)]
* include/cygwin/version.h: Bump minor version number.

23 years ago * winsup.api/mmaptest01.c: Add log output.
Corinna Vinschen [Mon, 21 May 2001 09:03:38 +0000 (09:03 +0000)]
    * winsup.api/mmaptest01.c: Add log output.
        * winsup.api/mmaptest02.c: Write log output to stdout.
        * winsup.api/mmaptest03.c: Ditto.

23 years ago* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
Alexandre Oliva [Sun, 20 May 2001 19:02:54 +0000 (19:02 +0000)]
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.254.  Rebuilt a number
of subdir/configure scripts to use the new libtool.m4.

23 years ago* fhandler_dsp.cc: Reformat to GNU standards.
Christopher Faylor [Sun, 20 May 2001 17:31:06 +0000 (17:31 +0000)]
* fhandler_dsp.cc: Reformat to GNU standards.
(s_audio): Change to a pointer throughout.
(fhandler_dev_dsp::open): Initialize s_audio, if required.

23 years ago * autoload.cc: Add load statements for `LookupAccountNameW',
Corinna Vinschen [Sun, 20 May 2001 08:10:47 +0000 (08:10 +0000)]
    * autoload.cc: Add load statements for `LookupAccountNameW',
        `LsaClose', `LsaEnumerateAccountRights', `LsaFreeMemory',
        `LsaOpenPolicy', `LsaQueryInformationPolicy', `NetLocalGroupEnum',
        `NetLocalGroupGetMembers', `NetServerEnum', `NetUserGetGroups' and
        `NtCreateToken'.
        * ntdll.h: Add declaration for `NtCreateToken'.
        * sec_helper.cc: Add `well_known_local_sid', `well_known_dialup_sid',
        `well_known_network_sid', `well_known_batch_sid',
        `well_known_interactive_sid', `well_known_service_sid' and
        `well_known_authenticated_users_sid'.
        (cygsid::string): Define as const method.
        (cygsid::get_sid): Set psid to NO_SID on error.
        (cygsid::getfromstr): Ditto.
        (cygsid::getfrompw): Simplify.
        (cygsid::getfromgr): Check for gr == NULL.
        (legal_sid_type): Move to security.h.
        (set_process_privilege): Return -1 on error, otherwise 0 or 1 related
        to previous privilege setting.
        * security.cc (extract_nt_dom_user): Remove `static'.
        (lsa2wchar): New function.
        (open_local_policy): Ditto.
        (close_local_policy): Ditto.
        (get_lsa_srv_inf): Ditto.
        (get_logon_server): Ditto.
        (get_logon_server_and_user_domain): Ditto.
        (get_user_groups): Ditto.
        (is_group_member): Ditto.
        (get_user_local_groups): Ditto.
        (sid_in_token_groups): Ditto.
        (get_user_primary_group): Ditto.
        (get_group_sidlist): Ditto.
        (get_system_priv_list): Ditto.
        (get_priv_list): Ditto.
        (get_dacl): Ditto.
        (create_token): Ditto.
        (subauth): Return immediately if SE_TCB_NAME can't be assigned.
        Change all return statements in case of error to jumps to `out'
        label. Add `out' label to support cleanup.
        * security.h: Add extern declarations for `well_known_local_sid',
        `well_known_dialup_sid', `well_known_network_sid',
        `well_known_batch_sid', `well_known_interactive_sid',
        `well_known_service_sid' and `well_known_authenticated_users_sid'.
        Add extern declarations for functions `create_token',
        `extract_nt_dom_user' and `get_logon_server_and_user_domain'.
        (class cygsid): Add method `assign'. Change operator= to call new
        `assign' method. Add `debug_print' method.
        (class cygsidlist): New class.
        (legal_sid_type): Moved from sec_helper.cc to here.
        * spawn.cc (spawn_guts) Revert reversion of previous patch.
        Call `RevertToSelf' and `ImpersonateLoggedOnUser' instead of `seteuid'
        again.
        * syscalls.cc (seteuid): Rearranged. Call `create_token' now when
        needed. Call `subauth' if `create_token' fails. Try setting token
        owner and primary group only if token was not explicitely created
        by `create_token'.
        * uinfo.cc (internal_getlogin): Try harder to generate correct user
        information. Especially don't trust return value of `GetUserName'.

23 years ago* Makefile.in: Use 'rm -f' when cleaning.
Christopher Faylor [Sun, 20 May 2001 04:25:02 +0000 (04:25 +0000)]
* Makefile.in: Use 'rm -f' when cleaning.

23 years ago* fork.cc (fork_parent): Move atforkprepare call here.
Christopher Faylor [Sun, 20 May 2001 01:19:20 +0000 (01:19 +0000)]
* fork.cc (fork_parent): Move atforkprepare call here.
(fork): From here.

23 years ago * autoload.cc: Add missing load statement for `CancelIo'.
Corinna Vinschen [Sat, 19 May 2001 16:36:58 +0000 (16:36 +0000)]
    * autoload.cc: Add missing load statement for `CancelIo'.

23 years ago* grp.cc (read_etc_group): Don't copy mutex on fork.
Christopher Faylor [Sat, 19 May 2001 05:29:00 +0000 (05:29 +0000)]
* grp.cc (read_etc_group): Don't copy mutex on fork.
* pwd.cc (read_etc_passwd): Ditto.
* autoload.cc (LoadDLLfuncEx): Use LoadDLLprime to initialize DLL specific
area.

23 years ago * net.cc (wsock_event::wait): Explicitely cancel IO when a signal
Corinna Vinschen [Fri, 18 May 2001 08:33:33 +0000 (08:33 +0000)]
    * net.cc (wsock_event::wait): Explicitely cancel IO when a signal
        arrived to avoid data loss. Fallback to blocking IO when canceling
        fails.

23 years ago * include/winnt.h: Define SE_GROUP_LOGON_ID as unsigned to avoid
Corinna Vinschen [Thu, 17 May 2001 21:13:10 +0000 (21:13 +0000)]
    * include/winnt.h: Define SE_GROUP_LOGON_ID as unsigned to avoid
        compiler warnings.

23 years ago * include/ntdef.h: Protect definition of OBJECT_ATTRIBUTES against
Corinna Vinschen [Thu, 17 May 2001 15:16:37 +0000 (15:16 +0000)]
    * include/ntdef.h: Protect definition of OBJECT_ATTRIBUTES against
        previous definition in include/ntsecapi.h.
        * include/ntsecapi.h: Vice versa.

23 years ago * security.cc (cygwin_set_impersonation_token): Never destroy
Corinna Vinschen [Thu, 17 May 2001 13:31:45 +0000 (13:31 +0000)]
    * security.cc (cygwin_set_impersonation_token): Never destroy
        previous token object.
        (subauth): Create token source with well defined identifier.

23 years ago Revert accidentally checked in ChangeLog.
Corinna Vinschen [Thu, 17 May 2001 13:28:32 +0000 (13:28 +0000)]
Revert accidentally checked in ChangeLog.

23 years ago * cygsuba.c: Create token source with well defined identifier.
Corinna Vinschen [Thu, 17 May 2001 13:26:15 +0000 (13:26 +0000)]
* cygsuba.c: Create token source with well defined identifier.

23 years ago Add missing ChangeLog entry.
Corinna Vinschen [Thu, 17 May 2001 08:23:47 +0000 (08:23 +0000)]
Add missing ChangeLog entry.

23 years ago * uinfo.cc (uinfo_init): Just set user token to INVALID_HANDLE_VALUE.
Corinna Vinschen [Wed, 16 May 2001 21:53:18 +0000 (21:53 +0000)]
    * uinfo.cc (uinfo_init): Just set user token to INVALID_HANDLE_VALUE.
        Token value is already invalid at that point.

23 years agomerge from gcc
DJ Delorie [Wed, 16 May 2001 21:03:31 +0000 (21:03 +0000)]
merge from gcc

23 years ago * net.cc (errmap): Add missing mapping from WSAEINTR to EINTR.
Corinna Vinschen [Wed, 16 May 2001 19:40:45 +0000 (19:40 +0000)]
    * net.cc (errmap): Add missing mapping from WSAEINTR to EINTR.

23 years ago * include/winnt.h: Add defines for group attributes.
Corinna Vinschen [Wed, 16 May 2001 16:01:45 +0000 (16:01 +0000)]
    * include/winnt.h: Add defines for group attributes.
        Add define for SYSTEM_LUID.
        Add missing types `PTOKEN_DEFAULT_DACL', `PTOKEN_OWNER' and
        `PTOKEN_PRIMARY_GROUP'.

23 years ago * sec_helper.cc (legal_sid_type): Fix conditional. Change to
Corinna Vinschen [Wed, 16 May 2001 07:25:31 +0000 (07:25 +0000)]
    * sec_helper.cc (legal_sid_type): Fix conditional. Change to
        inline function.

23 years ago* autoload.h: Eliminate.
Christopher Faylor [Wed, 16 May 2001 05:07:51 +0000 (05:07 +0000)]
* autoload.h: Eliminate.
* autoload.cc: Pull in autoload.h.  Eliminate many macros.  Rewrite to avoid
necessity of initialization routines.  Just use a standard one.
(wsock_init): New function.  Moved from net.cc.
* net.cc (wsock_init): Move to autoload.cc.
(wsadata): Make global.
* dtable.cc (dtable::build_fhandler): Use more reliable method for checking if
net stuff has been loaded.

23 years ago * fork.cc (fork): Eliminate superfluous call to getuid().
Corinna Vinschen [Tue, 15 May 2001 19:23:31 +0000 (19:23 +0000)]
    * fork.cc (fork): Eliminate superfluous call to getuid().
        * security.h: New define `NO_SID'. Remove declarations of functions
        moved to methods into class cygsid.
        (class cygsid): Declare new methods `getfromstr', `get_sid',
        `getfrompw', `getfromgr', `get_rid', `get_uid', `get_gid', `string'
        and new constructors and operators =, == and !=.
        Declare new global cygsids `well_known_XXX_sid' substituting the
        corresponding `get_XXX_sid' functions. Remove declarations of
        these functions.
        * sec_helper.cc (well_known_admin_sid): New global variable.
        (well_known_system_sid): Ditto
        (well_known_creator_owner_sid): Ditto
        (well_known_world_sid): Ditto
        (cygsid::string): New method, substituting `convert_sid_to_string_sid'.
        (cygsid::get_sid): New method, substituting `get_sid'.
        (cygsid::getfromstr): New method, substituting
        `convert_string_sid_to_sid'.
        (cygsid::getfrompw): New method, substituting `get_pw_sid'.
        (cygsid::getfromgr): New method, substituting `get_gr_sid'.
        (cygsid::get_id): New method, substituting `get_id_from_sid'.
        (get_admin_sid): Eliminated.
        (get_system_sid): Ditto.
        (get_creator_owner_sid): Ditto.
        (get_world_sid): Ditto.
        * grp.cc: Use new cygsid methods and well known sids throughout.
        * registry.cc: Ditto.
        * sec_acl.cc: Ditto.
        * security.cc: Ditto.
        * shared.cc: Ditto.
        * syscalls.cc (seteuid): Ditto. Eliminate redundant conditional.
        * uinfo.cc (internal_getlogin): Ditto.
        * spawn.cc (spawn_guts) Revert previous patch.

23 years agoRemove definition of EM_MIPS_RS4_BE. The constant was never in active use
Nick Clifton [Tue, 15 May 2001 12:24:29 +0000 (12:24 +0000)]
Remove definition of EM_MIPS_RS4_BE.  The constant was never in active use
and is used otherwise by the ABI.

23 years agoFix MIPS disassembler so that it produces reassemblable code.
Nick Clifton [Tue, 15 May 2001 12:11:12 +0000 (12:11 +0000)]
Fix MIPS disassembler so that it produces reassemblable code.

23 years ago * winsup.api/winsup.exp: Force linking all tests against binmode.o.
Corinna Vinschen [Tue, 15 May 2001 10:03:01 +0000 (10:03 +0000)]
    * winsup.api/winsup.exp: Force linking all tests against binmode.o.

23 years ago * fhandler_socket.cc (fhandler_socket::ioctl): Convert s_addr
Corinna Vinschen [Tue, 15 May 2001 08:42:15 +0000 (08:42 +0000)]
    * fhandler_socket.cc (fhandler_socket::ioctl): Convert s_addr
        field to host byte order before comparing with INADDR_LOOPBACK.

23 years ago * autoload.cc: Add autoload statements for ws2_32 functions
Corinna Vinschen [Tue, 15 May 2001 08:15:54 +0000 (08:15 +0000)]
    * autoload.cc: Add autoload statements for ws2_32 functions
        `WSACloseEvent', `WSACreateEvent', `WSAGetOverlappedResult',
        `WSARecv', `WSARecvFrom', `WSASend', `WSASendTo' and `WSASetEvent',
        `WSAWaitForMultipleEvents'.
        * net.cc: Define wsock_evt.
        (wsock_event): New class.
        (cygwin_sendto): Use overlapped socket io if available.
        (cygwin_recvfrom): Ditto.
        (cygwin_recv): Ditto.
        (cygwin_send): Ditto.
        * security.cc (subauth): Set Win32 error to 0 to safely ask for the
        error code of dynamically loaded function `LsaRegisterLogonProcess'.

23 years ago* Makefile.common: Change method for finding current directory.
Christopher Faylor [Tue, 15 May 2001 05:11:55 +0000 (05:11 +0000)]
* Makefile.common: Change method for finding current directory.

23 years ago* errno.cc (_sys_errlist): Add missing commas.
Christopher Faylor [Mon, 14 May 2001 19:39:57 +0000 (19:39 +0000)]
* errno.cc (_sys_errlist): Add missing commas.

23 years ago2001-05-14 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 14 May 2001 16:40:49 +0000 (16:40 +0000)]
2001-05-14  H.J. Lu <hjl@gnu.org>

* config.if (libc_interface): Set to -libc6.2- for cross
compiling to Linux/glibc 2.2.

23 years ago * security.cc (subauth): Check if Secur32.dll could be loaded.
Corinna Vinschen [Mon, 14 May 2001 14:14:19 +0000 (14:14 +0000)]
    * security.cc (subauth): Check if Secur32.dll could be loaded.

23 years ago* path.cc (path_conv::check): Revert allow_ntsec check so that volume info is
Christopher Faylor [Mon, 14 May 2001 02:52:12 +0000 (02:52 +0000)]
* path.cc (path_conv::check): Revert allow_ntsec check so that volume info is
always retrieved and isdisk setting is properly set.

23 years agoFix formatting.
Christopher Faylor [Mon, 14 May 2001 02:49:56 +0000 (02:49 +0000)]
Fix formatting.

23 years ago* fhandler_tty.cc (fhandler_tty_common::dup): Preserve O_NOCTTY when duping a
Christopher Faylor [Sun, 13 May 2001 18:05:52 +0000 (18:05 +0000)]
* fhandler_tty.cc (fhandler_tty_common::dup): Preserve O_NOCTTY when duping a
filehandle.

23 years ago * dir.cc (rmdir): Rearrange slightly to allow removing directories
Corinna Vinschen [Sat, 12 May 2001 16:24:05 +0000 (16:24 +0000)]
    * dir.cc (rmdir): Rearrange slightly to allow removing directories
        even when R/O attribute is set.

23 years agoCorrect cvtps2dq, movdq2q, movq2dq, and movq problems.
Alan Modra [Sat, 12 May 2001 09:52:39 +0000 (09:52 +0000)]
Correct cvtps2dq, movdq2q, movq2dq, and movq problems.

23 years ago* external.cc (fillout_pinfo): Use correct pids.
Christopher Faylor [Fri, 11 May 2001 21:01:44 +0000 (21:01 +0000)]
* external.cc (fillout_pinfo): Use correct pids.
* path.cc (mount_info::conv_to_win32_path): Correct test for whether to include
a slash.

23 years agomerge from gcc
DJ Delorie [Fri, 11 May 2001 20:22:28 +0000 (20:22 +0000)]
merge from gcc

23 years ago * elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwind
Jakub Jelinek [Fri, 11 May 2001 12:36:47 +0000 (12:36 +0000)]
* elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwind
sections as well.
(elfNN_ia64_final_write_processing): Map .gnu.linkonce.ia64unw.FOO
to .gnu.linkonce.t.FOO text section.

* readelf.c (process_unwind): Print all unwind sections, not just
one.

* config/tc-ia64.c (special_linkonce_name): New.
(make_unw_section): Map .gnu.linkonce.t.FOO text section into
.gnu.linkonce.ia64unw{,i}.FOO.
(ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO.
(dot_endp): Add comment about it.

* elf/ia64.h (ELF_STRING_ia64_unwind_once): Define.
(ELF_STRING_ia64_unwind_info_once): Define.

* emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
.gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
output sections.
* emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.

23 years ago* exceptions.cc (handle_exceptions): Don't print message when executing from a
Christopher Faylor [Fri, 11 May 2001 05:11:12 +0000 (05:11 +0000)]
* exceptions.cc (handle_exceptions): Don't print message when executing from a
cygwin program.

23 years agoChristopher Faylor <cgf@redhat.com>
Christopher Faylor [Fri, 11 May 2001 03:27:22 +0000 (03:27 +0000)]
Christopher Faylor <cgf@redhat.com>
* environ.cc (winenv): Always add SYSTEMDRIVE and SYSYEMROOT to win32-style
environment if they don't already exist.

23 years agoremove erroneous header.
Christopher Faylor [Wed, 9 May 2001 20:22:35 +0000 (20:22 +0000)]
remove erroneous header.

23 years ago* path.cc (mount_info::conv_to_win32_path): Treat UNC paths the same as paths
Christopher Faylor [Wed, 9 May 2001 18:59:10 +0000 (18:59 +0000)]
* path.cc (mount_info::conv_to_win32_path): Treat UNC paths the same as paths
including `:' or `\'.

23 years ago* fhandler.h (fhandler_termios::echo_erase): Declare new method.
Christopher Faylor [Wed, 9 May 2001 18:53:55 +0000 (18:53 +0000)]
* fhandler.h (fhandler_termios::echo_erase): Declare new method.
* fhandler_termios.cc (fhandler_termios::echo_erase): New method for echoing
erase characters.
(fhandler_termios::line_edit): Check the echo flag before echoing control
characters (from Kazuhiro Fujieda <fujieda@jaist.ac.jp>).

23 years ago* include/pthread.h: Remove C++ comment.
Christopher Faylor [Wed, 9 May 2001 14:45:47 +0000 (14:45 +0000)]
* include/pthread.h: Remove C++ comment.

23 years ago* cygheap.cc (_cfree): Add regparm attribute.
Christopher Faylor [Tue, 8 May 2001 15:16:49 +0000 (15:16 +0000)]
* cygheap.cc (_cfree): Add regparm attribute.
(_crealloc): Ditto.
* dcrt0.cc (dll_crt0_1): Default to always checking for executable for now.
* dtable.cc (dtable::not_open): Move method.
* dtable.h (dtable): Here.
* exceptions.cc (ctrl_c_handler): Don't expect process group leader to handle a
signal if it doesn't exist.
* fhandler.h (fhandler_base): Make openflags protected.
* localtime.c (tzsetwall): Check for __CYGWIN__ as well as __WIN32__.
* path.cc (path_conv::check): Add some comments.  Change strcat to assignment.
* lib/_cygwin_S_IEXEC.cc (_cygwin_bob__): Eliminate.
* fhandler_tty.cc (fhandler_console::dup): Set controlling terminal if
necessary.
* fhandler_tty.cc (fhandler_tty_slave::dup): Ditto.

23 years agomerge from gcc
DJ Delorie [Tue, 8 May 2001 14:34:36 +0000 (14:34 +0000)]
merge from gcc

23 years agoFix typo.
Christopher Faylor [Tue, 8 May 2001 14:06:55 +0000 (14:06 +0000)]
Fix typo.

23 years ago* include/sys/file.h: Revert special X_OK usage. Just make it a constant.
Christopher Faylor [Tue, 8 May 2001 01:36:50 +0000 (01:36 +0000)]
* include/sys/file.h: Revert special X_OK usage.  Just make it a constant.

23 years ago* libc/include/sys/stat.h: Revert March 3, Cygwin change.
Christopher Faylor [Tue, 8 May 2001 01:15:06 +0000 (01:15 +0000)]
* libc/include/sys/stat.h: Revert March 3, Cygwin change.
* libc/include/sys/Ditto.h: Ditto.

23 years agomerge from gcc
DJ Delorie [Mon, 7 May 2001 16:19:25 +0000 (16:19 +0000)]
merge from gcc

23 years ago * external.h: Fix typo.
Alan Modra [Mon, 7 May 2001 09:18:52 +0000 (09:18 +0000)]
* external.h: Fix typo.
* mips.h: Add/Extend many comments with reference to the MIPS ELF64
spec v. 2.4, available at e.g.
ftp://oss.sgi.com/pub/linux/mips/doc/ABI/ELF64.ps.
(EF_MIPS_UCODE): Define.
(EF_MIPS_OPTIONS_FIRST): Define.
(EF_MIPS_ARCH_ASE): Define.
(EF_MIPS_ARCH_ASE_MDMX): Define.
(EF_MIPS_ARCH_ASE_M16): Define.
(SHF_MIPS_ADDR): Renamed SHF_MIPS_ADDR32.
(SHF_MIPS_STRING): Renamed SHF_MIPS_ADDR64.
(SHF_MIPS_NODUPES): Define.
(ELF64_MIPS_R_SSYM): New MIPS ELF 64 relocation info access macro.
(ELF64_MIPS_R_TYPE3): Likewise.
(ELF64_MIPS_R_TYPE2): Likewise.
(ELF64_MIPS_R_TYPE): Likewise.
(OHW_R10KLDL): Define.

23 years agoSun May 6 17:05:00 2001 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sun, 6 May 2001 22:23:43 +0000 (22:23 +0000)]
Sun May  6 17:05:00 2001  Robert Collins <rbtcollins@hotmail.com>
* thread.h (pthread_cond): New element cond_access to allow atomic broadcasts.
* thread.cc (pthread_cond::pthread_cond): Initialise cond_access.
(pthread_cond::~pthread_cond): Destroy cond_access.
(pthread_cond::Broadcast): Use cond_access.
(pthread_cond::Signal): Use cond_access.
(pthread_cond_wait): Use cond_access.
(pthread_cond_timedwait): Use cond_access.

23 years ago* string.h (cygwin_strchr): Make 'static inline' so that things will still work
Christopher Faylor [Sun, 6 May 2001 16:00:23 +0000 (16:00 +0000)]
* string.h (cygwin_strchr): Make 'static inline' so that things will still work
when optimized.

23 years ago* exceptions.cc (handle_exceptions): Vastly increase test for exception loop
Christopher Faylor [Sat, 5 May 2001 05:07:20 +0000 (05:07 +0000)]
* exceptions.cc (handle_exceptions): Vastly increase test for exception loop
guard variable.

23 years ago* configure.in: Fix typo.
Christopher Faylor [Sat, 5 May 2001 04:18:16 +0000 (04:18 +0000)]
* configure.in: Fix typo.
* configure: Regenerate.

23 years ago* exceptions.cc (stack_info): Add some controls.
Christopher Faylor [Sat, 5 May 2001 02:44:36 +0000 (02:44 +0000)]
* exceptions.cc (stack_info): Add some controls.
(stack_info::init): Add extra arguments to control method of initialization..
If we have a known good frame, set things up so that this frame is not skipped
the first time through.  Record whether caller cares about arguments or not.
(stack_info::walk): Don't store arguments if they're unwanted.
(stackdump): Add isexception parameter for use when called by exception
handler.
(cygwin_stackdump): Accomodate extra argument to stackdump.
(handle_exceptions): Ditto.
(sig_handle): Ditto.
(interrupt_on_return): Accomodate extra arguments to stack walk initialization.

23 years ago* localtime.c: Revert exclusion of windows.h.
Christopher Faylor [Sat, 5 May 2001 01:07:03 +0000 (01:07 +0000)]
* localtime.c: Revert exclusion of windows.h.

23 years agooops.
Christopher Faylor [Fri, 4 May 2001 21:09:47 +0000 (21:09 +0000)]
oops.

This page took 0.064992 seconds and 5 git commands to generate.