]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
23 years agoRemove reference to Cygnus.
David Starks-Browning [Thu, 14 Jun 2001 08:43:42 +0000 (08:43 +0000)]
Remove reference to Cygnus.

23 years agoteeny tiny typo
David Starks-Browning [Thu, 14 Jun 2001 08:38:24 +0000 (08:38 +0000)]
teeny tiny typo

23 years agoHandle GDB's gdb/version.in.
Andrew Cagney [Wed, 13 Jun 2001 19:00:22 +0000 (19:00 +0000)]
Handle GDB's gdb/version.in.

23 years ago* who.texinfo: Oops. Add a couple of important folk.
Christopher Faylor [Wed, 13 Jun 2001 17:54:55 +0000 (17:54 +0000)]
* who.texinfo: Oops.  Add a couple of important folk.

23 years ago* who.texinfo: Remove email addresses. Modernize.
Christopher Faylor [Wed, 13 Jun 2001 17:50:25 +0000 (17:50 +0000)]
* who.texinfo: Remove email addresses.  Modernize.

23 years ago* environ.cc (set_file_api_mode): New function. Move setting
Egor Duda [Tue, 12 Jun 2001 11:31:05 +0000 (11:31 +0000)]
* environ.cc (set_file_api_mode): New function. Move setting
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.

23 years ago2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
Jeff Johnston [Mon, 11 Jun 2001 21:51:41 +0000 (21:51 +0000)]
2001-06-11  Danny Smith  <dannysmith@users.sourceforge.net>

        * /libc/include/ctype.h (is* and to* macros): Do not define if C++.

23 years ago * objidl.h (IMalloc::ReAlloc()): Correct declaration.
Earnie Boyd [Mon, 11 Jun 2001 20:06:54 +0000 (20:06 +0000)]
* objidl.h (IMalloc::ReAlloc()): Correct declaration.
(IMalloc::Free()): Ditto.

23 years ago2001-06-11 Egor Duda <deo@logos-m.ru>
Jeff Johnston [Mon, 11 Jun 2001 19:25:59 +0000 (19:25 +0000)]
2001-06-11  Egor Duda  <deo@logos-m.ru>

        * 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.

23 years ago * include/shlobj.h (REGSTR_PATH_EXPLORER): Unicode it.
Earnie Boyd [Mon, 11 Jun 2001 19:18:52 +0000 (19:18 +0000)]
* include/shlobj.h (REGSTR_PATH_EXPLORER): Unicode it.
(REGSTR_PATH_SPECIAL_FOLDERS): Ditto.
* include/regstr.h (REGSTR_PATH_EXPLORER): Add #ifndef guard.

23 years ago * profile/configure.in: Make msvcrt.dll version default.
Earnie Boyd [Mon, 11 Jun 2001 18:57:39 +0000 (18:57 +0000)]
* profile/configure.in: Make msvcrt.dll version default.
* profile/makefile.in: Build both gcrt1.o and gcrt2.o.
* provile/configure: Regenerate.

23 years ago * include/shlobj.h (struct _browseinfo): UNICODE it.
Earnie Boyd [Mon, 11 Jun 2001 18:28:19 +0000 (18:28 +0000)]
* include/shlobj.h (struct _browseinfo): UNICODE it.
(SHBrowseForFolder): Ditto.
(SHGetPathFromIDList): Ditto.

23 years agoAdd missing entry.
Christopher Faylor [Mon, 11 Jun 2001 18:20:53 +0000 (18:20 +0000)]
Add missing entry.

23 years ago * include/stdio.h (swscanf): Make first arugument const.
Earnie Boyd [Mon, 11 Jun 2001 18:13:15 +0000 (18:13 +0000)]
* include/stdio.h (swscanf): Make first arugument const.
* include/wchar.h (swscanf): Ditto.
* include/tchar.h (_tfopen): New _UNICODE define.
(_tgetenv): Ditto.
(_tsetlocale): Ditto.

23 years ago* pinfo.cc: Use autoloaded ToolHelp functions throughout for Win9x.
Christopher Faylor [Mon, 11 Jun 2001 17:57:10 +0000 (17:57 +0000)]
* pinfo.cc: Use autoloaded ToolHelp functions throughout for Win9x.
* autoload.cc: Autoload ToolHelp functions.

23 years ago * include/basetsd.h: RC_INVOKED protection and realignment.
Earnie Boyd [Mon, 11 Jun 2001 17:29:54 +0000 (17:29 +0000)]
* include/basetsd.h: RC_INVOKED protection and realignment.
Thanks to: Colin Peters <colinpeters@users.sourceforge.net>

23 years ago * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
Jonathan Larmour [Mon, 11 Jun 2001 17:21:18 +0000 (17:21 +0000)]
* libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
NULL pointer.

23 years ago* path.cc (chdir): Fix call to path_conv constructor so that it REALLY doesn't
Christopher Faylor [Mon, 11 Jun 2001 15:20:49 +0000 (15:20 +0000)]
* path.cc (chdir): Fix call to path_conv constructor so that it REALLY doesn't
check for the null/non-empty path.

23 years ago* path.cc (path_conv::update_fs_info): Don't consider remote drives to be NTFS.
Christopher Faylor [Mon, 11 Jun 2001 03:38:32 +0000 (03:38 +0000)]
* path.cc (path_conv::update_fs_info): Don't consider remote drives to be NTFS.
Set root_dir before invoking GetDriveType (from Kazuhiro Fujieda
<fujieda@jaist.ac.jp>).  Eliminate extra checks for rootdir.

23 years ago* path.cc (chdir): Pre-check path for validity before eating trailing space.
Christopher Faylor [Mon, 11 Jun 2001 00:24:28 +0000 (00:24 +0000)]
* path.cc (chdir): Pre-check path for validity before eating trailing space.
Then, ensure that path_conv doesn't check the path for validity again.

