summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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
|
* * configure.in: Remove references to librx.DJ Delorie2002-06-193-23/+12
| | | | * Makefile.in: Remove references to librx.
* 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-1916-19/+1009
| | | | | | | | | | | | | | | | | | | | * 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.
* * configure.in: Eliminate ${gasdir} variable.DJ Delorie2002-06-192-2/+5
|
* * libm/common/sf_lround.c (round): Change name to: (lround).Thomas Fitzsimmons2002-06-193-4/+10
| | | | | * libm/common/sf_remquo.c (remquo): Pass all arguemnts to remquof.
* Use hMainProc where appropriate, throughout.Christopher Faylor2002-06-199-86/+112
| | | | | | | * 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.
* * uinfo.cc (cygheap_user::ontherange): Call NetUserGetInfo() only withCorinna Vinschen2002-06-192-23/+24
| | | | non-NULL logserver parameter.
* 2002-06-19 Casper S. Hornstrup <chorns@users.sourceforge.net>Danny Smith2002-06-192-26/+97
| | | | | | | | | | | | | | | | | * 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
* * cygpath.cc (usage): Clean up usage output.Christopher Faylor2002-06-192-45/+55
| | | | (dowin): Correct output of -t mixed for -ADHPSW options.
* 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.