summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update from Joshua Daniel FranklinChristopher Faylor2002-06-251-120/+161
|
* merge from gccDJ Delorie2002-06-257-12/+21
|
* Fix typo in latest change to libc/machine/sh - new file should be strlen.S.Jeff Johnston2002-06-251-1/+1
|
* * libc/search/db_local.h: New file.Thomas Fitzsimmons2002-06-2410-7/+34
| | | | | | | | | | | | * 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.
* 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-242-2/+8
| | | | | * libc/sys/linux/gethostname.c: Change name to __gethostname and add gethostname alias.
* * dtable.cc (dtable::find_unused_handle): Avoid coercion.Christopher Faylor2002-06-242-2/+5
|
* * libc/machine/sh/strcpy.S: New file.Joern Rennecke2002-06-244-8/+101
| | | | | * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it. * libc/machine/sh/Makefile.am: Regenerate.
* Fix typos.Jeff Johnston2002-06-241-2/+2
|
* * dtable.cc (fhandler_base::dup2): Cleanup. Ensure that lock is turned off inChristopher Faylor2002-06-242-18/+24
| | | | error condition.
* 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-245-2/+13
| | | | | | | | | * 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.
* 2002-06-24 Ben Elliston <bje@redhat.com>Ben Elliston2002-06-243-11/+15
| | | | | | | | | * 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.
* merge from gccDJ Delorie2002-06-243-8/+14
|
* * libc/include/ndbm.h: Remove.Thomas Fitzsimmons2002-06-245-316/+7
| | | | * libc/search/ndbm.c: Remove.
* 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>Thomas Fitzsimmons2002-06-242-2/+8
| | | | * libc/stdio/fseek.c (fseek): Fix braces.
* * uinfo.cc (internal_getlogin): Set myself->uid and myself->gid insteadCorinna Vinschen2002-06-242-6/+13
| | | | | | of user.real_uid and user.real_gid. (uinfo_init): Evaluate orig_uid and real_uid from myself->uid. Ditto for gid.
* * security.cc (get_group_sidlist): Add pw argument and use pw->pw_name in callChristopher Faylor2002-06-244-9/+18
| | | | | | | 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.
* * ntsec.sgml: Clean up text for examples of /etc/passwd and /etc/group.Corinna Vinschen2002-06-242-9/+64
| | | | Add examples with SIDs. Warn about changing them crudely.
* * include/objidl.h (struct tagPROPVARIANT): Kill obsoleteDanny Smith2002-06-242-1/+8
| | | | union member _VARIANT_BOOL bool.
* * include/winioctl.h (FILE_SPECIAL_ACCESS): Add define.Danny Smith2002-06-242-0/+5
|
* 2002-06-24 Casper S. Hornstrup <chorns@users.sourceforge.net>Danny Smith2002-06-243-7/+36
| | | | | | | | | | | | | * 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.
* * fhandler.cc (fhandler_base::fstat): Set S_IFIFO for pipes.Christopher Faylor2002-06-243-5/+19
| | | | * fhandler_socket.cc (fhandler_socket.cc::fstat): Set S_IFSOCK.
* * lib/_cygwin_S_IEXEC.cc: Remove obsolete file.Christopher Faylor2002-06-242-21/+4
|
* Use cygwin_{shm,ipc}.h instead of /sys/{shm,ipc}.h throughout.Christopher Faylor2002-06-237-7/+15
| | | | | | | * sys/ipc.h: Remove. * sys/shm.h: Remove. * cygwin_ipc.h: New file. * cygwin_shm.h: New file.
* * cygwin.sc: Add recent changes from ld sources.Christopher Faylor2002-06-234-9/+18
| | | | | * winsup.h: Move #ifdef EXPCGF code into "winbase.h". * winbase.h: #ifdef EXPCGF code moved here from "winsup.h".
* 2002-06-12 Thomas Pfaff <tpfaff@gmx.net>Robert Collins2002-06-233-24/+45
| | | | | | | | | | | | | | | | | * 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.
* * Makefile.in (cygrun.exe): Move -lgcc where it will do some good.Christopher Faylor2002-06-222-1/+5
|
* * Makefile.in (cygrun.exe): Use -lgcc when linking.Christopher Faylor2002-06-221-1/+1
|
* * configure.in: Fix AIX configury bug.DJ Delorie2002-06-212-2/+4
|
* * libc/time/strftime.c (strftime): Add %e format specifier.Corinna Vinschen2002-06-212-0/+17
|
* * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if notThomas Fitzsimmons2002-06-212-1/+11
| | | | previously defined.
* 2002-06-21 Richard Earnshaw (rearnsha@arm.com)Jeff Johnston2002-06-212-0/+14
| | | | | * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define. (BYTE_ORDER): Define as appropriate for the target.
* 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-213-2/+9
| | | | | | * 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.
* 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-2114-29/+667
| | | | | | | | | | | | | | | | | | * 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.
* 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-219-51/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * what.texinfo: Fix typo.Christopher Faylor2002-06-212-1/+5
|
* 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-212-0/+9
| | | | * libc/include/errno.h: Protect from multiple inclusion.
* * syscalls.cc (stat64_to_stat32): Correctly evaluate st_rdev.Corinna Vinschen2002-06-212-1/+11
| | | | | (fstat64): Set st_rdev to same value as st_dev. (stat_worker): Ditto.
* * security.cc (alloc_sd): Carefully check owner_sid again after tryingCorinna Vinschen2002-06-212-2/+7
| | | | SIDs from cygheap.
* * security.cc (alloc_sd): Remove unnecessary retrieval of owner name.Corinna Vinschen2002-06-212-17/+38
| | | | | | | | 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.
* Set correct value for ADP_Stopped_RunTimeErrorNick Clifton2002-06-212-32/+31
|
* * errno.cc: Change text description for EBADF throughout.Christopher Faylor2002-06-212-2/+6
|
* remove unneeded white spaceChristopher Faylor2002-06-211-2/+2
|
* * uinfo.cc (cygheap_user::ontherange): Use env_name for NetUserGetInfo.Christopher Faylor2002-06-217-15/+23
| | | | | | (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.
* * Makefile.am (LIB_OBJECTLISTS): AddThomas Fitzsimmons2002-06-2040-55/+6621
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * fhandler.cc (fhandler_base::set_flags): Change priority of "linked in"Christopher Faylor2002-06-202-27/+34
| | | | default binmode setting so that it has priority over optional setting.
* * configure.in: replace ${topsrcdir} with ${srcdir}DJ Delorie2002-06-192-6/+8
|
* * configure.in: Move definition of libstdcxx_flagsDJ Delorie2002-06-192-3/+6
| | | | right above usage, rather than waaay earlier.
* * configure.in: Rearrange a little.DJ Delorie2002-06-191-27/+26
|
* * configure.in: Pull definition of is_cross_compiler earlier.DJ Delorie2002-06-192-13/+14
|
* * configure.in: Rearrange a little.DJ Delorie2002-06-192-4/+9
|