summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>Jeff Johnston2002-06-2712-53/+100
| | | | | | | | | | | | | | | * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C. * libc/include/time.h: Same. * libc/include/string.h: Same. * libc/include/stdlib.h: Same. * libc/include/signal.h: Same. * libc/include/setjmp.h: Same. * libc/include/math.h: Same. * libc/include/locale.h: Same. * libc/include/ctype.h: Same. * libc/include/machine/setjmp.h: Same. * libc/include/_ansi.h (_BEGIN_STD_C): Add. (_END_STD_C): Add.
* 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-2710-23/+118
| | | | | | | | | | | | | | * libc/include/sys/_types.h: Define _ssize_t as int if int is 32-bits, otherwise define it as long. * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h> and define ssize_t as _ssize_t. * libc/reent/readr.c: Change return type to _ssize_t. * libc/reent/writer.c: Ditto. * libc/sys/linux/Makefile.am: Add aio.c. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/aio.c: New file. * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition. * libm/common/fdlibm.h: Undef __P before defining it.
* Add missing entry.Christopher Faylor2002-06-271-0/+1
|
* * cygheap.cc (cfree_and_set): New function.Christopher Faylor2002-06-278-52/+89
| | | | | | | | | | | | | | | | | | (cygheap_user::set_name): Use cfree_and_set to reset members. * cygheap.h (cygheap_user): Delete static members. (cygheap_user::puserprof): New member. (cfree_and_set): Declare. * dcrt0.cc (almost_null): Define. * winsup.h (almost_null): Declare. * syscalls.cc (cfree_and_set): Remove unused variable. * uinfo.cc (cygheap_user::homepath_env_buf): Eliminate. (cygheap_user::homedrive_env_buf): Ditto. (cygheap_user::userprofile_env_buf): Ditto. (cygheap_user::ontherange): YA change to try to preserve existing HOMEPATH and HOMEDRIVE. Return almost_null values when variables should not actually exist. (cygheap_user::env_logsrv): Ditto. (cygheap_user::env_domain): Ditto. (cygheap_user::env_userprofile): Ditto.
* * libm/mathfp/s_pow.c (pow): Fix checks on variable k. AddThomas Fitzsimmons2002-06-273-51/+90
| | | | | | exponent_is_even_int variable. Handle case where x is negative, and y is an odd integer. * libm/mathfp/sf_pow.c (powf): Likewise.
* * libm/mathfp/er_lgamma.c: Remove __kernel references.Thomas Fitzsimmons2002-06-275-21/+48
| | | | | | * libm/mathfp/erf_lgamma.c: Likewise. * libm/mathfp/s_tgamma.c: Likewise. * libm/mathfp/sf_tgamma.c: Likewise.
* 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-2718-22/+1111
| | | | | | | | | | | | | | | | | | | | | * libc/sys/linux/Makefile.am: Add new clock routines. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/clock_getres.c: New file. * libc/sys/linux/clock_gettime.c: Ditto. * libc/sys/linux/clock_settime.c: Ditto. * libc/sys/linux/hp-timing.h: Ditto. * libc/sys/linux/libc-internal.h: Ditto. * libc/sys/linux/sysconf.c: Fix typo. * libc/sys/linux/include/time.h: New file. * libc/sys/linux/machine/hp-timing.h: New file. * libc/sys/linux/machine/i386/Makefile.am: Add new files. * libc/sys/linux/machine/i386/Makefile.in: Regenerated. * libc/sys/linux/machine/i386/get_clockfreq.c: New file. * libc/sys/linux/machine/i386/hp-timing.c: Ditto. * libc/sys/linux/machine/i386/hp-timing.h: Ditto. * libc/sys/linux/sys/linux_time.h: Ditto. * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and replace with <sys/linux_time.h>.
* Delete extraneous comment from my previous change.Conrad Scott2002-06-271-1/+1
|
* * dcrt0.cc (dll_crt0_1): Let __progname point to the applicationsCorinna Vinschen2002-06-272-4/+16
| | | | | basename. Move eliminating ".exe" suffix from argv[0] so that it always also affects __progname.
* * thread.cc (pthread::create): Added trace printf to get CreateThreadChristopher Faylor2002-06-272-1/+9
| | | | LastError.
* * mmap.cc (list::match): Check using pagesize aligned size.Corinna Vinschen2002-06-272-4/+10
|
* * fhandler_disk_file.cc (fhandler_disk_file::fstat_by_name): ForceChristopher Faylor2002-06-272-13/+37
| | | | FindFirstFile on first file of directory when asking for x:\ .
* * cygheap.cc (cygheap_user::set_name): Correct thinko in below change.Christopher Faylor2002-06-273-5/+13
|
* * cygheap.cc (cygheap_user::set_name): Avoid clearing things when just settingChristopher Faylor2002-06-263-3/+18
| | | | | name to itself or during first time initialization. * environ.cc (check_case_init): Make case insensitive.
* * fhandler.h (fhandler_socket::bind): Add method definition.Corinna Vinschen2002-06-264-488/+653
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (fhandler_socket::connect): Ditto. (fhandler_socket::listen): Ditto. (fhandler_socket::accept): Ditto. (fhandler_socket::getsockname): Ditto. (fhandler_socket::getpeername): Ditto. (fhandler_socket::recvfrom): Ditto. (fhandler_socket::recvmsg): Ditto. (fhandler_socket::sendto): Ditto. (fhandler_socket::sendmsg): Ditto. (fhandler_socket::shutdown): Ditto. * fhandler_socket.cc (get_inet_addr): Move here from net.cc. (fhandler_socket::bind): New method. (fhandler_socket::connect): Ditto. (fhandler_socket::listen): Ditto. (fhandler_socket::accept): Ditto. (fhandler_socket::getsockname): Ditto. (fhandler_socket::getpeername): Ditto. (fhandler_socket::recvfrom): Ditto. (fhandler_socket::recvmsg): Ditto. (fhandler_socket::sendto): Ditto. (fhandler_socket::sendmsg): Ditto. (fhandler_socket::shutdown): Ditto. * net.cc: Various formatting cleanups throughout. (get_inet_addr): Move to fhandler_socket.cc. (cygwin_bind): Move base functionality to appropriate fhandler_socket method. (cygwin_connect): Ditto. (cygwin_listen): Ditto. (cygwin_accept): Ditto. (cygwin_getsockname): Ditto. (cygwin_getpeername): Ditto. (cygwin_recvfrom): Ditto. (cygwin_recvmsg): Ditto. (cygwin_sendto): Ditto. (cygwin_sendmsg): Ditto. (cygwin_shutdown): Ditto.
* ld:Joern Rennecke2002-06-262-6/+4
| | | | | | | | | | | | * emulparams/shelf.sh (STACK_ADDR): Don't define. (OTHER_SECTIONS): Define. * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef. (OTHER_SECTIONS): Undef. newlib: * libc/sys/sh/crt0.S: Remove vestigial .section directive. gcc: * config/sh/crt1.asm: remove _stack label definition and sentinel value.
* * pwdgrp.h (pwdgrp_read::~pwdgrp_read): Avoid compiler warning.Corinna Vinschen2002-06-262-1/+6
|
* * dcrt0.cc (_dcrt0): Be more defensive when reserved block is used and it's notChristopher Faylor2002-06-262-2/+9
| | | | cygwin info.
* * autoload (noload): Avoid clobbering bx register.Christopher Faylor2002-06-266-25/+52
| | | | | | | | | | | * environ.cc (codepage_init): Use case insensitive match. * fhandler_console.cc (cp_get_internal): Delete. (con_to_str): Use get_cp to derive code page. (str_to_con): Ditto. * miscfuncs.cc (get_cp): New function. (sys_wcstombs): New function. Converted from macro. (sys_mbstowcs): Ditto. * winsup.h: Reflect above changes.
* * winsup.h: Minor cleanup.Christopher Faylor2002-06-265-12/+30
| | | | | | | | * path.h (path_conv::[]): New operator. * syscalls.cc (_link): Use path_conv operators rather than methods, where appropriate. Minor white space cleanup. * include/cygwin/version.h: Bump DLL minor number. * dcrt0.cc (sm): Make NO_COPY.
* * include/winbase.h (FILE_FLAG_FIRST_PIPE_INSTANCE): Add constant.Conrad Scott2002-06-252-0/+7
|
* 2002-06-26 Casper S. Hornstrup <chorns@users.sourceforge.net>Danny Smith2002-06-253-6/+38
| | | | | | | | | | | | | * include/winbase.h (WINBASEAPI): Don't define if prior definition. * include/winioctl.h (PARTITION_FAT32, PARTITION_FAT32_XINT13, PARTITION_XINT13, PARTITION_XINT13_EXTENDED, PARTITION_LDM, PARTITION_UNIX): Add defines. (PDRIVE_LAYOUT_INFORMATION): Add typedef. (IsRecognizedPartition): Also check for PARTITION_FAT32, PARTITION_FAT32_XINT13 and PARTITION_XINT13. (IsContainerPartition): Add macro.
* 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-253-12/+21
| | | | | | * libc/sys/linux/Makefile.am: Consolidate additional items under ADD_OBJS. * libc/sys/linux/Makefile.in: Regenerated.
* 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-254-17/+39
| | | | | | * libc/sys/linux/sethostname.c: New file. * libc/sys/linux/Makefile.am: Add sethostname.c support. * libc/sys/linux/Makefile.in: Regenerated.
* * syscalls.cc (chown): Convert uid to 32 bit.Corinna Vinschen2002-06-252-3/+11
| | | | | (lchown): Ditto. (fchown): Ditto.
* 2002-06-25 Ken Fitlike <kenfitlike@hotmail.com>Danny Smith2002-06-252-1/+133
| | | | | | | | | | | * include/commctrl.h: (CBEIF_*): Add defines. (CBEN_*): Add defines and UNICODE mappings (WC_COMBOBOXEX[AW]): Add defines and UNICODE mappings. (CBEMAXSTRLEN): Add define. (COMBOBOXEXITEM[AW]): Add structures and typedefs. (NMCOMBOBOXEX[AW]): Add structures and typedefs. (NMCBEDRAGBEGIN[AW]): Add structure and typedefs. (NMCBEENDEDIT[AW]): Add structure and typedefs.
* 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".