]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
22 years ago * libc/search/db_local.h: New file.
Thomas Fitzsimmons [Mon, 24 Jun 2002 23:05:08 +0000 (23:05 +0000)]
* libc/search/db_local.h: New file.
* libc/include/db.h: Remove.
* libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
* libc/search/hash.c (MIN,MAX): Add macros.  Change <db.h> to
"db_local.h".
* libc/search/hash_bigkey.c: Likewise.
* libc/search/hash_buf.c: Likewise.
* libc/search/hash_func.c: Likewise.
* libc/search/hash_log2.c: Likewise.
* libc/search/hash_page.c: Likewise.

22 years ago2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 24 Jun 2002 21:46:06 +0000 (21:46 +0000)]
2002-06-24  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/gethostname.c: Change name to __gethostname and
        add gethostname alias.

22 years ago* dtable.cc (dtable::find_unused_handle): Avoid coercion.
Christopher Faylor [Mon, 24 Jun 2002 21:14:04 +0000 (21:14 +0000)]
* dtable.cc (dtable::find_unused_handle): Avoid coercion.

22 years ago * libc/machine/sh/strcpy.S: New file.
Joern Rennecke [Mon, 24 Jun 2002 20:30:08 +0000 (20:30 +0000)]
* libc/machine/sh/strcpy.S: New file.
* libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
* libc/machine/sh/Makefile.am: Regenerate.

22 years agoFix typos.
Jeff Johnston [Mon, 24 Jun 2002 20:09:40 +0000 (20:09 +0000)]
Fix typos.

22 years ago* dtable.cc (fhandler_base::dup2): Cleanup. Ensure that lock is turned off in
Christopher Faylor [Mon, 24 Jun 2002 20:05:52 +0000 (20:05 +0000)]
* dtable.cc (fhandler_base::dup2): Cleanup.  Ensure that lock is turned off in
error condition.

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

        * libc/include/math.h: Remove <sys/types.h>.
        (__dmath): Use __ULong instead of _uint32_t.
        * libc/include/sys/reent.h: If long or int is not 32-bits,
        include <sys/types.h> to get definitions for _int32_t and _uint32_t.
        * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
        * libm/common/fdlibm.h: Ditto.

22 years ago2002-06-24 Ben Elliston <bje@redhat.com>
Ben Elliston [Mon, 24 Jun 2002 17:41:28 +0000 (17:41 +0000)]
2002-06-24  Ben Elliston  <bje@redhat.com>

* configure.in (host_tools): Remove cgen.

* Makefile.in (all-cgen): Remove; runs from its source directory.
(check-cgen, install-cgen, clean-cgen): Likewise.
(all-opcodes): No not depend on all-cgen.
(all-sim): Likewise.

22 years agomerge from gcc
DJ Delorie [Mon, 24 Jun 2002 17:39:28 +0000 (17:39 +0000)]
merge from gcc

22 years ago * libc/include/ndbm.h: Remove.
Thomas Fitzsimmons [Mon, 24 Jun 2002 17:35:37 +0000 (17:35 +0000)]
* libc/include/ndbm.h: Remove.
* libc/search/ndbm.c: Remove.

22 years ago2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
Thomas Fitzsimmons [Mon, 24 Jun 2002 15:59:38 +0000 (15:59 +0000)]
2002-06-24  WATANABE Hirofumi <eban@os.rim.or.jp>

* libc/stdio/fseek.c (fseek): Fix braces.

22 years ago * uinfo.cc (internal_getlogin): Set myself->uid and myself->gid instead
Corinna Vinschen [Mon, 24 Jun 2002 15:40:57 +0000 (15:40 +0000)]
* uinfo.cc (internal_getlogin): Set myself->uid and myself->gid instead
of user.real_uid and user.real_gid.
(uinfo_init): Evaluate orig_uid and real_uid from myself->uid.  Ditto
for gid.

