aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-11-142003-11-11 Robert Collins <rbtcollins@hotmail.com>Robert Collins41-151/+204
Ron Parker <rdparker@butlermfg.com> * bsdlib.cc: Update throughout to use CYG_MAX_PATH rather than MAX_PATH. * cygheap.h: Ditto. * dcrt0.cc: Ditto. * delqueue.cc: Ditto. * dlfcn.cc: Ditto. * dll_init.cc: Ditto. * dll_init.h: Ditto. * dtable.cc: Ditto. * environ.cc: Ditto. * environ.h: Ditto. * exceptions.cc: Ditto. * external.cc: Ditto. * fhandler_disk_file.cc: Ditto. * fhandler_proc.cc: Ditto. * fhandler_process.cc: Ditto. * fhandler_raw.cc: Ditto. * fhandler_registry.cc: Ditto. * fhandler_socket.cc: Ditto. * fhandler_virtual.cc: Ditto. * miscfuncs.cc: Ditto. * mmap.cc: Ditto. * netdb.cc: Ditto. * path.cc: Ditto. * path.h: Ditto. * pinfo.cc: Ditto. * pinfo.h: Ditto. * pthread.cc: Ditto. * registry.cc: Ditto. * shared.cc: Ditto. * shared_info.h: Ditto. * smallprint.c: Ditto. * spawn.cc: Ditto. * strace.cc: Ditto. * syscalls.cc: Ditto. * thread.h: Ditto. * uinfo.cc: Ditto. * winsup.h: Ditto. * include/limits.h: Ditto. * include/cygwin/config.h: Ditto. * include/sys/param.h: Ditto.
2003-11-14 * mkgroup.c: Avoid compiler warnings throughout.Corinna Vinschen4-15/+1258
* mkpasswd.c: Ditto. * passwd.c: Ditto.
2003-11-14Add new field to disassemble_info structure: symbol_is_valid() and use it toNick Clifton2-3/+28
skip displaying arm elf mapping symbols in disassembly output.
2003-11-14* dtable.cc (build_fh_pc): Use DEV_SERIAL_MAJOR to catch all serial ports.Christopher Faylor2-9/+9
Remove redundant FH_CYGDRIVE case since it is handled by DEV_CYGDRIVE_MAJOR.
2003-11-13minor adjustments to Elfyn's contribution.David Starks-Browning2-11/+10
2003-11-13Apply Elfyn's patches as supplied in ↵David Starks-Browning3-16/+14
<http://cygwin.com/ml/cygwin-patches/2003-q3/msg00156.html>.
2003-11-132003-11-13 Martin Fuchs <martin-fuchs@gmx.net>Danny Smith5-3/+48
* include/shlobj.h (ILAppendID, ILClone, ILCloneFirst, ILCombine, ILFindChild, ILFindLastID, ILFree, ILGetNext, ILGetSize, ILIsEqual, ILIsParent, ILLoadFromStream, ILRemoveLastID, ILSaveToStream): Add prototypes. * lib/shell32.def: Add stubs. * include/commctrl.h (ListView_FindItem): Add type cast to avoid compiler warnings. 2003-11-13 Hans Leidekker <hans@it.vu.nl> * include/winbase.h (WIN32_STREAM_ID): Correct typedef.
2003-11-11* thread.cc (pthread::exit): Cleanup on thread exit.Thomas Pfaff2-0/+10
(__reent_t::init_clib): Set thread local clib __cleanup var appropriately.
2003-11-102003-11-10 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-5/+10
* libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts to use (Ebits + 1) which accounts for the sign-bit.
2003-11-10* miscfuncs.cc (low_priority_sleep): Make a "C" function.Christopher Faylor3-2/+7
* winsup.h (low_priority_sleep): Revert previous change to declaration.
2003-11-10 * winsup.h (low_priority_sleep): Fix declaration to avoid linkerCorinna Vinschen2-1/+6
warning.
2003-11-10* thread.cc (__reent_t::init_clib): Set thread local clibThomas Pfaff2-0/+6
__sdidinit var appropriately.
2003-11-08 * syscalls.cc (ftruncate64): Log length as long long.Corinna Vinschen2-5/+10
(logout): Erase ut_host. Don't write wtmp entry. Return 1 only if matching utmp entry has been found, 0 otherwise.
2003-11-08 * external.cc (cygwin_internal): Add CW_GET_UID_FROM_SID andCorinna Vinschen4-2/+28
CW_GET_GID_FROM_SID handling. * include/cygwin/version.h: Bump API minor number. * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GET_UID_FROM_SID and CW_GET_GID_FROM_SID.
2003-11-072003-11-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston11-12/+128
* configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux x86 build. * iconvdata/Makefile.am: Make dependent on newlib's configure.host and set up default flags to pass to aclocal. * iconvdata/Makefile.in: Regenerated. * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam, and getpwuid routines. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/getlogin.c: New stub file to allow x86-linux applications to link with newlib's shared libc library. * libc/sys/linux/getpwnam.c: Ditto. * libc/sys/linux/getpwuid.c: Ditto. * libc/sys/linux/sys/types.h: Include <features.h> and supply types that were formerly supplied by /usr/include/linux/types.h with kernel types. * testsuite/newlib.wctype/twctype.c: Fix testcase to properly test _ELIX_LEVEL macro.
2003-11-07 * cygpath.cc (main): Allow multiple pathnames on command line.Corinna Vinschen2-22/+17
2003-11-07* fhandler_disk_file.cc (fhandler_disk_file::opendir): Reorganize to handleChristopher Faylor1-0/+5
freeing of memory on error condition.
2003-11-07* cygthread.cc (cygthread::freerange): Set inuse count. Avoid setting ev fromChristopher Faylor3-27/+45
h as h would be NULL at this point. (cygthread::operator new): Issue debugging info when overflowing the thread pool. (cygthread::cygthread): Set ev from h here after h has been initialized.
2003-11-072003-11-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-2/+7
* libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be referring to _NO_LONGLONG macro.
2003-11-062003-11-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston38-37/+78
* libc/sys/linux/linuxthreads/td_init.c: Replace function name in LOG() macro so this will compile on gcc 3.4 and up. * libc/sys/linux/linuxthreads/td_log.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto. * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto. * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
2003-11-06 * Missing patch to cygwin.din.Corinna Vinschen1-0/+8
2003-11-06 * bsdlib.cc (_vwarnx): New function.Corinna Vinschen4-1/+123
(vwarn): Ditto. (vwarnx): Ditto. (warn): Ditto. (warnx): Ditto. (verr): Ditto. (verrx): Ditto. (err): Ditto. (errx): Ditto. * cygwin.din: Export above functions. * include/err.h: New file. * include/cygwin/version.h: Bump API minor number.
2003-11-06 * syscalls.cc (getshmlba): New function.Corinna Vinschen7-9/+28
* external.cc (cygwin_internal): Add CW_GET_SHMLBA handling. * mmap.cc (mmap64): Call getshmlba to evaluate granularity. * winsup.h (getshmlba): Add declaration. * include/cygwin/version.h: Bump API minor number. * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GET_SHMLBA.
2003-11-06* winsup.h: Declare access_worker.Christopher Faylor2-1/+8
2003-11-06Fix 'the the' typoNick Clifton2-471/+467
2003-11-06 * include/cygwin/types.h: Fix preprocessor guards for vm_offset_t andCorinna Vinschen2-2/+12
vm_size_t. Add typedef for vm_object_t.
2003-11-06 * ppc.h (R_PPC_RELAX32PC): Define.Alan Modra2-6/+11
2003-11-062003-11-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-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-062003-11-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-16/+29
* libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes to make code work as specified in standard.
2003-11-05* fhandler_disk_file.cc (fhandler_disk_file::opendir): Detect attempt to open aChristopher Faylor2-2/+12
directory which lacks read privileges.
2003-11-04Entry "Where is the su command?" -> "Why doesn't su work?"David Starks-Browning1-6/+9
2003-11-04 * external.cc (cygwin_internal): Add CW_GET_POSIX_SECURITY_ATTRIBUTECorinna Vinschen6-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.
2003-11-04* net.cc (dup_ent): Use IsBadStringPtr for alignment checks. Don't use a knownChristopher Faylor2-5/+9
bad pointer.
2003-11-04 * passwd.c (PrintPW): Turn around meaning printed for "Password notCorinna Vinschen2-11/+22
required" option to be in line with Windows meaning. (main): Use more appropriate 1008 option when calling NetUserSetInfo to change flag values.
2003-11-04 * passwd.c (UF_LOCKOUT): Remove (defined in lmaccess.h).Corinna Vinschen2-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.
2003-11-03 * net.cc (dup_ent): Move Win 95 misalignment recogition beforeCorinna Vinschen2-10/+20
trying to evaluate string length.
2003-11-01 * sim-frv.h: New file.Kevin Buettner2-0/+57
2003-10-31* thread.cc (pthread::thread_init_wrapper): Initialize exception handling.Thomas Pfaff2-0/+13
2003-10-31Rename pthread::running to pthread::valid throughout.Thomas Pfaff3-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.
2003-10-29 * include/stdint.h: Prevent signed->unsigned conversion for 32 andCorinna Vinschen2-13/+18
64 bit min value constants.
2003-10-29* path.cc (dot_special_chars): New global variable.Christopher Faylor2-2/+22
(special_name): Make files ending in "." special. (fnunmunge): Allow encoded ".". (mount_item::fnmunge): Handle trailing ".".
2003-10-28* include/stdint.h: Duplicate below effort for rest of *64_*.Christopher Faylor2-5/+9
2003-10-28* include/stdint.h: Correctly define INT64_MAX.Christopher Faylor2-1/+5
2003-10-27 * include/math.h: Guard ISO C99 additions with __cplusplusDanny Smith2-1/+6
not __GLIBCPP__.
2003-10-27* thread.h (fast_mutex::init): Initialize lock_counter.Thomas Pfaff2-0/+5
2003-10-272003-10-27 Bernardo Innocenti <bernie@develer.com>Jeff Johnston4-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.
2003-10-27 * Makefile.in (OBSOLETE_FUNCTION): Add tmpfile.Corinna Vinschen4-2/+12
(NEW_FUNCTIONS): Add _tmpfile64 -> tmpfile translation. * cygwin.din: Export _tmpfile64 * include/cygwin/version.h: Bump api minor number.
2003-10-27 * cygwin.din: Add sem_close, sem_getvalue, sem_open and sem_timedwait.Corinna Vinschen7-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.
2003-10-27 * miscfunc.cc (__check_invalid_read_ptr): New function.Corinna Vinschen3-0/+14
* winsup.h: Declare.
2003-10-26 * security.h (cygpsid::debug_print): Avoid compiler warnings.Corinna Vinschen2-1/+5