]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
22 years ago2002-06-18 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 18 Jun 2002 21:20:28 +0000 (21:20 +0000)]
2002-06-18  Dave Brolley  <brolley@redhat.com>

From Catherine Moore, Michael Meissner, Richard Sandiford:
* libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
(_JBTYPE): Ditto.
* libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
(__ATTRIBUTE_IMPURE_PTR__): Ditto.
* libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
* configure.host: Support frv-*-*.
* libc/machine/frv/Makefile.am: New file.
* libc/machine/frv/configure.in: New file.
* libc/machine/frv/setjmp.S: New file.

22 years ago2002-06-18 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 18 Jun 2002 21:19:17 +0000 (21:19 +0000)]
2002-06-18  Dave Brolley  <brolley@redhat.com>

From Catherine Moore, Michael Meissner, Richard Sandiford:
* configure.in: Support frv*-*-*.
* frv/Makefile.in: New file.
* frv/configure: New file.
* frv/configure.in: New file.
* frv/crt0.S: New file.
* frv/fstat.c: New file.
* frv/getpid.c: New file.
* frv/isatty.c: New file.
* frv/kill.c: New file.
* frv/print.c: New file.
* frv/putnum.c: New file.
* frv/sbrk.c: New file.
* frv/sim-close.S: New file.
* frv/sim-exit.S: New file.
* frv/sim-inbyte.c: New file.
* frv/sim-lseek.S: New file.
* frv/sim-open.S: New file.
* frv/sim-read.S: New file.
* frv/sim-time.c: New file.
* frv/sim-unlink.S: New file.
* frv/sim-write.S: New file.
* frv/stat.c: New file.

22 years ago2002-06-18 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 18 Jun 2002 21:16:32 +0000 (21:16 +0000)]
2002-06-18  Dave Brolley  <brolley@redhat.com>

From Catherine Moore:
* dis-asm.h (print_insn_frv): New prototype.

22 years ago2002-06-18 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 18 Jun 2002 21:15:57 +0000 (21:15 +0000)]
2002-06-18  Dave Brolley  <brolley@redhat.com>

From Catherine Moore, Michael Meissner, Dave Brolley:
* common.h (EM_CYGNUS_FRV): New macro.
* frv.h: New file.

22 years ago2002-06-18 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 18 Jun 2002 21:09:34 +0000 (21:09 +0000)]
2002-06-18  Dave Brolley  <brolley@redhat.com>

* configure.in: Add support for frv.
* config.sub: Add support for frv.

22 years ago * include/tchar.h (_getts): Define as _getws for _UNICODE.
Danny Smith [Tue, 18 Jun 2002 20:48:57 +0000 (20:48 +0000)]
* include/tchar.h (_getts): Define as _getws for _UNICODE.
(_putts): Define as _putws for _UNICODE.
Thanks to: Tomasz Pona  <cochisek@poczta.onet.pl>  for report.

22 years ago * libc/include/ctype.h: Remove isblank macro.
Thomas Fitzsimmons [Tue, 18 Jun 2002 18:49:17 +0000 (18:49 +0000)]
* libc/include/ctype.h: Remove isblank macro.

* libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
* libc/ctype/isblank.c: New file.
* libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
declaration.  Add isblank macro.

22 years ago2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 18 Jun 2002 16:07:14 +0000 (16:07 +0000)]
2002-06-18  Jeff Johnston  <jjohnstn@redhat.com>

        * testsuite/newlib.stdlib/atexit.c: New file.
        * testsuite/newlib.stdlib/atexit.exp: Ditto.
        * testsuite/newlib.string/tstring.c: Change default start size
        to something more reasonable for embedded platforms.

22 years ago * include/float.h: #include_next<float.h> before header guard.
Danny Smith [Tue, 18 Jun 2002 04:20:14 +0000 (04:20 +0000)]
* include/float.h: #include_next<float.h> before header guard.

22 years ago2002-06-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
Danny Smith [Tue, 18 Jun 2002 04:13:18 +0000 (04:13 +0000)]
2002-06-18  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* include/_mingw.h (__MINGW_IMPORT): Check for prior definition before
defining.
* include/excpt.h (): Include windef.h not windows.h.
* include/fcntl.h (_O_SHORT_LIVED): Add define.
(_chmod): Add prototype.
        (_creat): Correct prototype.
(SH_DENY*): Rename defines to _SH_DENY*.
(SH_DENY*): Add Non-ANSI names for _SH_DENY*.
include/stdio.h (_IOMYBUF, _IOEOF, _IOERR, _IOSTRG,
_IOAPPEND): Add defines.
(_wfindfirst): Correct prototype.
(_wfdopen): Add prototype.
* include/stdlib.h (_rotl, _rotr, _lrotl, _lrotr): Add
prototypes.
* include/string.h (_mbschr, _mbstok, _mbsncat): Remove
 prototypes.
(_wcsdup): Correct prototype.
* include/mbstring.h: Remove comments about _mbschr, _mbstok,
 _mbsncat being in string.h.
* include/wchar.h (_wfindfirst): Correct prototype.
* include/tchar.h (_tfdopen): Add _UNICODE mappings.

22 years ago2002-06-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
Danny Smith [Mon, 17 Jun 2002 08:22:02 +0000 (08:22 +0000)]
2002-06-17  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* include/windef.h (_fastcall, __fastcall, FASTCALL):
Add defines.

22 years agoreword
Christopher Faylor [Sun, 16 Jun 2002 23:38:50 +0000 (23:38 +0000)]
reword

