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-07-05* ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*.Alexandre Oliva
2002-07-052002-07-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/utime.h: Add include of <_ansi.h>. * libc/sys/linux/Makefile.am: Add utimes.c. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/inode.c(__umask): New static routine. (umask): Written to use __umask and attempt to thread lock. (getumask): New function written to use __umask and thread lock. * libc/sys/linux/utimes.c: New file. * libc/sys/linux/sys/time.h: Fix utimes prototype. * libc/sys/linux/sys/utime.h: New file.
2002-07-05 * Remove files (should have been done on 2002-06-20).Thomas Fitzsimmons
2002-07-05 * process.c: Add comment.Thomas Fitzsimmons
2002-07-04 * libtool.m4: New file.Thomas Fitzsimmons
* libc/sys/linux/process.c: Implement vfork in terms of fork, rather than as a syscall.
2002-07-042002-07-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/stdio.h: Add new prototypes. * libc/stdio/Makefile.am: Add fseeko.c and ftello.c. * libc/stdio/Makefile.in: Regenerated. * libc/stdio/fseek.c: Add fseeko documentation. * libc/stdio/ftell.c: Add ftello documentation. * libc/stdio/fseeko.c: New file. * libc/stdio/ftello.c: New file.
2002-07-042002-07-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c. * libc/stdio/Makefile.in: Regenerated. * libc/stdio/asprintf.c: New file. * libc/stdio/vasprintf.c: Ditto. * libc/stdio/fvwrite.c: Add code to dynamically reallocate the buffer for asprintf support. * libc/stdio/sprintf.c: Add asprintf documentation. * libc/stdio/vfprintf.c: Add vasprintf documentation. * libc/include/stdio.h: Add new prototypes.
2002-07-04 * fhandler_socket.cc (fhandler_socket::set_sun_path): Don't freeCorinna Vinschen
memory here. Allow NULL parameter.
2002-07-04 * fhandler_socket.cc (fhandler_socket::dup): Add missing copy operationCorinna Vinschen
on sun_path.
2002-07-04* winsup.api/pthread/cancel1.c: New test. Port from pthreads-win32Egor Duda
project. * winsup.api/pthread/cancel2.c: Ditto. * winsup.api/pthread/cancel3.c: Ditto. * winsup.api/pthread/cancel4.c: Ditto. * winsup.api/pthread/cancel5.c: Ditto.
2002-07-042002-06-25 Thomas Pfaff <tpfaff@gmx.net>Robert Collins
* include/pthread.h (PTHREAD_CANCELED): Defined a reasonable value. * pthread.cc (pthread_exit): Call method instead of function. (pthread_setcancelstate): Ditto. (pthread_setcanceltype): Ditto. (pthread_testcancel): Ditto. * thread.h (pthread::cancel_event): New member. (__pthread_cancel_self): New prototype. (pthread::exit): New Method. (pthread::cancel): Ditto. (pthread::testcancel): Ditto. (pthread::cancel_self): Ditto. (pthread::static_cancel_self): Ditto. (pthread::setcancelstate): Ditto. (pthread::setcanceltype): Ditto. (__pthread_cancel): Give c++ linkage. (__pthread_exit): Remove. (__pthread_setcancelstate): Ditto. (__pthread_setcanceltype): Ditto. (__pthread_testcancel): Ditto. * thread.cc (pthread::pthread): Inititialize cancel_event. (pthread::~pthread): Close cancel_event if needed. (pthread::create): Create cancel_event. (pthread::exit): New method. Replacement for __pthread_exit. (pthread::cancel): New method. (pthread::testcancel): Ditto. (pthread::static_cancel_self); New static method. (pthread::setcancelstate): New method. Replacement for __pthread_setcancelstate. (pthread::setcanceltype): New method. Replacement for __pthread_setcanceltype. (pthread::pop_cleanup_handler): Added lock for async cancel safe cancellation. (pthread::thread_init_wrapper): Change __pthread_exit to thread->exit(). (__pthread_cancel): Call method thread->cancel(). (__pthread_exit): Remove. (__pthread_setcancelstate): Ditto. (__pthread_setcanceltype): Ditto. (__pthread_testcancel): Ditto.
2002-07-04 Let RPC API work with or without windows.h.Danny Smith
* include/rpc.h: Conditionally include <windows.h> before header guard. * include/wtypes.h: Include <rpc.h> and <rpcndr.h> before header guard.
2002-07-04* Makefile.in: Eliminate unneeded Makefile recreation rule.Christopher Faylor
2002-07-04* configure.in: Make --without-x work.DJ Delorie
2002-07-04* include/cygwin/version.h: Bump DLL minor number.Christopher Faylor
2002-07-04* include/sys/statfs.h: New header file.Christopher Faylor
2002-07-03* dtable.cc (cygwin_attach_handle_to_fd): Default to implicit bin mode if noneChristopher Faylor
specified. * fhandler.cc (fhandler_base::init): Make bin argument a guarantee rather than a suggestion. * path.cc (path_conv::check): Load flag returned from cygwin_conv_to_win32_path into path_flags.
2002-07-03 * tty.cc (tty::common_init): Reverse logic of cygserver check inConrad Scott
call to SetKernelObjectSecurity.
2002-07-03 New directory. Created to contain a copy of the texi2pod.pl script so thatNick Clifton
it is in the same place as the version in the FSF GCC sources.
2002-07-03 * autoload.cc (WSAEventSelect): Define new autoload function.Corinna Vinschen
(WSAEnumNetworkEvents): Ditto. * fhandler_socket.cc (fhandler_socket::accept): If socket is in blocking mode wait for incoming connection and signal.
2002-07-03* configure.in: Rearrange target Makefile fragment collection.DJ Delorie
2002-07-03* cygheap.cc (init_cheap): Rearrange error message.Christopher Faylor
(cygheap_fixup_in_child): Ditto. * dtable.cc: Remove if 0'ed code. * fhandler_dsp.cc (fhandler_dev_dsp::open): Force binmode. * sec_helper.cc (cygsid::get_id): Use system_printf for error message. * tty.cc (tty::common_init): Ditto.
2002-07-03 * libc/search/hcreate.c: Remove advertising clause from license.Thomas Fitzsimmons
* libc/search/hcreate_r.c: Likewise.
2002-07-03* net.cc (cygwin_getpeername): Defend against NULL pointer dereference.Christopher Faylor
2002-07-02* Makefile.in: Don't try to build gdbtest, tgas, ispell, inet, orDJ Delorie
cvs[src]. * configure.in: Ditto.
2002-07-022002-07-02 Chris Demetriou <cgd@broadcom.com>Jeff Johnston
* libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN) (__IEEE_BIG_ENDIAN): Define appropriately for MIPS. Check that one of them is defined and error out if not. Add any platforms defined in <machine/ieeefp.h> that are missing. * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN) (DB_LITTLE_ENDIAN): New defines. * libc/search/hash.c: Replace all incorrect checks for _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions. * libc/search/hash_page.c: Likewise.
2002-07-02 * mkgroup.c: Add function pointers for functions from advapi32.dll.Corinna Vinschen
(load_netapi): Load used functions from advapi32.dll. (main): Use function pointers instead of statically linked functions from advapi32.dll.
2002-07-02 * include/cygwin/version.h: Bump API minor version.Corinna Vinschen
2002-07-02 * security.cc (get_logon_server): Interpret a zero lengthCorinna Vinschen
domain as the local domain. (get_group_sidlist): Add authenticated users SID to SYSTEM's group list instead of SYSTEM itself. (verify_token): Accept the primary group sid if it equals the token user sid.
2002-07-02 * cygwin.din (__fpclassifyd): Add symbol.Corinna Vinschen
(__fpclassifyf): Ditto. (__signbitd): Ditto. (__signbitf): Ditto.
2002-07-02 * security.h (DONT_INHERIT): Eliminate definition.Corinna Vinschen
(INHERIT_ALL): Ditto. (INHERIT_ONLY): Ditto. * sec_acl.cc: Use appropriate defines from accctrl.h instead of the above throughout. * security.cc: Ditto.
2002-07-022002-07-02 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith
* include/commctrl.h (WC_*): Remove some duplicate defines. 2002-07-02 Ken Fitlike <kenfitlike@hotmail.com> * include/commctrl.h (WC_IPADDRESS[AW]): Add defines and UNICODE mappings. (IPM*): Add defines. (IPN_*): Add defines. (NMIPADDRESS): Add structure and typedefs. (MAKEIPADDRESS): Add macro. (MAKEIPRANGE): Add macro. (FIRST_IPADDRESS): Add macro. (SECOND_IPADDRESS): Add macro. (THIRD_IPADDRESS): Add macro. (FOURTH_IPADDRESS): Add macro.
2002-07-02* syscalls.c (seteuid32): Return immediately if the program is not impersonatedChristopher Faylor
and both uid and gid are original. (setegid32): Return immediately if the new gid is the current egid.
2002-07-02* syscalls.cc (seteuid32): Fix incorrect placement of Pierre's patch below.Christopher Faylor
2002-07-02* syscalls.cc (seteuid32): Fix incorrect use of system_printf.Christopher Faylor
2002-07-02* autoload.cc (GetSecurityInfo): Define new autoload function.Christopher Faylor
(RegQueryInfoKeyA): Ditto. * fhandler.h (fhandler_virtual::fill_filebuf): Change return type to bool. (fhandler_proc::fill_filebuf): Ditto. (fhandler_registry::fill_filebuf): Ditto. (fhandler_process::fill_filebuf): Ditto. (fhandler_registry::value_name): Add new member. (fhandler_registry::close): Add new method. (fhandler_process::p): Remove member. * fhandler_proc.cc (fhandler_proc::open): Add set_nohandle after calling superclass method. Check return value of fill_filebuf. (fhandler_proc::fill_filebuf): Change return type to bool. Add return statement. * fhandler_process.cc (fhandler_process::open): Add set_nohandle after calling superclass method. Remove references to p. Check return value of fill_filebuf. (fhandler_process::fill_filebuf): Change return type to bool. Don't use dereference operator on p. Add return statement. (fhandler_process::format_process_stat): Fix typo. * fhandler_registry.cc: Add static open_key declaration. (fhandler_registry::exists): Assume path is already normalised. Try opening the path as a key in its own right first, before reverting to enumerating subkeys and values of the parent key. (fhandler_registry::fstat): Add additional code to return more relevant information about the registry key/value. (fhandler_registry::readdir): Explicitly set desired access when opening registry key. Remove output of buf from debug_printf format string. (fhandler_registry::open): Use set_io_handle to store registry key handle. Set value_name member. Move code to read a value from the registry to fill_filebuf. Add call to fill_filebuf. (fhandler_registry::close): New method. (fhandler_registry::fill_filebuf): Change return type to bool. Add code to read a value from registry. (fhandler_registry::open_key): Make function static. Use KEY_READ as desired access unless this is the last path component. Check the return value of RegOpenKeyEx for an error instead of hKey. * fhandler_virtual.cc (fhandler_virtual::lseek): Check the return value of fill_filebuf. (fhandler_virtual::open): Remove call to set_nohandle. (fhandler_virtual::fill_filebuf): Change return type to bool. Add return statement. * security.cc (get_nt_object_attribute): New function. (get_object_attribute): New function. * security.h (get_object_attribute): New function declaration.
2002-07-02typo fixAlan Modra
2002-07-02* syscalls.c (seteuid32): Do not return an error when the token cannot beChristopher Faylor
created only because of a problem with the gid.
2002-07-02Remove redundant entry.DJ Delorie
2002-07-02merge from gcc:DJ Delorie
2002-07-01 Nathanael Nerode <neroden@gcc.gnu.org> * Makefile.in: Eliminate 'apache' targets. * configure.in: Eliminate 'apache' targets. * configure.in: Eliminate redundant tests. Reorganize. * Makefile.in: Eliminate last reference to LIBGCC1_TEST. * config-ml.in: Eliminate references to Cygnus configure. * Makefile.in: Eliminate references to building emacs. 2002-07-01 Denis Chertykov <denisc@overta.ru> * configure.in: Add support for ip2k.
2002-07-02* mount.cc (main): Ensure that mount_already_exists() also gets default flagChristopher Faylor
that is passed to do_mount. * cygpath.cc (long_options): Add "dos" and "mixed", correct "close", "file" and "type" to use NULL flag. (usage): Clean up usage output (more), accomodate new options. (main): Add --dos and --mixed options; accomodate all output forms in --type. Make UNIXy output default.
2002-07-01* fhandler_clipboard.c (fhandler_dev_clipboard::open): Force text mode.Christopher Faylor
* fhandler_console.cc (fhandler_console::open): *Really* force binary mode rather than make it optional. * fhandler_proc.cc (fhandler_proc::open): Ditto. * fhandler_process.cc (fhandler_process::open): Ditto. * fhandler_random.cc (fhandler_dev_random::fhandler_dev_random): Ditto. * fhandler_raw.cc (fhandler_dev_raw::open): Ditto. * fhandler_registry.cc (fhandler_registry::open): Ditto. * fhandler_tty.cc (fhandler_tty_slave::open): Ditto. * fhandler_virtual.cc (fhandler_virtual::open): Ditto. * fhandler_windows.cc (fhandler_windows::open): Ditto. * fhandler_zero.cc (fhandler_dev_zero::open): Ditto. * net.cc (fdsock): Ditto. * path.cc (set_flags): Add more debugging.
2002-07-01include/elf:Jason Thorpe
2002-07-01 Matt Thomas <matt@3am-software.com> * Rename EF_* to EF_VAX_*. bfd: 2002-07-01 Matt Thomas <matt@3am-software.com> * elf32-vax.c (elf32_vax_print_private_bfd_data): Change EF_* to EF_VAX_*. binutils: 2002-07-01 Matt Thomas <matt@3am-software.com> * readelf.c: Include "elf/vax.h". (guess_is_rela): Move EM_VAX from unknown to RELA case. (dump_relocations): Handle VAX relocations. (get_machine_flags): Handle VAX machine flags.
2002-07-01* debug.cc (threads): Avoid initialization.Christopher Faylor
* uinfo.cc (cygheap_user::ontherange): (from Corinna Vinschen) Actually make below changes work.
2002-07-01* uinfo.cc (cygheap_user::ontherange): Make cygwin root the last resort forChristopher Faylor
HOMEPATH/HOMEDRIVE for consistency with HOME.
2002-07-01 * shared.cc (sec_none): Move to sec_helper.cc.Corinna Vinschen
(sec_none_nih): Ditto. (sec_all): Ditto. (sec_all_nih): Ditto. (get_null_sd): Ditto. (sec_acl): Ditto. (__sec_user): Ditto. * sec_helper.cc (sec_none): Move from shared.cc to here. (sec_none_nih): Ditto. (sec_all): Ditto. (sec_all_nih): Ditto. (get_null_sd): Ditto. (sec_acl): Ditto. (__sec_user): Ditto.
2002-07-01 * bfdlink.h (struct bfd_sym_chain): Declare.Alan Modra
(struct bfd_link_info): Add gc_sym_list. Formatting fixes.
2002-07-01* uinfo.cc (cygheap_user::ontherange): Potentially set HOME from existingChristopher Faylor
homepath and homedrive cygheap_user fields (not currently used yet). Set HOME to / if no other alternative. (cygheap_user::test_uid): Simplify.
2002-07-01white spaceChristopher Faylor
2002-07-01* environ.cc (parse_options): Use setenv to potentially replace CYGWIN value onChristopher Faylor
export. Fixes broken behavior since November 2000 changes. (regopt): Return indication of whether or not something has been parsed from the registry. (environ_init): Only attempt to export CYGWIN variable when values were set from the registry. It is exported automatically otherwise.