summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-063-11/+119
| | | | | | | | | | Artem B. Bityuckiy <mail_lists@mail.ru> * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for %ls, %S, %lc, and %C format specifiers. (get_arg): Ditto. * libc/stdio/sprintf.c: Add documentation regarding new format specifiers added in vfprintf.c.
* 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-11-062-16/+29
| | | | | * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes to make code work as specified in standard.
* * fhandler_disk_file.cc (fhandler_disk_file::opendir): Detect attempt to open aChristopher Faylor2003-11-052-2/+12
| | | | directory which lacks read privileges.
* Entry "Where is the su command?" -> "Why doesn't su work?"David Starks-Browning2003-11-041-6/+9
|
* * external.cc (cygwin_internal): Add CW_GET_POSIX_SECURITY_ATTRIBUTECorinna Vinschen2003-11-046-16/+42
| | | | | | | | | | handling. * include/cygwin/version.h: Bump API minor number. * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GET_POSIX_SECURITY_ATTRIBUTE. * exceptions.cc (init_global_security): Move from here... * sec_helper.cc (init_global_security): ...to here.
* * net.cc (dup_ent): Use IsBadStringPtr for alignment checks. Don't use a knownChristopher Faylor2003-11-042-5/+9
| | | | bad pointer.
* * passwd.c (PrintPW): Turn around meaning printed for "Password notCorinna Vinschen2003-11-042-11/+22
| | | | | | required" option to be in line with Windows meaning. (main): Use more appropriate 1008 option when calling NetUserSetInfo to change flag values.
* * passwd.c (UF_LOCKOUT): Remove (defined in lmaccess.h).Corinna Vinschen2003-11-042-35/+134
| | | | | | | | | | | | | | | (version): Bump version number to 1.5. (longopts): Add -c, -C, -e, -E, -p, -P options. (opts): Ditto. (PrintPW): Print values of UF_PASSWD_CANT_CHANGE and UF_DONT_EXPIRE_PASSWD flags. Slightly reformat output. Don't suppress correct system password settings just because the account has admin privileges. (usage): Define as "noreturn" function. Restructure and rephrase output. Accomodate new options. (print_version): Fix copyright dates. (main): Accomodate new options for setting UF_PASSWD_CANT_CHANGE, UF_DONT_EXPIRE_PASSWD and UF_PASSWD_NOTREQD settings.
* * net.cc (dup_ent): Move Win 95 misalignment recogition beforeCorinna Vinschen2003-11-032-10/+20
| | | | trying to evaluate string length.
* * sim-frv.h: New file.Kevin Buettner2003-11-012-0/+57
|
* * thread.cc (pthread::thread_init_wrapper): Initialize exception handling.Thomas Pfaff2003-10-312-0/+13
|
* Rename pthread::running to pthread::valid throughout.Thomas Pfaff2003-10-313-7/+46
| | | | | | | | | * thread.h: (pthread::suspend_all_except_self): New static method. (pthread::resume_all): Ditto. (pthread::suspend_except_self): New method. (pthread::resume): Ditto. * thread.cc (pthread::suspend_except_self): Implement. (pthread::resume): Ditto.
* * include/stdint.h: Prevent signed->unsigned conversion for 32 andCorinna Vinschen2003-10-292-13/+18
| | | | 64 bit min value constants.
* * path.cc (dot_special_chars): New global variable.Christopher Faylor2003-10-292-2/+22
| | | | | | (special_name): Make files ending in "." special. (fnunmunge): Allow encoded ".". (mount_item::fnmunge): Handle trailing ".".
* * include/stdint.h: Duplicate below effort for rest of *64_*.Christopher Faylor2003-10-282-5/+9
|
* * include/stdint.h: Correctly define INT64_MAX.Christopher Faylor2003-10-282-1/+5
|
* * include/math.h: Guard ISO C99 additions with __cplusplusDanny Smith2003-10-272-1/+6
| | | | not __GLIBCPP__.
* * thread.h (fast_mutex::init): Initialize lock_counter.Thomas Pfaff2003-10-272-0/+5
|
* 2003-10-27 Bernardo Innocenti <bernie@develer.com>Jeff Johnston2003-10-274-16/+93
| | | | | | | | * m68k/asm.h: Add macros for -fPIC, -msep-data and -mid-shared-library support. * m68k/crt0.S: Use macros for -fPIC, -msep-data and -mid-shared-library support. * m68k/sim-crt0.S: Likewise.
* * Makefile.in (OBSOLETE_FUNCTION): Add tmpfile.Corinna Vinschen2003-10-274-2/+12
| | | | | | (NEW_FUNCTIONS): Add _tmpfile64 -> tmpfile translation. * cygwin.din: Export _tmpfile64 * include/cygwin/version.h: Bump api minor number.
* * cygwin.din: Add sem_close, sem_getvalue, sem_open and sem_timedwait.Corinna Vinschen2003-10-277-19/+297
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * pthread.cc (+mangle_sem_name): New function. (sem_open): Ditto. (sem_close: Ditto. (sem_timedwait): Ditto. (sem_getvalue): Ditto. * thread.cc (semaphore::semaphore): Rearrange member initialization. Use appropriate security attribute for process shared semaphores. (semaphore::semaphore): New constructor for named semaphores. (semaphore::~semaphore): Care for semaphore name. (semaphore::_post): Accomodate failing ReleaseSemaphore. Use value returned by ReleaseSemaphore vor currentvalue. (semaphore::_getvalue): New method. (semaphore::_timedwait): Ditto. (semaphore::_fixup_after_fork): Rearrange. Don't fail for process shared semaphores. (semaphore::open): New method. (semaphore::timedwait): Ditto. (semaphore::post): Fix return value. Set errno appropriately. (semaphore::getvalue): New method. * thread.h (class semaphore): Add prototypes for open, getvalue, timedwait, _getvalue, _timedwait. Add prototypes for new constructor. Add name member. * include/semaphore.h: Add prototypes for sem_open, sem_close, sem_timedwait and sem_getvalue. include/cygwin/version.h: Bump API minor number.
* * miscfunc.cc (__check_invalid_read_ptr): New function.Corinna Vinschen2003-10-273-0/+14
| | | | * winsup.h: Declare.
* * security.h (cygpsid::debug_print): Avoid compiler warnings.Corinna Vinschen2003-10-262-1/+5
|
* Remove file that was supposed to have disappeared a month ago.Christopher Faylor2003-10-262-569/+0
|
* * path.cc (normalize_posix_path): Test runs of more than twoCorinna Vinschen2003-10-252-1/+13
| | | | dots for being a run of only dots. Let it pass if not.
* * fhandler.cc (fhandler_base::ioctl): Handle FIONBIO.Corinna Vinschen2003-10-252-6/+19
|
* Rename native_mutex to fast_mutex throughout.Thomas Pfaff2003-10-243-98/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename pthread_key::save_key_to_buffer to pthread_key::_fixup_before_fork throughout. Rename pthread_key::recreate_key_from_buffer to pthread_key::_fixup_after_fork throughout. * thread.cc (native_mutex::init): Remove. (native_mutex::lock): Ditto. (native_mutex::unlock): Ditto. (pthread::push_cleanup_handler): InterlockedExchangePointer is not needed here. (pthread_rwlock::pthread_rwlock): Initialize readers list mutex. (pthread_rwlock::add_reader): Add reader via List_insert. (pthread_rwlock::lookup_reader): Lock list while walking through. (pthread_cond::init): Locking the init mutex is now void. (pthread_rwlock::init): Ditto. (pthread_mutex::init): Ditto. * thread.h: Include security.h. (fast_mutex): New class. Replacement for native_mutex. (List_insert): New template function. (List_remove): Ditto. (List::List): Initialize synchronising mutex. (List::fixup_after_fork): New method. (List::insert): Add node via List_insert. (List::remove): Remove node via List_remove. (List::pop): Remove. (List::for_each): Lock list while walking through. (List::mx_init): New method. (pthread_mutex::fixup_after_fork): Fixup mutex list after fork. (pthread::fixup_after_fork): Ditto. (pthread_conds::fixup_after_fork): Ditto. (pthread_rwlock::fixup_after_fork): Ditto. (semaphore::fixup_after_fork): Ditto. (pthread_rwlock::readers_mx): New member.
* bfd/H.J. Lu2003-10-242-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-24 H.J. Lu <hongjiu.lu@intel.com> * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Look up hash table for real symbols. include/ 2003-10-24 H.J. Lu <hongjiu.lu@intel.com> * bfdlink.h (bfd_elf_version_expr): Add "symbol" and remove "wildcard". ld/ 2003-10-24 H.J. Lu <hongjiu.lu@intel.com> * ldlang.c (lang_vers_match): Check "symbol" instead of "wildcard" and "pattern". Fix a typo. (lang_finalize_version_expr_head): Likewise. (lang_register_vers_node): Likewise. (realsymbol): New function. (lang_new_vers_pattern): Set "symbol" and remove "wildcard". * ldlex.l (V_IDENTIFIER): Allow '\\'.
* * fhandler.cc (fhandler_base::fcntl): Don't clobber O_APPEND whenCorinna Vinschen2003-10-242-1/+6
| | | | both O_NONBLOCK/O_NDELAY are set for F_SETFL.
* * path.cc (win32_device_name): Fix comment.Corinna Vinschen2003-10-242-2/+7
|
* * fhandler_tty.cc (fhandler_tty_slave::ioctl): Properly set return value inChristopher Faylor2003-10-242-3/+10
| | | | FIONBIO case.
* 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-10-233-96/+93
| | | | | | * configure.in: Use absolute newlib basedir when forming CC_FOR_NEWLIB include options. * configure: Regenerated.
* 2003-10-23 Artem B. Bityuckiy <mail_lists@mail.ru>Jeff Johnston2003-10-236-19/+113
| | | | | | | | * libc/string/wcsnlen.c: New file. * libc/include/wchar.h: Add wcsnlen prototype. * libc/string/Makefile.am: Add wcsnlen support. * libc/string/Makefile.in: Regenerated. * libc/string/wcstrings.tex: Add wcsnlen documentation.
* * sh.h (EF_SH4A, EF_SH4AL_DSP, EF_SH4_NOFPU, EF_SH4A_NOFPU): New.Corinna Vinschen2003-10-232-1/+26
| | | | (EF_SH_MERGE_MACH): Combine them.
* * fhandler_proc.cc (format_proc_partitions): Use new device codeCorinna Vinschen2003-10-232-11/+24
| | | | to get major and minor device numbers. Fix size evaluation.
* merge from gccDJ Delorie2003-10-232-14/+41
|
* * external.cc (cygwin_internal): Add CW_GET_ERRNO_FROM_WINERRORCorinna Vinschen2003-10-224-2/+18
| | | | | | | handling. * include/cygwin/version.h: Bump API minor number. * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GET_ERRNO_FROM_WINERROR.
* * Makefile.in: Add $(LIBSERVER) rule.Corinna Vinschen2003-10-2215-461/+331
| | | | | | | | | | | | | | | | | | | | | * cygserver.h: Moved from include/cygwin to here. * cygserver_ipc.h: Moved from ../cygserver to here. * cygserver_shm.h: Ditto. * cygwin.din: Add shmat, shmctl, shmdt and shmget. * fhandler_tty.cc (fhandler_tty_slave::open): Don't warn about handle dup'ing if not build with USE_SERVER. * shm.cc: Include cygerrno.h unconditionally. (shmat): Set errno to ENOSYS and return -1 if not build with USE_SERVER. (shmctl): Ditto. (shmdt): Ditto. (shmget): Ditto. * woutsup.h: Remove. * include/cygwin/cygserver_process.h: Moved to ../cygserver directory. * include/cygwin/cygserver_transport.h: Ditto. * include/cygwin/cygserver_transport_pipes.h: Ditto. * include/cygwin/cygserver_transport_sockets.h: Ditto. * include/cygwin/version.h: Bump API minor number.
* Accomodate moving cygserver header files from cygwin/include/cygwinCorinna Vinschen2003-10-2215-252/+334
| | | | | | | | | | | | | to here and cygwin dir. * Makefile.in (EXEEXT): Drop as unused. (EXEEXT_FOR_BUILD): Ditto. (all): Don't build libcygserver.a. * cygserver_process.h: Moved from cygwin/include/cygwin to here. * cygserver_transport.h: Ditto. * cygserver_transport_pipes.h: Ditto. * cygserver_transport_sockets.h: Ditto. * ipc.h: Moved to ../cygwin and renamed to cygserver_ipc.h. * shm.h: Moved to ../cygwin and renamed to cygserver_shm.h.
* * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.Richard Sandiford2003-10-222-2/+5
|
* bfd/Jakub Jelinek2003-10-222-8/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elflink.c (_bfd_elf_export_symbol): Adjust for globals and locals field changes. (_bfd_elf_link_assign_sym_version): Likewise. * elflink.h (size_dynamic_sections): Likewise. include/ * bfdlink.h (struct bfd_elf_version_expr): Remove match field. Add wildcard and mask fields. (BFD_ELF_VERSION_C_TYPE): Define. (BFD_ELF_VERSION_CXX_TYPE): Likewise. (BFD_ELF_VERSION_JAVA_TYPE): Likewise. (struct bfd_elf_version_expr_head): New. (struct bfd_elf_version_tree): Add match field. Change type of globals and locals fields to struct bfd_elf_version_expr_head. ld/ * ldlang.c: Include hashtab.h. (lang_vers_match_lang_c, lang_vers_match_lang_cplusplus, lang_vers_match_lang_java): Remove. (lang_vers_match): New function. (lang_new_vers_pattern): Initialize wildcard and mask fields, don't initialize match. (lang_new_vers_node): Use xcalloc. Adjust for globals and locals field type changes. Set match field. (version_expr_head_hash, version_expr_head_eq): New functions. (lang_finalize_version_expr_head): New function. (lang_register_vers_node): Call lang_finalize_version_expr_head. Search in hash table if not wildcard when looking for duplicates. * emultempl/ppc64elf.em (new_vers_pattern): Don't bother with duplicate checking. Initialize all fields of dot_entry from entry with the exception of pattern and next.
* Add ColfFire v4 supportNick Clifton2003-10-212-49/+65
|
* * include/_mingw.h: Define __attribute__((x)) to nothingDanny Smith2003-10-212-0/+6
| | | | if not __GNUC__.
* Add ISO C99 complex support for doubles.Danny Smith2003-10-2123-2/+766
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/complex.h: New file. * mingwex/complex: New directory. * mingwex/complex/cabs.c: New file. * mingwex/complex/cacos.c: New file. * mingwex/complex/cacosh.c: New file. * mingwex/complex/casin.c: New file. * mingwex/complex/casinh.c: New file. * mingwex/complex/catan.c: New file. * mingwex/complex/catanh.c: New file. * mingwex/complex/ccos.c: New file. * mingwex/complex/ccosh.c: New file. * mingwex/complex/cexp.c: New file. * mingwex/complex/cimag.c: New file. * mingwex/complex/clog.c: New file. * mingwex/complex/cpow.c: New file. * mingwex/complex/cproj.c: New file. * mingwex/complex/creal.c: New file. * mingwex/complex/csin.c: New file. * mingwex/complex/csinh.c: New file. * mingwex/complex/csqrt.c: New file. * mingwex/complex/ctan.c: New file. * mingwex/complex/ctanh.c: New file. * mingwex/Makefile.in (COMPLEX_DISTFILES): New list of files. (dist): Use it. (COMPLEX_OBJS): New list of objects. (LIB_OBJS): Include it in the library.
* * include/math.h (cabs): Remove non-ISO prototype.Danny Smith2003-10-212-2/+7
|
* * mingwex/math/cephes_mconf.h (NAN, NANF, NANL):Danny Smith2003-10-212-3/+29
| | | | | Use GCC __builtin's if available. (INFINITY, INFINITYF, INFINITYL): Likewise.
* * mingwex/math/s_erf.c (erf): Set errno to ERANGE ifDanny Smith2003-10-213-1/+15
| | | | | beyond approximation limit. * mingwex/math/sf_erf.c (erff): Likewise.
* * configure.in (*-*-vxworks): Add target-libiberty to noconfdirs.DJ Delorie2003-10-203-2/+7
| | | | * configure: Regenerate.
* 2003-10-20 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2003-10-2058-145/+214
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/locale/locale.c: Use double quotes in code. * libc/locale/locale.tex: Likewise. * libc/libc.texinfo: Hyphenate "floating-point". * libc/machine/necv70/necv70.tex: Likewise. * libc/stdio/sprintf.c: Likewise. * libc/stdio/sscanf.c: Likewise. * libc/stdlib/atof.c: Likewise. * libc/stdlib/ldtoa.c: Fix comment typo. * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo. * libc/stdlib/ldiv.c: Likewise. * libm/common/s_expm1.c: Likewise. * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero". * libm/common/s_infinity: Hyphenate "double- and single-precision". * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary. * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision" and "floating-point". * libm/common/s_scalbn.c: Correct the FUNCTION summary. * libm/math/e_pow.c: Fix comment typo. * libm/math/math.tex: Hyphenate "single-precision" and "floating-point". * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo. * libm/math/s_atan.c: Likewise. * libm/math/s_frexp.c: Likewise. Also use "nonzero". * libm/math/s_isnan.c: Hyphenate "single-precision" and "floating-point". Use "nonzero". * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo. * libm/math/w_acos.c: Likewise. * libm/math/w_acosh.c: Likewise. * libm/math/w_asin.c: Likewise. * libm/math/w_atan2.c: Likewise. * libm/math/w_atanh.c: Likewise. * libm/math/w_cosh.c: Likewise. * libm/math/w_exp.c: Likewise. * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex version of 2^x in the description. * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo. * libm/math/w_gamma.c: Likewise. * libm/math/w_hypot.c: Likewise. * libm/math/w_j0.c: Likewise. * libm/math/w_sinh.c: Likewise. * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent". * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and "floating-point". * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo. * libm/mathfp/e_atanh.c: Likewise. * libm/mathfp/e_hypot.c: Likewise. * libm/mathfp/er_lgamma.c: Likewise. * libm/mathfp/s_acos.c: Likewise. * libm/mathfp/s_asine.c: Likewise. * libm/mathfp/s_asinh.c: Likewise. * libm/mathfp/s_atan.c: Likewise. * libm/mathfp/s_atan2.c: Likewise. * libm/mathfp/s_atangent.c: Likewise. * libm/mathfp/s_cosh.c: Likewise. * libm/mathfp/s_exp.c: Likewise. * libm/mathfp/s_fmod.c: Likewise. * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero". * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and "floating-point". Use "nonzero". * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent". * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo. * libm/mathfp/s_sineh.c: Likewise. * libm/mathfp/w_jn.c: Likewise.
* * mmix.h (JMP_INSN_BYTE): Define.Hans-Peter Nilsson2003-10-192-1/+6
|