Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-05-09 * acinclude.m4: Add support for --enable-newlib-multithread.Thomas Fitzsimmons
* configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if --enable-newlib-multithread=no.
2002-05-08 * libc/stdio/getc_u.c: New file.Thomas Fitzsimmons
* libc/stdio/getchar_u.c: New file. * libc/stdio/putc_u.c: New file. * libc/stdio/putchar_u.c: New file. * libc/include/stdio.h: Add declarations for getc_unlocked, getchar_unlocked, putc_unlocked and putchar_unlocked. * libc/stdio/Makefile.am (LIB_SOURCES): Add new files. (CHEWOUT_FILES): Add new files' .def's. * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
2002-05-08 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):Joern Rennecke
Also handle as single quad word when destination ends at last byte of first quad word. Fix byte selection in single quad code.
2002-05-08* common.h (NT_GNU_ABI_TAG): Define.Jason Thorpe
(GNU_ABI_TAG_LINUX): Define. (GNU_ABI_TAG_HURD): Define. (GNU_ABI_TAG_SOLARIS): Define. (NT_NETBSD_IDENT): Define. (NT_FREEBSD_ABI_TAG): Define.
2002-05-08 * cygheap.h (class cygheap_user): Add member `orig_psid'.Corinna Vinschen
Add method `orig_sid()'. * cygheap.cc (cygheap_user::set_sid): Maintain orig_psid.
2002-05-08* dumper.cc (usage) Standardize usage output. Generalize to allow use forChristopher Faylor
help. (longopts) New struct. Added longopts for all options. (print_version) New function. (main) Change getopt to getopt_long. Accommodate new help and version options.
2002-05-08 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vectorThomas Fitzsimmons
support for 'p' format. Fix code to print bytes for vector integer formats that do not specify 'h' or 'l'. * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support for 'p' specifier. Fix code to scan 16 bytes for vector integer formats that do not specify 'h' or 'l'.
2002-05-08 * libc/include/sys/stdio.h: New file.Thomas Fitzsimmons
* libc/sys/linux/sys/stdio.h: New file. * libc/include/stdio.h: Add declarations for flockfile, ftrylockfile, and funlockfile. Include <sys/stdio.h>. * libc/stdio/clearerr.c: Add file locking. * libc/stdio/fclose.c: Likewise. * libc/stdio/feof.c: Likewise. * libc/stdio/ferror.c: Likewise. * libc/stdio/fflush.c: Likewise. * libc/stdio/fgetc.c: Likewise. * libc/stdio/fgetpos.c: Likewise. * libc/stdio/fgets.c: Likewise. * libc/stdio/fileno.c: Likewise. * libc/stdio/fputc.c: Likewise. * libc/stdio/fputs.c: Likewise. * libc/stdio/fread.c: Likewise. * libc/stdio/freopen.c: Likewise. * libc/stdio/fseek.c: Likewise. * libc/stdio/ftell.c: Likewise. * libc/stdio/fwrite.c: Likewise. * libc/stdio/getc.c: Likewise. * libc/stdio/putc.c: Likewise. * libc/stdio/setvbuf.c: Likewise. * libc/stdio/ungetc.c: Likewise. * libc/stdio/vfprintf.c: Likewise.
2002-05-08 * include/commctrl.h (ImageList_DragShowNolock): RemoveDanny Smith
conflicting redeclaration.
2002-05-072002-05-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* COPYING.LIBGLOSS: New file.
2002-05-07Honour DESTDIRNick Clifton
2002-05-07 * localtime.cc (tzsetwall): Use wildabbr if generated timezone nameCorinna Vinschen
length < 3.
2002-05-07 * include/windows.h: Move _ANONYMOUS_UNION, _ANONYMOUS_STRUCT,Danny Smith
STRICT and related defines to ... * include/windef.h: Here. ChangeLog: Correct date and typo in last entry.
2002-05-072002-05-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
2002-05-07 * libc/sys/arm/syscalls.c (_rename): Add parameter names.Thomas Fitzsimmons
(_sbrk): Add cast of return value.
2002-05-072002-05-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/sys/reent.h (_l64a_buf): New reentrant area. (_REENT_L64A_BUF): New macro for accessing area. * libc/stdlib/Makefile.am: Add a64l.c and l64a.c. * libc/stdlib/Makefile.in: Regenerated. * libc/stdlib/a64l.c: New file. * libc/stdlib/l64a.c: New file.
2002-05-072002-05-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/unix/pread.c: Fix typo for _pread_r. * libc/unix/pwrite.c: Fix type for _pwrite_r. * libc/sys/linux/pread64.c: Fix typo for read syscall. * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
2002-05-06 * spawn.cc (spawn_guts): Move call to set_process_privilege()Corinna Vinschen
to load_registry_hive(). * registry.cc (load_registry_hive): ditto. * fork.cc (fork_parent): Call sec_user_nih() only once.
2002-05-05* configure.in (noconfigdirs): Don't disable libgcj onAlexandre Oliva
sparc64-*-solaris* and sparcv9-*-solaris*.
2002-05-04* path.h (path_conv::path_conv): Initialise normalized_path to NULL.Christopher Faylor
2002-05-04.Christopher Faylor
2002-05-04* net.cc (getdomainname): Change second argument of getdomainname to size_t.Christopher Faylor
* fhandler_proc.cc (proc_listing): Add '.' and '..' to directory listing. (fhandler_proc::open): Change use of mode to flags. If the file does not exist already, fail with EROFS if O_CREAT flag is set. Change EROFS error to EACCES error when writing to a file. Use cmalloc to allocate memory for filebuf. (fhandler_proc::close): Use cfree to free filebuf. (fhandler_proc::get_proc_fhandler): Properly detect attempts to access unknown subdir. * fhandler_process.cc (process_listing): Add '.' and '..' to directory listing. (fhandler_process::open): Use cmalloc to allocate memory for filebuf. (fhandler_process::close): Use cfree to free filebuf. * fhandler_registry.cc (registry_listing): Add . and '..' to directory listing. (fhandler_registry::open): Move check for open for writing before open_key. Use cmalloc to allocate memory for filebuf. (fhandler_registry::close): Use cfree to free filebuf. (fhandler_registry::telldir): Use lower 16 bits of __d_position as position in directory. (fhandler_registry::seekdir): Ditto. * fhandler_virtual.cc (fhandler_virtual::write): Change EROFS error to EACCES error. (fhandler_virtual::open): Set the NOHANDLE flag. (fhandler_virtual::dup): Add call to fhandler_base::dup. Allocate child's filebuf using cmalloc. Copy filebuf from parent to child. (fhandler_virtual::close): Use cfree to free filebuf. (fhandler_virtual::~fhandler_virtual): Ditto. (from Chris Faylor <cgf@redhat.com>). (fhandler_registry::readdir): Add support for '.' and '..' files in subdirectories of /proc/registry. * path.cc (path_conv::check): Do not return ENOENT if a file is not found in /proc.
2002-05-04* libc/include/sys/unistd.h: Define getdomainname under cygwin.Christopher Faylor
2002-05-03* configure.in: Revert 2002-04-18's patch; fixed in libjava.Alexandre Oliva
2002-05-03 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.Thomas Fitzsimmons
2002-05-03 * configure.in (FLAGS_FOR_TARGET): Do not addThomas Fitzsimmons
-B$$r/$(TARGET_SUBDIR)/newlib/ when compiling newlib natively on i[3456]86-*-linux*.
2002-05-03 * include/winsock2.h (int32): Remove typedef.Danny Smith
(SEVICETYPE): Add typedef. (struct _flowspec):Revise struct definition, Comment on types used for members.
2002-05-03* fhandler_proc.cc (fhandler_proc::fstat): Use fhandler name rather thanChristopher Faylor
path_conv name. (fhandler_proc::open): Ditto. * fhandler_process.cc (fhandler_process::fstat): Use fhandler name rather than path_conv name. (fhandler_process::open): Ditto. * fhandler_registry.cc (fhandler_registry::fstat): Use fhandler name rather than path_conv name. (fhandler_registry::open): Ditto. * path.cc (path_conv::check): Don't copy posix path when virtual. (mount_info::conv_to_win32_path): Don't zero string when isproc. Just derive normal windows path. * path.h (path_conv::clear_normalized_path): Declare new method. * path.cc (path_conv::clear_normalized_path): Define new method. * dtable.cc (build_fhandler_from_name): Clear normalized path when finished to conserve space.
2002-05-03* fhandler_proc.cc (fhandler_proc::fstat): Prime with information fromChristopher Faylor
fhandler_base::fstat. Use defines rather than constants for permission settings.
2002-05-02 * path.cc (hash_path_name): Improve hash function strength.Corinna Vinschen
2002-05-02missed a conflict indicatorRobert Collins
2002-05-022002-05-02 Robert Collins <rbtcollins@hotmail.com>Robert Collins
* thread.cc (__pthread_cond_dowait): Fix a race on signalling from a thread woken by the same condition variable it's signalling on. Thanks to Michael Beach for the report and test case.
2002-05-02 * include/winnt.h (EVENT_*, SEMAPHORE_*, MUTEX_*): RemoveDanny Smith
more defines added in earlier 2002-05-02 change. * lib/Makefile.in (TEST_OPTIONS): Add -Wsystem-headers flag.
2002-05-02 * include/winnt.h (THREAD_PRIORITY_*): Remove defines.Danny Smith
Add TIMER_* to last ChangeLog entry.
2002-05-02add new filesChristopher Faylor
2002-05-02add commentChristopher Faylor
2002-05-02* path.h (pathconv_arg): Add PC_POSIX.Christopher Faylor
(path_conv): Add normalized_path field. * path.cc (path_conv::~path_conv): New destructor. (path_conv::check): Set normalized_path, where appropriate. * dtable.cc (build_fhandler_from_name): Use normalized path from path_conv. * syscalls.cc (chroot): Ditto. * cygheap.h: Remove path_prefix_p declaration. Christopher Faylor <cgf@redhat.com> (minor fixups) * Makefile.in: Add fhandler_proc.o, fhandler_registry.o, fhandler_process.o and fhandler_virtual.o. * dtable.cc (dtable::build_fhandler): Add entries for FH_PROC, FH_REGISTRY and FH_PROCESS. Set unix_name to the normalized posix path. * fhandler.h: Add constants for FH_PROC, FH_REGISTRY and FH_PROCESS. Add class declarations for fhandler_virtual, fhandler_proc, fhandler_registry and fhandler_virtual. Update fhandler_union accordingly. * fhandler_proc.cc: New file. Add implementation for fhandler_proc. * fhandler_virtual.cc: New file. Add implementation for fhandler_virtual. * fhandler_process.cc: New file. Add implementation for fhandler_process. * fhandler_registry.cc: New file. Add implementation for fhandler_registry. * path.cc: Add isproc and isvirtual_dev macros. * path.cc (path_conv::check): Add check for virtual devices. * path.cc (mount_info::conv_to_win32_path): Convert paths in /proc to empty Win32 paths. * path.cc (chdir): Replace check for FH_CYGDRIVE with more generic isvirtual_dev macro. Force setting of posix path for virtual fhandlers. * path.h: Add externally visible path_prefix_p and normalized_posix_path prototypes.
2002-05-02 * include/winnt.h (THREAD_*, EVENT_*, MUTANT_*,Danny Smith
SEMAPHORE_*, MUTEX_*): Add new defines.
2002-05-02* utmp.h: Define more UNIX constants.Christopher Faylor
2002-05-02 * configure.in (noconfigdirs): Replace [ ] with test.Thomas Fitzsimmons
2002-05-02 * configure.in (noconfigdirs): Do not add target-newlib ifThomas Fitzsimmons
target == i[3456]86-*-linux*, and host == target.
2002-05-02* include/cygwin/types.h: Include <sys/sysmacros.h>.Christopher Faylor
2002-05-02 * Makefile.am: Add support for checking multilibs.Thomas Fitzsimmons
2002-05-01 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.Thomas Fitzsimmons
(SUBDEFS): Add LIBC_EXTRA_DEF. * libc/configure.in (LIBC_EXTRA_LIB): New variable. (LIBC_EXTRA_DEF): Likewise. (extra_dir): Likewise. * libc/machine/xscale/machine: New directory. * libc/machine/xscale/machine/profile.h: New file. * Makefile.am (site.exp): Remove newlib_cflags. Add multibuildtop. * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's. * testsuite/lib/flags.exp: New file. * testsuite/lib/newlib.exp: Load flags.exp. (newlib_target_compile): Remove libgloss directory references. (newlib_init): Remove newlib_cflags references.
2002-05-01 * Add flags.exp.Thomas Fitzsimmons
2002-05-01 * Makefile.am (site.exp): Remove newlib_cflags. AddThomas Fitzsimmons
multibuildtop. * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's. * testsuite/lib/flags.exp: New file. * testsuite/lib/newlib.exp: Load flags.exp. (newlib_target_compile): Remove libgloss directory references. (newlib_init): Remove newlib_cflags references.
2002-05-01 * include/commctrl.h (SNDMSG): Define and use throughoutDanny Smith
in other macros instead of SendMessage. * include/commdlg.h (SNDMSG): Ditto.
2002-05-01 * testsuite/lib/newlib.exp (newlib_target_compile): ChangeThomas Fitzsimmons
method of finding libgloss_target_dir.
2002-05-01 * Makefile.am (site.exp): Change host_alias, host_triplet,Thomas Fitzsimmons
target_alias, target_triplet to refer to gcc's host and target variables (newlib's build and host variables). * testsuite/lib/newlib.exp (newlib_init): Change build references to host references, host references to target references to reflect Makefile.am changes. (newlib_target_compile): Likewise. (newlib_finish): Likewise.
2002-04-30 * Various formatting and whitespace changes.Thomas Fitzsimmons