summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2002-06-19 Casper S. Hornstrup <chorns@users.sourceforge.net>Danny Smith2002-06-199-31/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * testsuite/lib/passfail.exp (newlib_pass_fail_all): NewThomas Fitzsimmons2002-06-184-26/+48
| | | | | | | | 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.
* Fix formatting of ;; for frv.Dave Brolley2002-06-182-2/+4
|
* 2002-06-18 Dave Brolley <brolley@redhat.com>Dave Brolley2002-06-181-0/+5
| | | | | * configure.in: Add support for frv. * config.sub: Add support for frv.
* 2002-06-18 Dave Brolley <brolley@redhat.com>Dave Brolley2002-06-1812-0/+2596
| | | | | | | | | | | | | 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.
* 2002-06-18 Dave Brolley <brolley@redhat.com>Dave Brolley2002-06-1824-0/+2331
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 2002-06-18 Dave Brolley <brolley@redhat.com>Dave Brolley2002-06-182-0/+6
| | | | | From Catherine Moore: * dis-asm.h (print_insn_frv): New prototype.
* 2002-06-18 Dave Brolley <brolley@redhat.com>Dave Brolley2002-06-183-0/+103
| | | | | | From Catherine Moore, Michael Meissner, Dave Brolley: * common.h (EM_CYGNUS_FRV): New macro. * frv.h: New file.
* 2002-06-18 Dave Brolley <brolley@redhat.com>Dave Brolley2002-06-182-2/+8
| | | | | * configure.in: Add support for frv. * config.sub: Add support for frv.
* * include/tchar.h (_getts): Define as _getws for _UNICODE.Danny Smith2002-06-182-2/+8
| | | | | (_putts): Define as _putws for _UNICODE. Thanks to: Tomasz Pona <cochisek@poczta.onet.pl> for report.
* * libc/include/ctype.h: Remove isblank macro.Thomas Fitzsimmons2002-06-186-11/+64
| | | | | | | * 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.
* 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-184-1/+69
| | | | | | | * 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.
* * include/float.h: #include_next<float.h> before header guard.Danny Smith2002-06-182-2/+6
|
* 2002-06-18 Casper S. Hornstrup <chorns@users.sourceforge.net>Danny Smith2002-06-1812-28/+83
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2002-06-17 Casper S. Hornstrup <chorns@users.sourceforge.net>Danny Smith2002-06-172-0/+12
| | | | | * include/windef.h (_fastcall, __fastcall, FASTCALL): Add defines.
* rewordChristopher Faylor2002-06-161-2/+2
|
* * cygheap.h (cygheap_user::issetuid): New method.Christopher Faylor2002-06-167-26/+51
| | | | | | | | | | | | | * 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'.
* * include/ntdll.h: New file.Egor Duda2002-06-163-0/+21
| | | | * lib/ntdll.def: Add NtShutdownSystem.
* 2002-06-16 Steven Edwards <Steven_Ed4153@yahoo.com>Danny Smith2002-06-163-0/+288
| | | | | * lib/dinput.def (DirectInputCreateEx): Add stub. * lib/ntdll.def: New file.
* Changes suggested by Pierre Humblet.Christopher Faylor2002-06-162-26/+37
| | | | | | | | | | * 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.
* * cygheap.h (cygheap_user::winname): New field.Christopher Faylor2002-06-164-8/+29
| | | | | | | | | * 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().
* * spawn.cc (spawn_guts): Revert removal of ciresrv.moreinfo->uid = ILLEGAL_UID.Christopher Faylor2002-06-162-0/+6
|
* * sim-arm.h (enum sim_arm_regs): Rename sim_arm_regnum.Andrew Cagney2002-06-152-1/+5
|
* * child_info.h (child_proc_info): Declare as base class.Christopher Faylor2002-06-158-46/+71
| | | | | | | | | | | | | | | | | (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.
* * include/_mingw.h: Increment to version 2.1.Earnie Boyd2002-06-153-3/+8
| | | | * Makefile.in: Ditto.
* * Makefile.in (conf_prefix): New variable.Earnie Boyd2002-06-152-1/+14
| | | | | (dist_prefix): Ditto. Conditionally set to $(conf_prefix). (bindist): Use dist_prefix.
* * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.Thomas Fitzsimmons2002-06-152-0/+3
|
* * uinfo.cc (cygheap_user::ontherange): Don't set HOMEDRIVE or HOMEPATH unlessChristopher Faylor2002-06-152-0/+6
| | | | one or the other is specified.
* * cygheap.h (cygheap_user::userprofile_env_buf): New static member.Christopher Faylor2002-06-145-7/+20
| | | | | | | * 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.
* * libc/argz: New directory.Thomas Fitzsimmons2002-06-1431-12/+1274
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * cygheap.h (cygheap_user): Add static members to hold home{drive,path} info.Christopher Faylor2002-06-143-24/+38
| | | | | * uinfo.cc (cygheap_user::ontherange): Use static class members for local HOME* storage.
* * cygheap.cc (cygheap_user::set_logsrv): Remove.Christopher Faylor2002-06-148-265/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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().
* * environ.cc (build_env): If realloc moves envblock, move s with it.Corinna Vinschen2002-06-142-1/+14
|
* * include/w32api.h: Change to version 2.0 to reflect the changeEarnie Boyd2002-06-144-20/+29
| | | | | | | | | 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.
* * Makefile.in (bindist): Correct the MinGW distribution.Earnie Boyd2002-06-142-1/+8
|
* Add pthread callsCorinna Vinschen2002-06-141-9/+9
|
* * passwd.c: Rearrange includes to avoid unnecessary warnings.Corinna Vinschen2002-06-142-15/+50
| | | | | | | | | | | | (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, ...).
* * include/wingdi.h (GetEnhMetaFileBits): Correct typo.Earnie Boyd2002-06-142-2/+6
|
* 2002-06-13 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-135-22/+81
| | | | | | | * 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.
* Fix typo.Jeff Johnston2002-06-131-2/+0
|
* 2002-06-13 Stephen L. Moshier <steve@moshier.net>Jeff Johnston2002-06-133-2/+11
| | | | | | | * 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.
* * include/wingdi.h: (GetEnhMetaFileBits): Define prototype.Earnie Boyd2002-06-132-0/+2
|
* * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):Joern Rennecke2002-06-132-3/+11
| | | | | Fix clobbering bytes before destination if src and dst have same non-zero misalignment.
* fix typoChristopher Faylor2002-06-131-1/+1
|
* * winver.rc: Add more words to copyright.Christopher Faylor2002-06-137-6/+9
|
* * cygheap.cc (cygheap_user::set_name): Revert previous change.Corinna Vinschen2002-06-133-1/+10
| | | | | * environ.cc (spenv::retrieve): Check return value of call to cygheap->user.*from_cygheap().
* * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):Joern Rennecke2002-06-132-2/+9
| | | | Fixed bug in writing end of set region.
* * include/winuser.h (MOUSEHOOKSTRUCT): Define structure.Earnie Boyd2002-06-132-0/+10
|
* * cygheap.cc (cygheap_user::set_name): Remove setting homedrive andCorinna Vinschen2002-06-133-4/+11
| | | | | | | homepath to NULL. (cygheap_user::set_logsrv): Fix free'ing of plogsrv. * cygheap.h (cygheap_user::cygheap_user): Initialize homedrive and homepath to NULL.
* * include/_mingw.h: Increment version to 2.0.Danny Smith2002-06-13120-1177/+6602
| | | | | * Makefile.in: Ditto. Merge in mingwex branch.