22 years ago* security.cc (get_group_sidlist): Add pw argument and use pw->pw_name in call
Christopher Faylor [Mon, 24 Jun 2002 13:01:50 +0000 (13:01 +0000)]
* security.cc (get_group_sidlist): Add pw argument and use pw->pw_name in call
to get_supplementary_group_sidlist.
(create_token): Add pw argument and use it in call to get_group_sidlist.
* security.h: Add pw argument in declaration of create_token.
* syscalls.cc (seteuid32): Add pw argument in call to create_token.

22 years ago * ntsec.sgml: Clean up text for examples of /etc/passwd and /etc/group.
Corinna Vinschen [Mon, 24 Jun 2002 09:30:02 +0000 (09:30 +0000)]
* ntsec.sgml: Clean up text for examples of /etc/passwd and /etc/group.
Add examples with SIDs.  Warn about changing them crudely.

22 years ago * include/objidl.h (struct tagPROPVARIANT): Kill obsolete
Danny Smith [Mon, 24 Jun 2002 04:51:34 +0000 (04:51 +0000)]
* include/objidl.h (struct tagPROPVARIANT): Kill obsolete
union member _VARIANT_BOOL bool.

22 years ago* include/winioctl.h (FILE_SPECIAL_ACCESS): Add define.
Danny Smith [Mon, 24 Jun 2002 02:49:47 +0000 (02:49 +0000)]
* include/winioctl.h (FILE_SPECIAL_ACCESS): Add define.

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

* include/winnt.h (PCCHAR, FCHAR, FSHORT, FLONG,
PLUID_AND_ATTRIBUTES,PSECURITY_IMPERSONATION_LEVEL,
PSID_AND_ATTRIBUTES, PTOKEN_TYPE, PTOKEN_STATISTICS):
Add typedefs.
(CCHAR): Correct typedef.
(PROCESS_SET_SESSIONID, SECURITY_*,SECTION_MAP_EXECUTE):
Add defines.

* README.w32api: Correct spelling error.

22 years ago* fhandler.cc (fhandler_base::fstat): Set S_IFIFO for pipes.
Christopher Faylor [Mon, 24 Jun 2002 02:23:14 +0000 (02:23 +0000)]
* fhandler.cc (fhandler_base::fstat): Set S_IFIFO for pipes.
* fhandler_socket.cc (fhandler_socket.cc::fstat): Set S_IFSOCK.

22 years ago* lib/_cygwin_S_IEXEC.cc: Remove obsolete file.
Christopher Faylor [Mon, 24 Jun 2002 02:08:41 +0000 (02:08 +0000)]
* lib/_cygwin_S_IEXEC.cc: Remove obsolete file.

22 years agoUse cygwin_{shm,ipc}.h instead of /sys/{shm,ipc}.h throughout.
Christopher Faylor [Sun, 23 Jun 2002 22:56:58 +0000 (22:56 +0000)]
Use cygwin_{shm,ipc}.h instead of /sys/{shm,ipc}.h throughout.
* sys/ipc.h: Remove.
* sys/shm.h: Remove.
* cygwin_ipc.h: New file.
* cygwin_shm.h: New file.

22 years ago* cygwin.sc: Add recent changes from ld sources.
Christopher Faylor [Sun, 23 Jun 2002 18:55:23 +0000 (18:55 +0000)]
* cygwin.sc: Add recent changes from ld sources.
* winsup.h: Move #ifdef EXPCGF code into "winbase.h".
* winbase.h: #ifdef EXPCGF code moved here from "winsup.h".

22 years ago2002-06-12 Thomas Pfaff <tpfaff@gmx.net>
Robert Collins [Sun, 23 Jun 2002 07:36:21 +0000 (07:36 +0000)]
2002-06-12  Thomas Pfaff  <tpfaff@gmx.net>

* thread.h (pthread::cleanup_stack): Renamed cleanup_handlers to
cleanup_stack.
* thread.cc (pthread::pthread): Ditto.
(pthread::create): Fixed mutex verification.
(pthread::push_cleanup_handler): Renamed cleanup_handlers to
cleanup_stack.
Mutex calls removed, used InterlockedExchangePointer instead.
(pthread::pop_cleanup_handler): Renamed cleanup_handlers to
cleanup_stack.
(pthread::pop_all_cleanup_handlers): Ditto.
(__pthread_once): Check state first and return if already done.
(__pthread_join): DEADLOCK test reverted to __pthread_equal
call.
(__pthread_detach): Unlock mutex before deletion.