23 years ago* exceptions.cc (sigdelayed): Ensure that signal is cleared as the last
Christopher Faylor [Sun, 10 Jun 2001 16:00:23 +0000 (16:00 +0000)]
* exceptions.cc (sigdelayed): Ensure that signal is cleared as the last
operation or suffer races.
* sigproc.cc (proc_subproc): Deal with zombie array overflow.

23 years ago * cygwin.din: Add fchdir symbols.
Corinna Vinschen [Sun, 10 Jun 2001 10:00:21 +0000 (10:00 +0000)]
     * cygwin.din: Add fchdir symbols.
         * 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.

23 years ago * syscalls.cc (seteuid): Set environment variables USERNAME and
Corinna Vinschen [Sat, 9 Jun 2001 21:25:55 +0000 (21:25 +0000)]
    * syscalls.cc (seteuid): Set environment variables USERNAME and
        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.

23 years ago* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): If
Alexandre Oliva [Fri, 8 Jun 2001 03:24:41 +0000 (03:24 +0000)]
* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): If
gcc/xgcc is built, use -print-prog-name to find out the program
name to use.

23 years ago* thread.cc (pthread_cond::Broadcast): Don't print error messages on invalid
Christopher Faylor [Thu, 7 Jun 2001 19:55:06 +0000 (19:55 +0000)]
* thread.cc (pthread_cond::Broadcast): Don't print error messages on invalid
mutexs - user programs are allowed to call pthread_cond_broadcast like that.
(__pthread_cond_timedwait): Initialise themutex properly.
(__pthread_cond_wait): Initialise themutex properly.

23 years ago * Makefile.in (bindist): Reassign value of exec_prefix on make command
Earnie Boyd [Wed, 6 Jun 2001 19:02:59 +0000 (19:02 +0000)]
* Makefile.in (bindist): Reassign value of exec_prefix on make command
line.

23 years ago * fhandler_console.cc (fhandler_console::dup): Allocate space for
Corinna Vinschen [Tue, 5 Jun 2001 17:59:46 +0000 (17:59 +0000)]
    * fhandler_console.cc (fhandler_console::dup): Allocate space for
        savebuf on Cygwin heap.
        (fhandler_console::char_command): Ditto. Use correct values for size.

23 years ago* security.h (NTWriteEA): Change prototype.
Egor Duda [Tue, 5 Jun 2001 10:45:52 +0000 (10:45 +0000)]
* security.h (NTWriteEA): Change prototype.
* 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.

23 years ago * fhandler.cc (fhandler_disk_file::fstat): Always reset file position
Corinna Vinschen [Tue, 5 Jun 2001 09:21:39 +0000 (09:21 +0000)]
    * fhandler.cc (fhandler_disk_file::fstat): Always reset file position
        to original value after checking for executable magic.

23 years ago * profile/Makefile.in (mkinstalldirs): Correct relative path.
Earnie Boyd [Mon, 4 Jun 2001 20:45:30 +0000 (20:45 +0000)]
* profile/Makefile.in (mkinstalldirs): Correct relative path.

23 years ago * include/_mingw.h: Change version to 1.0.
Earnie Boyd [Mon, 4 Jun 2001 20:01:10 +0000 (20:01 +0000)]
* include/_mingw.h: Change version to 1.0.
Makefile.in: Ditto.

23 years ago* ltcf-c.sh (archive_cmds, archive_expsym_cmds) [solaris,
Alexandre Oliva [Mon, 4 Jun 2001 19:33:12 +0000 (19:33 +0000)]
* ltcf-c.sh (archive_cmds, archive_expsym_cmds) [solaris,
with_gcc]: Use `gcc -shared' to build a shared library.

23 years ago* ltcf-c.sh (archive_cmd) [hpux, with_gcc]: Use gcc to link shared
Alexandre Oliva [Mon, 4 Jun 2001 19:25:10 +0000 (19:25 +0000)]
* ltcf-c.sh (archive_cmd) [hpux, with_gcc]: Use gcc to link shared
archives.

23 years ago * cygheap.h (cygheap_user::cygheap_user): Initialize token to
Corinna Vinschen [Mon, 4 Jun 2001 14:29:54 +0000 (14:29 +0000)]
    * cygheap.h (cygheap_user::cygheap_user): Initialize token to
        INVALID_HANDLE_VALUE.
        * uinfo.cc (uinfo_init): Close token handle if needed.

23 years ago* path.cc (normalize_posix_path): Revert .. check removed by previous changes.
Christopher Faylor [Mon, 4 Jun 2001 01:28:09 +0000 (01:28 +0000)]
* path.cc (normalize_posix_path): Revert ..  check removed by previous changes.
* cygheap.h: Temporarily declare path_prefix_p here.

23 years ago * net.cc (wsock_event): Add destructor.
Corinna Vinschen [Sun, 3 Jun 2001 22:18:19 +0000 (22:18 +0000)]
    * net.cc (wsock_event): Add destructor.

23 years ago* dlfcn.cc (dlclose): Do not call FreeLibrary if the symbol to close was
Christopher Faylor [Sun, 3 Jun 2001 14:13:12 +0000 (14:13 +0000)]
* dlfcn.cc (dlclose): Do not call FreeLibrary if the symbol to close was
obtained by dlopen(NULL,...).

23 years ago* syscalls.cc (sleep): Try to be a little more accomodating of signal arrival.
Christopher Faylor [Sun, 3 Jun 2001 03:13:14 +0000 (03:13 +0000)]
* syscalls.cc (sleep): Try to be a little more accomodating of signal arrival.
Ensure that the signal handler is called.

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.

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