22 years ago* cygheap.h (cygheap_user::issetuid): New method.
Christopher Faylor [Sun, 16 Jun 2002 23:34:43 +0000 (23:34 +0000)]
* cygheap.h (cygheap_user::issetuid): New method.
* dtable.cc (dtable::vfork_child_dup): Use new method to determine if we are in
"setuid mode."
* fork.cc (fork_parent): Ditto.
* spawn.cc (spawn_guts): Ditto.
* syscalls.cc (seteuid32): Ditto.
(setegid32): Ditto.
* environ.cc (spenv::retrieve): (Suggested by Pierre Humblet) Do potential
recalculation of cygheap_user stuff when in setuid mode.  Return special value
when environment variable exists but should not be added.
(build_env): Don't add retrieved value to dstp if it is 'dont_add'.

22 years ago* include/ntdll.h: New file.
Egor Duda [Sun, 16 Jun 2002 13:21:43 +0000 (13:21 +0000)]
* include/ntdll.h: New file.
* lib/ntdll.def: Add NtShutdownSystem.

22 years ago2002-06-16 Steven Edwards <Steven_Ed4153@yahoo.com>
Danny Smith [Sun, 16 Jun 2002 07:19:34 +0000 (07:19 +0000)]
2002-06-16 Steven Edwards  <Steven_Ed4153@yahoo.com>

* lib/dinput.def (DirectInputCreateEx): Add stub.
* lib/ntdll.def: New file.

22 years agoChanges suggested by Pierre Humblet.
Christopher Faylor [Sun, 16 Jun 2002 05:45:37 +0000 (05:45 +0000)]
Changes suggested by Pierre Humblet.
* environ.cc (NL): New macro.
(conv_envvars): Use NL macro to fill in name and namelen.
(spenv::namelen): New field.
(spenvs): Use NL to fill in name and namelen.
(spenv::retrieve): Eliminate length argument.  Instead, use namelen throughout.
(build_env): Don't calculate length of initial FOO= part of environment.
Accommodate spenv::retrive argument change.

22 years ago* cygheap.h (cygheap_user::winname): New field.
Christopher Faylor [Sun, 16 Jun 2002 05:26:14 +0000 (05:26 +0000)]
* cygheap.h (cygheap_user::winname): New field.
* cygheap.cc (cygheap_user::set_name): Clear winname when name changes.
* uinfo.cc (cygheap_user::env_logsrv): Avoid calculating server when Windows
user == SYSTEM.
(cygheap_user::env_domain): Set winname here too.
(cygheap_user::env_userprofile): Eliminate superfluous tests.
(cygheap_user::env_name): Seed winname by calling env_domain().

22 years ago* spawn.cc (spawn_guts): Revert removal of ciresrv.moreinfo->uid = ILLEGAL_UID.
Christopher Faylor [Sun, 16 Jun 2002 04:25:54 +0000 (04:25 +0000)]
* spawn.cc (spawn_guts): Revert removal of ciresrv.moreinfo->uid = ILLEGAL_UID.

22 years ago* sim-arm.h (enum sim_arm_regs): Rename sim_arm_regnum.
Andrew Cagney [Sat, 15 Jun 2002 22:49:38 +0000 (22:49 +0000)]
* sim-arm.h (enum sim_arm_regs): Rename sim_arm_regnum.

22 years ago* child_info.h (child_proc_info): Declare as base class.
Christopher Faylor [Sat, 15 Jun 2002 21:59:32 +0000 (21:59 +0000)]
* child_info.h (child_proc_info): Declare as base class.
(spawn_info): Declare as alias of child_proc_info to aid debugging.
(fork_info): Ditto.
* cygheap.cc (cygheap_fixup_in_child): Use child_proc_info global rather than
parameter.
* cygheap.h (cygheap_fixup_in_child): Reflect above change in declaration.
* dcrt0.cc (_dll_crt0): Move 'si' definition here.  Assign child_proc_info.
(dll_crt0_1): Accommodate cygheap_fixup_in_child and *_info changes.
* environ.cc (spenv::retrieve): Make regparm.
* environ.h (environ_init): Ditto.
(win_env::add_cache): Ditto.
(build_env): Ditto.
(getwinenv): Ditto.
* fork.cc (sync_with_parent): Use fork_info global.
(fork_child): Ditto.

22 years ago * include/_mingw.h: Increment to version 2.1.
Earnie Boyd [Sat, 15 Jun 2002 15:56:58 +0000 (15:56 +0000)]
* include/_mingw.h: Increment to version 2.1.
* Makefile.in: Ditto.

22 years ago * Makefile.in (conf_prefix): New variable.
Earnie Boyd [Sat, 15 Jun 2002 14:06:21 +0000 (14:06 +0000)]
* Makefile.in (conf_prefix): New variable.
(dist_prefix): Ditto. Conditionally set to $(conf_prefix).
(bindist): Use dist_prefix.

22 years ago * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
Thomas Fitzsimmons [Sat, 15 Jun 2002 02:08:12 +0000 (02:08 +0000)]
* libc/sys/linux/sys/errno.h (EFTYPE): Add macro.

22 years ago* uinfo.cc (cygheap_user::ontherange): Don't set HOMEDRIVE or HOMEPATH unless
Christopher Faylor [Sat, 15 Jun 2002 01:17:45 +0000 (01:17 +0000)]
* uinfo.cc (cygheap_user::ontherange): Don't set HOMEDRIVE or HOMEPATH unless
one or the other is specified.

22 years ago* cygheap.h (cygheap_user::userprofile_env_buf): New static member.
Christopher Faylor [Fri, 14 Jun 2002 21:46:19 +0000 (21:46 +0000)]
* cygheap.h (cygheap_user::userprofile_env_buf): New static member.
* environ.cc (build_env): Add debugging statement.
(spenvs): Switch functions for USERDOMAIN and USERNAME.
* spawn.cc (spawn_guts): Move environment initialization prior to
cygheap_setup_for_child or environment info will never be copied to child.