22 years ago* Makefile.in (cygrun.exe): Move -lgcc where it will do some good.
Christopher Faylor [Sat, 22 Jun 2002 02:56:56 +0000 (02:56 +0000)]
* Makefile.in (cygrun.exe): Move -lgcc where it will do some good.

22 years ago* Makefile.in (cygrun.exe): Use -lgcc when linking.
Christopher Faylor [Sat, 22 Jun 2002 02:50:01 +0000 (02:50 +0000)]
* Makefile.in (cygrun.exe): Use -lgcc when linking.

22 years ago* configure.in: Fix AIX configury bug.
DJ Delorie [Fri, 21 Jun 2002 22:20:17 +0000 (22:20 +0000)]
* configure.in: Fix AIX configury bug.

22 years ago * libc/time/strftime.c (strftime): Add %e format specifier.
Corinna Vinschen [Fri, 21 Jun 2002 20:04:40 +0000 (20:04 +0000)]
* libc/time/strftime.c (strftime): Add %e format specifier.

22 years ago * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
Thomas Fitzsimmons [Fri, 21 Jun 2002 19:09:50 +0000 (19:09 +0000)]
* libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
previously defined.

22 years ago2002-06-21 Richard Earnshaw (rearnsha@arm.com)
Jeff Johnston [Fri, 21 Jun 2002 18:44:09 +0000 (18:44 +0000)]
2002-06-21  Richard Earnshaw  (rearnsha@arm.com)

        * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
        (BYTE_ORDER): Define as appropriate for the target.

22 years ago2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 21 Jun 2002 18:40:50 +0000 (18:40 +0000)]
2002-06-21  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
        to _ssize_t.
        * libc/sys/linux/io.c (read, write): Change to return ssize_t.

22 years ago2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 21 Jun 2002 18:29:23 +0000 (18:29 +0000)]
2002-06-21  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdio.h (__getline, __getdelim): New prototypes.
        * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
        [HAVE_GETDATE](getdate_err): New error code.
        * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
        * libc/stdio/Makefile.in: Regenerated.
        * libc/stdio/getdelim.c: New file.
        * libc/stdio/getline.c: Ditto.
        * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
        and ntp_gettime.c.  Also add AM_CFLAGS to point to libc/stdio.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/getdate.c: New file.
        * libc/sys/linux/getdate_err.c: Ditto.
        * libc/sys/linux/ntp_gettime.c: Ditto.
        * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
        * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.

