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
path: root/winsup
AgeCommit message (Collapse)Author
2003-11-07 * cygpath.cc (main): Allow multiple pathnames on command line.Corinna Vinschen
2003-11-07* fhandler_disk_file.cc (fhandler_disk_file::opendir): Reorganize to handleChristopher Faylor
freeing of memory on error condition.
2003-11-07* cygthread.cc (cygthread::freerange): Set inuse count. Avoid setting ev fromChristopher Faylor
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-07 * Missing patch to cygwin.din.Corinna Vinschen
2003-11-07 * bsdlib.cc (_vwarnx): New function.Corinna Vinschen
(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 Vinschen
* 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 Faylor
2003-11-06 * include/cygwin/types.h: Fix preprocessor guards for vm_offset_t andCorinna Vinschen
vm_size_t. Add typedef for vm_object_t.
2003-11-05* fhandler_disk_file.cc (fhandler_disk_file::opendir): Detect attempt to open aChristopher Faylor
directory which lacks read privileges.
2003-11-05Entry "Where is the su command?" -> "Why doesn't su work?"David Starks-Browning
2003-11-04 * external.cc (cygwin_internal): Add CW_GET_POSIX_SECURITY_ATTRIBUTECorinna Vinschen
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 Faylor
bad pointer.
2003-11-04 * passwd.c (PrintPW): Turn around meaning printed for "Password notCorinna Vinschen
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 Vinschen
(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-04 * net.cc (dup_ent): Move Win 95 misalignment recogition beforeCorinna Vinschen
trying to evaluate string length.
2003-10-31* thread.cc (pthread::thread_init_wrapper): Initialize exception handling.Thomas Pfaff
2003-10-31Rename pthread::running to pthread::valid throughout.Thomas Pfaff
* 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 Vinschen
64 bit min value constants.
2003-10-29* path.cc (dot_special_chars): New global variable.Christopher Faylor
(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 Faylor
2003-10-28* include/stdint.h: Correctly define INT64_MAX.Christopher Faylor
2003-10-28 * include/math.h: Guard ISO C99 additions with __cplusplusDanny Smith
not __GLIBCPP__.
2003-10-28* thread.h (fast_mutex::init): Initialize lock_counter.Thomas Pfaff
2003-10-27 * Makefile.in (OBSOLETE_FUNCTION): Add tmpfile.Corinna Vinschen
(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 Vinschen
* 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 Vinschen
* winsup.h: Declare.
2003-10-26 * security.h (cygpsid::debug_print): Avoid compiler warnings.Corinna Vinschen
2003-10-26Remove file that was supposed to have disappeared a month ago.Christopher Faylor
2003-10-25 * path.cc (normalize_posix_path): Test runs of more than twoCorinna Vinschen
dots for being a run of only dots. Let it pass if not.
2003-10-25 * fhandler.cc (fhandler_base::ioctl): Handle FIONBIO.Corinna Vinschen
2003-10-24Rename native_mutex to fast_mutex throughout.Thomas Pfaff
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.
2003-10-24 * fhandler.cc (fhandler_base::fcntl): Don't clobber O_APPEND whenCorinna Vinschen
both O_NONBLOCK/O_NDELAY are set for F_SETFL.
2003-10-24 * path.cc (win32_device_name): Fix comment.Corinna Vinschen
2003-10-24* fhandler_tty.cc (fhandler_tty_slave::ioctl): Properly set return value inChristopher Faylor
FIONBIO case.
2003-10-23 * fhandler_proc.cc (format_proc_partitions): Use new device codeCorinna Vinschen
to get major and minor device numbers. Fix size evaluation.
2003-10-23 * external.cc (cygwin_internal): Add CW_GET_ERRNO_FROM_WINERRORCorinna Vinschen
handling. * include/cygwin/version.h: Bump API minor number. * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GET_ERRNO_FROM_WINERROR.
2003-10-22 * Makefile.in: Add $(LIBSERVER) rule.Corinna Vinschen
* 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.
2003-10-22 Accomodate moving cygserver header files from cygwin/include/cygwinCorinna Vinschen
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.
2003-10-21 * include/_mingw.h: Define __attribute__((x)) to nothingDanny Smith
if not __GNUC__.
2003-10-21 Add ISO C99 complex support for doubles.Danny Smith
* 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.
2003-10-21 * include/math.h (cabs): Remove non-ISO prototype.Danny Smith
2003-10-21 * mingwex/math/cephes_mconf.h (NAN, NANF, NANL):Danny Smith
Use GCC __builtin's if available. (INFINITY, INFINITYF, INFINITYL): Likewise.
2003-10-21 * mingwex/math/s_erf.c (erf): Set errno to ERANGE ifDanny Smith
beyond approximation limit. * mingwex/math/sf_erf.c (erff): Likewise.
2003-10-18 * include/stdio.h (_filbuf): Add prototype.Danny Smith
(_flsbuf): Add prototype. (getc): Add inline version. (putc): Likewise. (getchar): Likewise. (putchar): Likewise.
2003-10-17revert accidental checkinChristopher Faylor
2003-10-17* cygcheck.cc (pretty_id): Don't exec if `id' program is not found.Christopher Faylor
2003-10-17Oooops...Dimitri Papadopoulos
2003-10-17*** empty log message ***Pierre Humblet
2003-10-172003-10-16 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet
* syscalls.cc (seteuid32): Always construct a default DACL including the new sid, Admins and SYSTEM and copy it to the new thread token. * security.cc (create_token): Use a NULL default DACL in NtCreateToken.
2003-10-16 * dcrt0.cc: Remove local variable alternate_charset_active.Corinna Vinschen
* fhandler.h: Add variable alternate_charset_active, functions str_to_con, con_to_str to dev_console structure. * fhandler_console.cc (con_to_str): Move function into dev_console class. (str_to_con): Ditto. (fhandler_console::read): Call con_to_str on dev_state. (fhandler_console::write_normal): Call str_to_con on dev_state. (fhandler_console::char_command): Change active_charset_active assignment to be on dev_state. * winsup.h: Remove global external variable alternate_charset_active.