22 years ago * libc/argz: New directory.
Thomas Fitzsimmons [Fri, 14 Jun 2002 20:51:09 +0000 (20:51 +0000)]
* libc/argz: New directory.
* libc/argz/*: New files.
* libc/argz/argz_add.c: New file.
* libc/argz/argz_add_sep.c: New file.
* libc/argz/argz_append.c: New file.
* libc/argz/argz_count.c: New file.
* libc/argz/argz_create.c: New file.
* libc/argz/argz_create_sep.c: New file.
* libc/argz/argz_delete.c: New file.
* libc/argz/argz_extract.c: New file.
* libc/argz/argz_insert.c: New file.
* libc/argz/argz_next.c: New file.
* libc/argz/argz_replace.c: New file.
* libc/argz/argz_stringify.c: New file.
* libc/argz/buf_findstr.c: New file.
* libc/argz/envz_add.c: New file.
* libc/argz/envz_entry.c: New file.
* libc/argz/envz_get.c: New file.
* libc/argz/envz_merge.c: New file.
* libc/argz/envz_remove.c: New file.
* libc/argz/envz_strip.c: New file.
* libc/include/argz.h: New file.
* libc/include/envz.h: New file.
* Makefile.am (LIBC_OBJECTLISTS): Add
libc/argz/objectlist.awk.in.
* libc/Makefile.am (SUBDIRS): Add argz.
(SUBLIBS): Add argz/libargz.la.
* libc/configure.in (AC_OUTPUT): Add argz/Makefile.
* libc/include/errno.h: Add error_t typedef.

22 years ago* cygheap.h (cygheap_user): Add static members to hold home{drive,path} info.
Christopher Faylor [Fri, 14 Jun 2002 20:36:42 +0000 (20:36 +0000)]
* cygheap.h (cygheap_user): Add static members to hold home{drive,path} info.
* uinfo.cc (cygheap_user::ontherange): Use static class members for local HOME*
storage.

22 years ago* cygheap.cc (cygheap_user::set_logsrv): Remove.
Christopher Faylor [Fri, 14 Jun 2002 18:01:21 +0000 (18:01 +0000)]
* cygheap.cc (cygheap_user::set_logsrv): Remove.
(cygheap_user::set_domain): Ditto.
* cygheap.h (cygheap_user::set_logsrv): Remove declaration.
(cygheap_user::set_domain): Ditto.
(cygheap_user::env_domain): Declare new method.
(cygheap_user::env_name): Ditto.
* environ.cc (spenvs): Add two environment variables.
* spawn.cc (spawn_guts): Call build_env after RevertToSelf.  Always set
ciresrv.mount_h.
(cygheap_user::ontherange): Recalculate homedrive/homepath if they are empty.
Use env_logsrv to get logon server.
(cygheap_user::env_logsrv): Calculate server name here rather than relying on
it having been previously calculated.
(cygheap_user::env_domain): Ditto for domain name.
(cygheap-user::env_name): New method.
* syscalls.cc (seteuid32): Do not get or set the environment.  Do not call
LookupAccountSid nor internal_getlogin.  Set cygheap->user name and sid from
the passwd entry.
* uinfo.cc (uinfo_init): Only call internal_getlogin when starting from a non
Cygwin process and use the values returned in user.
(internal_getlogin): Simplify to case where starting from a non Cygwin process.
Store return values in user and return void.  Do not set the Windows default
environment.
* dcrt0.cc (dll_crt0_1): Call uinfo_init only when needed.  Do not set
myself->uid nor reset user.sid.
* spawn.cc (spawn_guts): Get the sid from cygheap->user.  Always
RevertToSelf().  Don't set uid in impersonated case.
* cygheap.cc (cygheap_user::set_sid): Do not set orig_sig.
(cygheap_user::set_orig_sid): New.
* cygheap.h: Declare cygheap_user::set_sid.
* winsup.h: Add argument to uinfo_init().

22 years ago * environ.cc (build_env): If realloc moves envblock, move s with it.
Corinna Vinschen [Fri, 14 Jun 2002 14:08:07 +0000 (14:08 +0000)]
    * environ.cc (build_env): If realloc moves envblock, move s with it.

22 years ago * include/w32api.h: Change to version 2.0 to reflect the change
Earnie Boyd [Fri, 14 Jun 2002 13:46:12 +0000 (13:46 +0000)]
* include/w32api.h: Change to version 2.0 to reflect the change
in the license.
* README: Renamed.
* README.w32api: Renamed from README.  Modified license to remove
the restriction of notifying the author based on the fact that the
author is unreachable at the notified address.
* Makefile.in (VERSION): Change to 2.0.

22 years ago * Makefile.in (bindist): Correct the MinGW distribution.
Earnie Boyd [Fri, 14 Jun 2002 12:36:26 +0000 (12:36 +0000)]
* Makefile.in (bindist): Correct the MinGW distribution.

22 years agoAdd pthread calls
Corinna Vinschen [Fri, 14 Jun 2002 11:33:30 +0000 (11:33 +0000)]
Add pthread calls

22 years ago * passwd.c: Rearrange includes to avoid unnecessary warnings.
Corinna Vinschen [Fri, 14 Jun 2002 11:31:33 +0000 (11:31 +0000)]
* passwd.c: Rearrange includes to avoid unnecessary warnings.
(GetPW): Add parameter to (dis)allow printing of Windows username.
Use defines instead of numerical constants where possible.
Try avoiding impersonation problem.  Rearrange to print Windows
username only if it's different from Cygwin username.
(ChangePW): Use defines instead of numerical constants where possible.
(main): Call GetPW with additional parameter.  Change error text.

* passwd.c (GetPW): Handle case of user-edited /etc/passwd
with cygwin_internal (CW_EXTRACT_DOMAIN_AND_USER, ...).

22 years ago * include/wingdi.h (GetEnhMetaFileBits): Correct typo.
Earnie Boyd [Fri, 14 Jun 2002 10:29:28 +0000 (10:29 +0000)]
* include/wingdi.h (GetEnhMetaFileBits): Correct typo.

22 years ago2002-06-13 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 13 Jun 2002 23:24:03 +0000 (23:24 +0000)]
2002-06-13  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdlib.h: Add _Exit prototype.
        * libc/stdlib/Makefile.am: Add _Exit.c support.
        * libc/stdlib/Makefile.in: Ditto.
        * libc/stdlib/_Exit.c: New file.

22 years agoFix typo.
Jeff Johnston [Thu, 13 Jun 2002 23:06:29 +0000 (23:06 +0000)]
Fix typo.

22 years ago2002-06-13 Stephen L. Moshier <steve@moshier.net>
Jeff Johnston [Thu, 13 Jun 2002 23:03:01 +0000 (23:03 +0000)]
2002-06-13  Stephen L. Moshier  <steve@moshier.net>

        * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
        x is close to -1.0 and y is very large to use ax (absolute value)
        instead of x.
        * libm/math/ef_pow.c (__ieee754_powf): Ditto.

22 years ago * include/wingdi.h: (GetEnhMetaFileBits): Define prototype.
Earnie Boyd [Thu, 13 Jun 2002 18:29:37 +0000 (18:29 +0000)]
* include/wingdi.h: (GetEnhMetaFileBits): Define prototype.

22 years ago * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
Joern Rennecke [Thu, 13 Jun 2002 18:25:19 +0000 (18:25 +0000)]
* libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
Fix clobbering bytes before destination if src and dst have same
non-zero misalignment.

22 years agofix typo
Christopher Faylor [Thu, 13 Jun 2002 17:28:50 +0000 (17:28 +0000)]
fix typo

22 years ago* winver.rc: Add more words to copyright.
Christopher Faylor [Thu, 13 Jun 2002 17:28:11 +0000 (17:28 +0000)]
* winver.rc: Add more words to copyright.

22 years ago * cygheap.cc (cygheap_user::set_name): Revert previous change.
Corinna Vinschen [Thu, 13 Jun 2002 16:30:18 +0000 (16:30 +0000)]
* cygheap.cc (cygheap_user::set_name): Revert previous change.
* environ.cc (spenv::retrieve): Check return value of call to
cygheap->user.*from_cygheap().

22 years ago * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
Joern Rennecke [Thu, 13 Jun 2002 14:53:17 +0000 (14:53 +0000)]
* libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
Fixed bug in writing end of set region.

22 years ago * include/winuser.h (MOUSEHOOKSTRUCT): Define structure.
Earnie Boyd [Thu, 13 Jun 2002 11:35:30 +0000 (11:35 +0000)]
* include/winuser.h (MOUSEHOOKSTRUCT): Define structure.

22 years ago * cygheap.cc (cygheap_user::set_name): Remove setting homedrive and
Corinna Vinschen [Thu, 13 Jun 2002 11:35:11 +0000 (11:35 +0000)]
* cygheap.cc (cygheap_user::set_name): Remove setting homedrive and
homepath to NULL.
(cygheap_user::set_logsrv):  Fix free'ing of plogsrv.
* cygheap.h (cygheap_user::cygheap_user): Initialize homedrive and
homepath to NULL.

22 years ago * include/_mingw.h: Increment version to 2.0.
Danny Smith [Thu, 13 Jun 2002 10:20:48 +0000 (10:20 +0000)]
* include/_mingw.h: Increment version to 2.0.
* Makefile.in: Ditto.
Merge in mingwex branch.

22 years ago* security.cc (get_logon_server): Use strcasematch rather than strcasecmp.
Christopher Faylor [Thu, 13 Jun 2002 05:30:49 +0000 (05:30 +0000)]
* security.cc (get_logon_server): Use strcasematch rather than strcasecmp.

22 years ago* path.cc (chdir): Minor cleanup.
Christopher Faylor [Thu, 13 Jun 2002 03:04:50 +0000 (03:04 +0000)]
* path.cc (chdir): Minor cleanup.

22 years ago* environ.cc (build_env): Correctly fill out windows environment block with
Christopher Faylor [Thu, 13 Jun 2002 01:28:51 +0000 (01:28 +0000)]
* environ.cc (build_env): Correctly fill out windows environment block with
win32 paths rather than posix paths.

22 years ago2002-06-13 John K. Hohm <jhohm@acm.org>
Danny Smith [Thu, 13 Jun 2002 00:13:34 +0000 (00:13 +0000)]
2002-06-13  John K. Hohm <jhohm@acm.org>

* include/comcat.h: New file.

22 years agoAdd the file include/gdb/sim-arm.h defining an enum that specifies the
Andrew Cagney [Wed, 12 Jun 2002 21:19:42 +0000 (21:19 +0000)]
Add the file include/gdb/sim-arm.h defining an enum that specifies the
register numbering used by the GDB<->SIM interface.

22 years agoAdd dumper.exe words from Egor Duda.
Christopher Faylor [Wed, 12 Jun 2002 16:06:10 +0000 (16:06 +0000)]
Add dumper.exe words from Egor Duda.

22 years ago* Makefile.in (CFLAGS_FOR_TARGET): Add -O2.
DJ Delorie [Wed, 12 Jun 2002 15:04:45 +0000 (15:04 +0000)]
* Makefile.in (CFLAGS_FOR_TARGET): Add -O2.

22 years ago* cygheap.cc (cygheap_user::set_name): Set homedrive and homepath to NULL on
Christopher Faylor [Wed, 12 Jun 2002 05:13:54 +0000 (05:13 +0000)]
* cygheap.cc (cygheap_user::set_name): Set homedrive and homepath to NULL on
user name change.
(cygheap_user::set_logsrv): Allocate enough space for leading \\ so that we can
put this in the environment, if needed.
* cygheap.h (homebodies): New enum.
(cygheap_user::homedrive): New field.
(cygheap_user::homepath): Ditto.
(cygheap_user::env_logsrv): New method.
(cygheap_user::env_homepath): New method.
(cygheap_user::env_homedrive): New method.
(cygheap_user::env_userprofile): New method.
(cygheap_user::ontherange): New method.
* environ.cc (envsize): Eliminate debugging argument.
(environ_init): Assume that envc counts number of elments not total size.
(spenv): New class.
(spenvs): New array, renamed from forced_winenv_vars, using spenv.
(spenv::retrieve): New method.
(build_env): Rename from 'winenv' -- one stop shopping for building new
environment blocks for both windows and "unix".
* environ.h (build_env: Declare.
(winenv): Delete declaration.
(envsize): Ditto.
* spawn.cc (spawn_guts): Use build_env to build windows and cygwin environment
blocks.
* uinfo.cc (internal_getlogin): Eliminate environment manipulation.  Default to
info from GetUserName if it exists.  Move HOMEPATH and HOMEDRIVE stuff
elsewhere.  Move HOME setting elsewhere.  Only set HOME environment variable in
processes that are not parented by a cygwin process.
(cygheap_user::ontherange): Define new method.
(cygheap_user::env_logsrv): Ditto.
(cygheap_user::env_homepath): Ditto.
(cygheap_user::env_homedrive): Ditto.
(cygheap_user::env_userprofile): Ditto.

22 years agofix comment
Christopher Faylor [Tue, 11 Jun 2002 23:30:48 +0000 (23:30 +0000)]
fix comment

22 years ago* spawn.cc (spawn_guts): More hToken removal cleanup.
Christopher Faylor [Tue, 11 Jun 2002 16:06:16 +0000 (16:06 +0000)]
* spawn.cc (spawn_guts): More hToken removal cleanup.

22 years agoImport latest version of texi2pod.pl from FSF GCC sources.
Nick Clifton [Tue, 11 Jun 2002 15:34:33 +0000 (15:34 +0000)]
Import latest version of texi2pod.pl from FSF GCC sources.

22 years agoRevoke adding mh-s390xpic. Doesn't make any sense because it is not
Martin Schwidefsky [Tue, 11 Jun 2002 13:34:24 +0000 (13:34 +0000)]
Revoke adding mh-s390xpic. Doesn't make any sense because it is not
referenced from anywhere.

22 years ago2002-06-11 Martin Schwidefsky <schwidefsky@de.ibm.com>
Martin Schwidefsky [Tue, 11 Jun 2002 09:46:38 +0000 (09:46 +0000)]
2002-06-11  Martin Schwidefsky  <schwidefsky@de.ibm.com>

        * mh-s390xpic: New file.

22 years ago* libc/include/process.h: Remove cygwin-only sexec* declarations. Fix spawnve
Christopher Faylor [Tue, 11 Jun 2002 02:26:43 +0000 (02:26 +0000)]
* libc/include/process.h: Remove cygwin-only sexec* declarations.  Fix spawnve
declaration.

22 years ago* spawn.cc (spawn_guts): Define sec_attribs and call sec_user_nih() only once.
Christopher Faylor [Tue, 11 Jun 2002 02:22:02 +0000 (02:22 +0000)]
* spawn.cc (spawn_guts): Define sec_attribs and call sec_user_nih() only once.

22 years ago* Makefile.in: Ensure that -MD gets added to CFLAGS regardless of CFLAGS
Christopher Faylor [Tue, 11 Jun 2002 02:08:00 +0000 (02:08 +0000)]
* Makefile.in: Ensure that -MD gets added to CFLAGS regardless of CFLAGS
command-line setting.
* cygwin.din: Export sexec* functions as function which returns ENOSYS
(i.e., sexec* is deprecated).
* dtable.cc (dtable::vfork_child_dup): Ensure that impersonation is restored
even on failure.
* exec.cc: Throughout, remove references to sexec* and _spawnve.
* pinfo.h: Remove _spawnve declaration.
* spawn.cc: Rename _spawnve to spawnve and use throughout.
(spawn_guts): Eliminate hToken argument and processing of same.  Just perform
special actions if impersonating.
(spawnve): Rename from _spawnve.

22 years agorevert erroneous checkin
Christopher Faylor [Mon, 10 Jun 2002 19:59:19 +0000 (19:59 +0000)]
revert erroneous checkin

22 years ago* include/sys/strace.h (strace): Avoid use of constructor.
Christopher Faylor [Mon, 10 Jun 2002 19:58:21 +0000 (19:58 +0000)]
* include/sys/strace.h (strace): Avoid use of constructor.

22 years ago* dcrt0.cc (dll_crt0_1): Initialize wincap and check for sanity before running
Christopher Faylor [Mon, 10 Jun 2002 17:08:09 +0000 (17:08 +0000)]
* dcrt0.cc (dll_crt0_1): Initialize wincap and check for sanity before running
global ctors.
* wincap.h (wincap): Eliminate constructor.  Default is to zero memory, anyway.
* wincap.cc (wincap): Copy this on fork to avoid initialization in forked
processes.

22 years ago * fhandler.h (fhandler_socket::fixup_after_fork): Revert patch from
Corinna Vinschen [Mon, 10 Jun 2002 11:07:44 +0000 (11:07 +0000)]
* fhandler.h (fhandler_socket::fixup_after_fork): Revert patch from
2002-06-04.
* fhandler_socket.cc (fhandler_socket::fixup_after_fork): Ditto.
(fhandler_socket::dup): Ditto.
* net.cc (fdsock): Make sockets explicitely noninheritable on NT.

22 years ago/tmp/cvs610a0a90.1
Robert Collins [Mon, 10 Jun 2002 02:40:13 +0000 (02:40 +0000)]
/tmp/cvs610a0a90.1

22 years ago* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Correctly set
Christopher Faylor [Mon, 10 Jun 2002 01:25:47 +0000 (01:25 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Correctly set
number of links for directory, if appropriate.

22 years ago2002-06-10 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Mon, 10 Jun 2002 01:10:45 +0000 (01:10 +0000)]
2002-06-10  Robert Collins  <rbtcollins@hotmail.com>

        * cygwin.din: Add _pthread_cleanup_push and _pthread_cleanup_pop.
        * pthread.cc: Change __pthread_self to pthread::self() thruoghout.
        (_pthread_cleanup_push): New function.
        (_pthread_cleanup_pop): Ditto.
        * thread.cc: Thanks to Thomas Pfaff for the pthread cleanup_push,_pop
        patch, this work is derived from that.
        Change __pthread_self to pthread::self() thruoghout.
        (__pthread_self): Rename to pthread::self.
        (pthread::self): New method.
        (pthread::pthread): Initialize new member.
        (pthread::push_cleanup_handler): New method.
        (pthread::pop_cleanup_handler): New method.
        (pthread::pop_all_cleanup_handlers): New method.
        (__pthread_exit): Pop all cleanup handlers.
        * thread.h (pthread::push_cleanup_handler): Declare.
        (pthread::pop_cleanup_handler): Ditto.
        (pthread::pop_all_cleanup_handlers): Ditto.
        (pthread::self): New static method.
        (__pthread_exit): Give C++ linkage.
        (__pthread_join): Ditto.
        (__pthread_detach): Ditto.
        (__pthread_self): Remove.

2002-04-24  Thomas Pfaff  <tpfaff@gmx.net>

        * include/pthread.h (__pthread_cleanup_handler): New structure
        (pthread_cleanup_push): Rewritten .
        (pthread_cleanup_pop): Ditto.
        (_pthread_cleanup_push): New prototype.
        (_pthread_cleanup_pop) Ditto.

2002-04-24  Thomas Pfaff  <tpfaff@gmx.net>

        * thread.cc (thread_init_wrapper): Check if thread is already joined.
        (__pthread_join): Set joiner first.
        (__pthread_detach): Ditto.

22 years ago2002-06-10 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sun, 9 Jun 2002 23:02:00 +0000 (23:02 +0000)]
2002-06-10  Robert Collins  <rbtcollins@hotmail.com>

        * cygserver_transport.cc (create_server_transport): Finish the split
        out of sockets code from transport_layer_base. Thanks to Nicholas
        Wourms and Conrad Scott for catching this.

22 years agoMove include/callback.h and include/remote-sim.h to include/gdb/.
Andrew Cagney [Sun, 9 Jun 2002 15:45:44 +0000 (15:45 +0000)]
Move include/callback.h and include/remote-sim.h to include/gdb/.
Update accordingly.

22 years ago* path.cc (cygpath): Change MOUNT_AUTO to MOUNT_CYGDRIVE.
Christopher Faylor [Sun, 9 Jun 2002 05:08:44 +0000 (05:08 +0000)]
* path.cc (cygpath): Change MOUNT_AUTO to MOUNT_CYGDRIVE.
(getmntent): Ditto.

22 years ago2002-06-09 Gunnar Degnbol <gdegnbol@users.sourceforge.net>
Danny Smith [Sun, 9 Jun 2002 05:02:01 +0000 (05:02 +0000)]
2002-06-09  Gunnar Degnbol <gdegnbol@users.sourceforge.net>

* include/richedit.h (EM_*, TM_*, GT_*): Add new defines.
(GETTEXTEX): Add structure definition.

22 years ago* mount.cc (main): Use default system/user flag for cygdrive stuff, too.
Christopher Faylor [Sun, 9 Jun 2002 04:54:32 +0000 (04:54 +0000)]
* mount.cc (main): Use default system/user flag for cygdrive stuff, too.
(change_cygdrive_prefix): Change MOUNT_AUTO to MOUNT_CYGDRIVE.
* umount.cc (remove_cygdrive_prefix): Ditto.
(main): Use default system/user flag for cygdrive stuff, too.

22 years ago* pinfo.cc (pinfo_dummy): Initialize to correct size.
Christopher Faylor [Sun, 9 Jun 2002 03:54:07 +0000 (03:54 +0000)]
* pinfo.cc (pinfo_dummy): Initialize to correct size.

22 years ago * include/windows.h (ole2.h): #include if !__OBJC__ and
Danny Smith [Sun, 9 Jun 2002 03:37:20 +0000 (03:37 +0000)]
* include/windows.h (ole2.h): #include if !__OBJC__ and
__GNUC__ >=3 and !WIN32_LEAN_AND_MEAN.

22 years ago* configure.in (vax-*-netbsd*): Re-enable gas.
Jason Thorpe [Sun, 9 Jun 2002 01:32:19 +0000 (01:32 +0000)]
* configure.in (vax-*-netbsd*): Re-enable gas.

22 years ago* path.cc: Change MOUNT_AUTO to MOUNT_CYGDRIVE throughout.
Christopher Faylor [Sun, 9 Jun 2002 00:48:38 +0000 (00:48 +0000)]
* path.cc: Change MOUNT_AUTO to MOUNT_CYGDRIVE throughout.
* shared_info.h (CURR_MOUNT_MAGIC): Update.

22 years ago* mount.cc (opts): Remove '-i' option.
Christopher Faylor [Sun, 9 Jun 2002 00:33:27 +0000 (00:33 +0000)]
* mount.cc (opts): Remove '-i' option.
(usage): Ditto.
(main): Ditto.
(longopts): Remove --import-old-mounts option.

22 years ago* external.cc (cygwin_internal): Make v1 mount table access invalid.
Christopher Faylor [Sun, 9 Jun 2002 00:31:03 +0000 (00:31 +0000)]
* external.cc (cygwin_internal): Make v1 mount table access invalid.
* path.cc (mount_info::init): Remove had_to_create_mount_areas initialization.
(mount_info::from_registry): Remove v1 table import.
(mount_info::read_v1_mounts): Eliminate.
(mount_info::import_v1_mounts): Ditto.
* shared_info.h (mount_info): Ditto for both of above.
* sys/mount.h (MOUNT_DEVFS): New enum.
(MOUNT_PROC): Ditto.

22 years ago* include/wchar.h: Define __need_size_t.
Christopher Faylor [Sat, 8 Jun 2002 16:55:47 +0000 (16:55 +0000)]
* include/wchar.h: Define __need_size_t.

22 years ago * a29k.h: Replace CONST with const.
Alan Modra [Sat, 8 Jun 2002 07:32:12 +0000 (07:32 +0000)]
* a29k.h: Replace CONST with const.
(CONST): Don't define.
* convex.h: Replace CONST with const.
(CONST): Don't define.
* dlx.h: Replace CONST with const.
* or32.h (CONST): Don't define.

22 years agocoerce
Christopher Faylor [Sat, 8 Jun 2002 01:35:54 +0000 (01:35 +0000)]
coerce

22 years ago* fhandler_socket.cc (fhandler_socket::fstat): Don't assume that socket is
Christopher Faylor [Sat, 8 Jun 2002 01:24:58 +0000 (01:24 +0000)]
* fhandler_socket.cc (fhandler_socket::fstat): Don't assume that socket is
unix-domain socket.
* times.cc (hires_ms::prime): Set init flag.
* times.cc (hires_ms::prime): Adjust epoch of initime_us from 1601 to 1970.

22 years ago * libm/common/s_fdim.c: New file.
Thomas Fitzsimmons [Fri, 7 Jun 2002 21:59:57 +0000 (21:59 +0000)]
* libm/common/s_fdim.c: New file.
* libm/common/s_fma.c: Likewise.
* libm/common/s_fmax.c: Likewise.
* libm/common/s_fmin.c: Likewise.
* libm/common/s_fpclassify.c: Likewise.
* libm/common/s_lrint.c: Likewise.
* libm/common/s_lround.c: Likewise.
* libm/common/s_nearbyint.c: Likewise.
* libm/common/s_remquo.c: Likewise.
* libm/common/s_round.c: Likewise.
* libm/common/s_scalbln.c: Likewise.
* libm/common/s_signbit.c: Likewise.
* libm/common/s_trunc.c: Likewise.
* libm/common/sf_fdim.c: Likewise.
* libm/common/sf_fma.c: Likewise.
* libm/common/sf_fmax.c: Likewise.
* libm/common/sf_fmin.c: Likewise.
* libm/common/sf_lrint.c: Likewise.
* libm/common/sf_lround.c: Likewise.
* libm/common/sf_nearbyint.c: Likewise.
* libm/common/sf_remquo.c: Likewise.
* libm/common/sf_round.c: Likewise.
* libm/common/sf_scalbln.c: Likewise.
* libm/common/sf_trunc.c: Likewise.
* libm/math/w_exp2.c: Likewise.
* libm/math/w_tgamma.c: Likewise.
* libm/math/wf_exp2.c: Likewise.
* libm/math/wf_tgamma.c: Likewise.
* libm/mathfp/s_exp2.c: Likewise.
* libm/mathfp/s_tgamma.c: Likewise.
* libm/mathfp/sf_exp2.c: Likewise.
* libm/mathfp/sf_tgamma.c: Likewise.
* libm/math/er_gamma.c: Fix return value.
* libm/math/erf_gamma.c: Likewise.
* libm/mathfp/er_gamma.c: Likewise.
* libm/mathfp/erf_gamma.c: Likewise.
* libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
declarations and macros.
Regenerated all Makefile.in, aclocal.m4 and configure files to
use new libtool macros in top-level libtool.m4

22 years ago* cygpath.cc: Add option to output windows paths in different formats: "dos"
Christopher Faylor [Fri, 7 Jun 2002 19:25:26 +0000 (19:25 +0000)]
* cygpath.cc: Add option to output windows paths in different formats: "dos"
and "mixed".
(main): Process options.
(doit): Check new options flags.

22 years agoEnable pei386_auto_import by default. Only print a info message about auto
Nick Clifton [Fri, 7 Jun 2002 14:56:01 +0000 (14:56 +0000)]
Enable pei386_auto_import by default.  Only print a info message about auto
imports being resilved if this feature was not requested via a command line
switch.

22 years ago * regtool.cc (Fail): Be more verbose.
Corinna Vinschen [Fri, 7 Jun 2002 11:12:16 +0000 (11:12 +0000)]
* regtool.cc (Fail): Be more verbose.
(find_key): Add support for remote registry access.
(usage): Document it.
* utils.sgml: Document it.

22 years ago* autoload.cc (timeGetDevCaps): Define new autoload function.
Christopher Faylor [Fri, 7 Jun 2002 03:44:33 +0000 (03:44 +0000)]
* autoload.cc (timeGetDevCaps): Define new autoload function.
(timeGetTime): Ditto.
(timeBeginPeriod): Ditto.
(timeEndPeriod): Ditto.
* hires.h (hires_base): New class.  Renamed from hires.
(hires_us): New class.
(hires_ms): New class.
* strace.cc (strace::microseconds): Use hires_us class.
* times.cc (gettimeofday): Use hires-ms class.
(hires_us::prime): Renamed from hires::prime.
(hires_us::usecs): Renamed from hires:usecs.
(hires_ms::prime): New method.
(hires_ms::usecs): New method.
(hires_ms::~hires_ms): New destructor.

22 years ago* strace.cc (main): Make toggle a local variable.
Christopher Faylor [Fri, 7 Jun 2002 01:37:20 +0000 (01:37 +0000)]
* strace.cc (main): Make toggle a local variable.

22 years ago* strace.cc (toggle): New global variable.
Christopher Faylor [Fri, 7 Jun 2002 01:36:17 +0000 (01:36 +0000)]
* strace.cc (toggle): New global variable.
(error): Use exit instead of ExitProcess so that stdio buffers get flushed.
(create_child): Remove command line error checking.
(dostrace): Ditto.
(dotoggle): New function.
(usage): Add entry for new option -T|--toggle.  Alphabetize.
(longopts): Add new option -T|--toggle.
(opts): Ditto.
(main): Handle new -T|--toggle option.  Move all command line checking here
from other functions.
* utils.sgml: Update section for strace.

22 years ago2002-06-07 Gunnar Degnbol <gdegnbol@users.sourceforge.net>
Danny Smith [Fri, 7 Jun 2002 00:30:17 +0000 (00:30 +0000)]
2002-06-07  Gunnar Degnbol <gdegnbol@users.sourceforge.net>

* include/mapi.h: Change LPTSTR to LPSTR throughout.

22 years ago* autoload.cc (noload): Correctly save argument count register.
Christopher Faylor [Thu, 6 Jun 2002 23:53:45 +0000 (23:53 +0000)]
* autoload.cc (noload): Correctly save argument count register.

22 years ago * fhandler.cc (fhandler_base::fstat): Initialise tv_nsec member of
Corinna Vinschen [Thu, 6 Jun 2002 15:35:09 +0000 (15:35 +0000)]
* fhandler.cc (fhandler_base::fstat): Initialise tv_nsec member of
st_atim, st_mtim, and st_ctim fields.
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Ditto.
* fhandler_process.cc (fhandler_process::fstat): Ditto.
* glob.c (stat32_to_STAT): Copy across the whole st_atim,
st_mtime, and st_ctim fields.
* syscalls.cc (stat64_to_stat32): Ditto.
* times.cc (to_timestruc_t): New function.
(time_as_timestruc_t): New function.
* winsup.h: Add to_timestruc_t and time_as_timestruc_t functions.
* include/cygwin/stat.h: Replace time_t with timestruc_t
throughout for all file times, removing the st_spare1, st_spare2,
and st_spare3 fields in the process. Add macros to access tv_sec
fields by old names.
* include/cygwin/types.h: Typedef timespec_t and timestruc_t as
struct timespec.

22 years agomerge from gcc
DJ Delorie [Thu, 6 Jun 2002 12:55:14 +0000 (12:55 +0000)]
merge from gcc

22 years ago * sec_helper.cc (lookup_name): Suppress.
Corinna Vinschen [Thu, 6 Jun 2002 11:17:51 +0000 (11:17 +0000)]
* sec_helper.cc (lookup_name): Suppress.
* security.cc (alloc_sd): Remove logsrv argument.
Remove two calls to lookup_name.
(set_security_attribute): Remove logsrv argument.
Remove logsrv argument in call to alloc_sd.
(set_nt_attribute): Remove logsrv argument.
Remove logsrv argument in call to set_security_attribute.
(set_file_attribute): Remove logsrv argument.
Remove logsrv argument in call to set_nt_attribute.
(set_file_attribute): Remove logsrv argument.
Remove logsrv argument in call to set_file_attribute.
* syscalls.cc (chown_worker): Remove logserver argument in
call to set_file_attribute.
(chmod): Ditto.
* shm.cc (shmget): Remove logsrv argument in call to alloc_sd.
* uinfo.cc (internal_getlogin): Replace calls to
lookup_name by call to LookupAccountName.
* security.h: Remove logsrv in declarations of set_file_attribute
and alloc_sd. Remove declaration of lookup_name.

22 years ago * common.h: Change registry@sco.com to registry@caldera.com.
Alan Modra [Thu, 6 Jun 2002 09:59:38 +0000 (09:59 +0000)]
* common.h: Change registry@sco.com to registry@caldera.com.
(EM_PDP10, EM_PDP11): Define.

22 years ago Fix ChangeLog entry.
Corinna Vinschen [Thu, 6 Jun 2002 08:37:24 +0000 (08:37 +0000)]
Fix ChangeLog entry.

22 years ago* strace.cc (version): New global variable.
Christopher Faylor [Thu, 6 Jun 2002 02:55:10 +0000 (02:55 +0000)]
* strace.cc (version): New global variable.
(usage): Accomodate stdout output.
(print_version): New function.

22 years ago* child_info.h (CHILD_INFO_MAGIC): Oops. Revert previous change. gcc 3.1 bug?
Christopher Faylor [Thu, 6 Jun 2002 01:49:56 +0000 (01:49 +0000)]
* child_info.h (CHILD_INFO_MAGIC): Oops.  Revert previous change.  gcc 3.1 bug?

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