22 years ago2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 21 Jun 2002 18:15:56 +0000 (18:15 +0000)]
2002-06-21  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
        * libc/include/machine/types.h: Skip __off_t, __pid_t, and
        __loff_t definitions if special _HAVE_SYSTYPES macro defined.
        * libc/include/sys/config.h: Removed _uint*, _int* definitions.
        * libc/include/sys/param.h: Remove i386 case which is handled
        by default case.
        (BIG_ENDIAN, LITTLE_ENDIAN): Protect
        definitions in case they are already defined.
        (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
        _IEEE_LITTLE_ENDIAN flags.
        * libc/include/sys/reent.h: Change __uint32_t references to
        use _ULong instead.
        (_REENT_GETDATE_REENT_P): New macro.
        * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
        (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
        * libc/search/hash.h: Add default setting of BYTE_ORDER,
        LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
        * libc/sys/linux/sys/types.h: Include <sys/_types.h>.  Define
        ssize_t based on _ssize_t.  Remove __socklen_t, __uintptr_t,
        pid_t, off_t, loff_t, caddr_t, and daddr_t type
        definitions which are done by subsequent glibc headers.
        Add macro definitions to prevent subsequent header files from
        defining pid_t, off_t, ssize_t, and key_t.  Move uintptr_t and
        intptr_t to after glibc definitions of types they are based on.

22 years ago* what.texinfo: Fix typo.
Christopher Faylor [Fri, 21 Jun 2002 15:28:06 +0000 (15:28 +0000)]
* what.texinfo: Fix typo.

22 years ago2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 21 Jun 2002 15:26:47 +0000 (15:26 +0000)]
2002-06-21  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/errno.h: Protect from multiple inclusion.

22 years ago * syscalls.cc (stat64_to_stat32): Correctly evaluate st_rdev.
Corinna Vinschen [Fri, 21 Jun 2002 15:01:19 +0000 (15:01 +0000)]
* syscalls.cc (stat64_to_stat32): Correctly evaluate st_rdev.
(fstat64): Set st_rdev to same value as st_dev.
(stat_worker): Ditto.

22 years ago * security.cc (alloc_sd): Carefully check owner_sid again after trying
Corinna Vinschen [Fri, 21 Jun 2002 12:57:19 +0000 (12:57 +0000)]
* security.cc (alloc_sd): Carefully check owner_sid again after trying
SIDs from cygheap.

22 years ago * security.cc (alloc_sd): Remove unnecessary retrieval of owner name.
Corinna Vinschen [Fri, 21 Jun 2002 12:37:51 +0000 (12:37 +0000)]
* security.cc (alloc_sd): Remove unnecessary retrieval of owner name.
Check uid for current user first and use SIDs from cygheap if so.
Set errno to EINVAL if user SID isn't retrievable.  Just print user SID
as debug output.
Don't bail out if group SID isn't retrievable.  Change debug output
appropriately.

22 years agoSet correct value for ADP_Stopped_RunTimeError
Nick Clifton [Fri, 21 Jun 2002 06:55:37 +0000 (06:55 +0000)]
Set correct value for ADP_Stopped_RunTimeError

22 years ago* errno.cc: Change text description for EBADF throughout.
Christopher Faylor [Fri, 21 Jun 2002 05:47:09 +0000 (05:47 +0000)]
* errno.cc: Change text description for EBADF throughout.

22 years agoremove unneeded white space
Christopher Faylor [Fri, 21 Jun 2002 05:01:56 +0000 (05:01 +0000)]
remove unneeded white space

22 years ago* uinfo.cc (cygheap_user::ontherange): Use env_name for NetUserGetInfo.
Christopher Faylor [Fri, 21 Jun 2002 05:01:17 +0000 (05:01 +0000)]
* uinfo.cc (cygheap_user::ontherange): Use env_name for NetUserGetInfo.
(cygheap_user::env_logsrv): Verify env_domain is valid.
* environ.cc: Include child_info.h and keep spenvs[] sorted.
(environ_init): Check child_proc_info instead of myself->ppid_handle.

22 years ago * Makefile.am (LIB_OBJECTLISTS): Add
Thomas Fitzsimmons [Thu, 20 Jun 2002 19:51:40 +0000 (19:51 +0000)]
* Makefile.am (LIB_OBJECTLISTS): Add
libc/search/objectlist.awk.in.
* libc/Makefile.am (SUBDIRS): Add search.
(SUBLIBS): Add search/libsearch.la.
* libc/configure.in (AC_OUTPUT): Add search/Makefile.
* libc/search: New directory.
* libc/search/Makefile.am: New file.
* libc/search/extern.h: New file.
* libc/search/hash.c: New file.
* libc/search/hash.h: New file.
* libc/search/hash_bigkey.c: New file.
* libc/search/hash_buf.c: New file.
* libc/search/hash_func.c: New file.
* libc/search/hash_log2.c: New file.
* libc/search/hash_page.c: New file.
* libc/search/hcreate.3: New file.
* libc/search/hcreate.c: New file.
* libc/search/hcreate.c~: New file.
* libc/search/hcreate_r.c: New file.
* libc/search/ndbm.c: New file.
* libc/search/page.h: New file.
* libc/search/tdelete.c: New file.
* libc/search/tdestroy.c: New file.
* libc/search/tfind.c: New file.
* libc/search/tsearch.3: New file.
* libc/search/tsearch.c: New file.
* libc/search/twalk.c: New file.
* libc/include/db.h: New file.
* libc/include/ndbm.h: New file.
* libc/include/search.h: New file.
* libc/include/sys/queue.h: New file.
* libc/include/sys/cdefs.h: New file.
* libc/include/sys/param.h
[__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
LITTLE_ENDIAN or BIG_ENDIAN.
* libc/include/sys/errno.h (EFTYPE): New macro.
* libc/search/bsearch.c: Move from libc/stdlib.
* libc/search/qsort.c: Likewise.
* libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
qsort.c.
(CHEWOUT_FILES): Remove bsearch.def and qsort.def.
* libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.

22 years ago* fhandler.cc (fhandler_base::set_flags): Change priority of "linked in"
Christopher Faylor [Thu, 20 Jun 2002 00:36:40 +0000 (00:36 +0000)]
* fhandler.cc (fhandler_base::set_flags): Change priority of "linked in"
default binmode setting so that it has priority over optional setting.

22 years ago* configure.in: replace ${topsrcdir} with ${srcdir}
DJ Delorie [Wed, 19 Jun 2002 23:57:41 +0000 (23:57 +0000)]
* configure.in: replace ${topsrcdir} with ${srcdir}

22 years ago* configure.in: Move definition of libstdcxx_flags
DJ Delorie [Wed, 19 Jun 2002 23:53:30 +0000 (23:53 +0000)]
* configure.in: Move definition of libstdcxx_flags
right above usage, rather than waaay earlier.

22 years ago* configure.in: Rearrange a little.
DJ Delorie [Wed, 19 Jun 2002 23:47:55 +0000 (23:47 +0000)]
* configure.in: Rearrange a little.

22 years ago* configure.in: Pull definition of is_cross_compiler earlier.
DJ Delorie [Wed, 19 Jun 2002 23:39:41 +0000 (23:39 +0000)]
* configure.in: Pull definition of is_cross_compiler earlier.

22 years ago* configure.in: Rearrange a little.
DJ Delorie [Wed, 19 Jun 2002 23:24:18 +0000 (23:24 +0000)]
* configure.in: Rearrange a little.

22 years ago* configure.in: Remove references to librx.
DJ Delorie [Wed, 19 Jun 2002 23:07:26 +0000 (23:07 +0000)]
* configure.in: Remove references to librx.
* Makefile.in: Remove references to librx.

22 years ago2002-06-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 19 Jun 2002 22:17:33 +0000 (22:17 +0000)]
2002-06-19  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/Makefile.am: Add support for message queue routines,
        ipc routines, and ftok.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/ftok.c: New file.
        * libc/sys/linux/ipc.c: Ditto.
        * libc/sys/linux/mq_close.c: Ditto.
        * libc/sys/linux/mq_getattr.c: Ditto.
        * libc/sys/linux/mq_notify.c: Ditto.
        * libc/sys/linux/mq_open.c: Ditto.
        * libc/sys/linux/mq_receive.c: Ditto.
        * libc/sys/linux/mq_send.c: Ditto.
        * libc/sys/linux/mq_setattr.c: Ditto.
        * libc/sys/linux/mq_unlink.c: Ditto.
        * libc/sys/linux/mqlocal.h: Ditto.
        * libc/sys/linux/include/mqueue.h: Ditto.
        * libc/sys/linux/sys/types.h: Define __gid_t_defined and
        __uid_t_defined.

22 years ago* configure.in: Eliminate ${gasdir} variable.
DJ Delorie [Wed, 19 Jun 2002 17:39:26 +0000 (17:39 +0000)]
* configure.in: Eliminate ${gasdir} variable.

22 years ago * libm/common/sf_lround.c (round): Change name to: (lround).
Thomas Fitzsimmons [Wed, 19 Jun 2002 17:15:47 +0000 (17:15 +0000)]
* libm/common/sf_lround.c (round): Change name to: (lround).
* libm/common/sf_remquo.c (remquo): Pass all arguemnts to
remquof.

22 years agoUse hMainProc where appropriate, throughout.
Christopher Faylor [Wed, 19 Jun 2002 15:27:27 +0000 (15:27 +0000)]
Use hMainProc where appropriate, throughout.
* environ.cc (spenv::retrieve): Add debugging statements.
* pinfo.cc (set_myself): Don't call strace.hello if already stracing.
* strace.cc (strace): Move NO_COPY keyword so that it will actually take
effect.

22 years ago * uinfo.cc (cygheap_user::ontherange): Call NetUserGetInfo() only with
Corinna Vinschen [Wed, 19 Jun 2002 13:56:34 +0000 (13:56 +0000)]
* uinfo.cc (cygheap_user::ontherange): Call NetUserGetInfo() only with
non-NULL logserver parameter.

22 years ago2002-06-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
Danny Smith [Wed, 19 Jun 2002 12:32:06 +0000 (12:32 +0000)]
2002-06-19  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* include/winuser.h (FLASHW_*,INPUT_MOUSE,INPUT_KEYBOARD,
INPUT_HARDWARE): Add defines.
(HDEVNOTIFY): Add typedef.
(FLASHWINFO,tagMOUSEMOVEPOINT,tagMOUSEINPUT,tagKEYBDINPUT,
tagHARDWAREINPUT,tagINPUT,tagGUITHREADINFO): Define structs and
typedefs.
(CreateDesktop[AW],CreateMDIWindow[AW],GetClassInfo[AW],
GetClassInfoEx[AW],GetKeyboardLayoutList,
MessageBoxIndirect[AW],MsgWaitForMultipleObjects,
MsgWaitForMultipleObjectsEx, RegisterClass[AW],
RegisterClassEx[AW]): Correct prototypes.

Remove duplicate ChangeLog entry of 2001-12-07

22 years ago* cygpath.cc (usage): Clean up usage output.
Christopher Faylor [Wed, 19 Jun 2002 02:09:41 +0000 (02:09 +0000)]
* cygpath.cc (usage): Clean up usage output.
(dowin): Correct output of -t mixed for -ADHPSW options.

22 years ago2002-06-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
Danny Smith [Wed, 19 Jun 2002 01:15:45 +0000 (01:15 +0000)]
2002-06-19  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* include/ddeml.h (DdeCreateStringHandle{AW]:Correct
prototypes.
* include/winsvc.h (StartServiceW): Correct prototype.
* include/winbase.h (BackupRead,BackupSeek,BackupWrite,
FileTimeToLocalFileTime, GetAce,GetPrivateProfileStruct[AW],
GetTickCount,InterlockedExchangeAdd,
WritePrivateProfileStruct[AW]: Correct prototypes.
(GetEnvironmentStrings): Correct mapping to
GetEnvironmentStringsA.
* include/winver.h (VerQueryValueA,VerQueryValueW):
Correct prototypes.
* include/wincon.h (CreateConsoleScreenBuffer): Correct
prototype.
* include/winreg.h (RegQueryMultipleValues[AW],
RegQueryValueEx[AW]):Correct prototypes.
* include/wingdi.h (PXFORM, PLOGBRUSH, PLOGPEN, PPOLYTEXTA,
PPOLYTEXTW): Add typedefs.
(_DESIGNVECTOR,COLOR16, _TRIVERTEX, _DISPLAY_DEVICE): Add
structures and typedefs.
(MM_MAX_NUMAXES): Add define.
(EnumFontsW,GetEnhMetaFilePixelFormat,wglGetLayerPaletteEntries):
Correct prototypes.
* include/winerror.h (RPC_X_INVALID_PIPE_OBJECT,
RPC_X_WRONG_PIPE_ORDER,RPC_X_WRONG_PIPE_VERSION,
RPC_S_SEND_INCOMPLETE): Add defines.

22 years ago * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
Thomas Fitzsimmons [Tue, 18 Jun 2002 22:39:17 +0000 (22:39 +0000)]
* testsuite/lib/passfail.exp (newlib_pass_fail_all): New
procedure.
(newlib_pass_fail): Change to compile and run only one file.
* testsuite/newlib.locale/locale.exp: Use new
newlib_pass_fail_all procedure.
* testsuite/newlib.string/string.exp: Likewise.

22 years agoFix formatting of ;; for frv.
Dave Brolley [Tue, 18 Jun 2002 21:41:22 +0000 (21:41 +0000)]
Fix formatting of ;; for frv.

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

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

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.

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