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
2007-11-08revert premature checkinChristopher Faylor
2007-11-08revert premature checkinChristopher Faylor
2007-11-08* dllfixdbg: Eliminate extra objcopy step.Christopher Faylor
2007-11-08 * dllfixdbg: Pass --only-keep-debug to objcopy, instead ofCorinna Vinschen
selecting the sections manually.
2007-11-06 * thread.cc (pthread_key_create): Drop check for incoming valid object.Corinna Vinschen
2007-11-06 * shm.cc: Include sync.hCorinna Vinschen
(struct shm_shmid_list): Add ref_count member. (struct shm_attached_list): Remove hdl and size members. Add a parent member pointing to referenced shm_shmid_list entry. (shm_guard): New muto. (SLIST_LOCK): Define. (SLIST_UNLOCK): Define. (fixup_shms_after_fork): Use hdl and size members of parent shm_shmid_list entry. (shmat): Access sequential bookkeeping lists in a thread safe way. Accommodate change in list element layout. Align comments. (shmctl): Ditto. (shmdt): Ditto. (shmget): Ditto.
2007-11-05 * bsd_helper.cc (tunable_params): Add kern.ipc.shm_allow_removed asCorinna Vinschen
bool parameter. * cygserver.conf: Add a description for the kern.ipc.shm_allow_removed parameter. * sysv_shm.cc (shminit): Set shm_allow_removed variable according to kern.ipc.shm_allow_removed setting.
2007-11-05 * shm.cc (shmctl): On IPC_RMID don't unmap views and don't close handleCorinna Vinschen
if the map is still referenced to emulate Linux and BSD behaviour.
2007-11-05 * shm.cc (shmctl): On IPC_RMID also unmap all views on shared memCorinna Vinschen
as well as connected shm_attached_list entry.
2007-10-31 * net.cc (load_ipv6_funcs): Use MAX_PATH instead of CYG_MAX_PATH.Corinna Vinschen
(cygwin_getaddrinfo): Simplify formatting. (cygwin_getnameinfo): Ditto.
2007-10-31 * external.cc (get_cygdrive_info): Make inline.Corinna Vinschen
(get_cygdrive_prefixes): Remove. (cygwin_internal): Call get_cygdrive_info with NULL flag parameters instead of get_cygdrive_prefixes. * path.cc (mount_info::get_cygdrive_info): Allow NULL flag parameters.
2007-10-30 * fhandler_disk_file.cc (fhandler_base::fstat_helper): Don't removeCorinna Vinschen
write bits for directories with R/O attribute. (fhandler_base::fhaccess): Don't shortcircuit R/O attribute with W_OK scenarios for directories.
2007-10-23 * cygheap.h (struct cwdstuff): Drop hash member. Drop get_hash,Corinna Vinschen
get_initial, and fixup_after_exec declarations. Convert win32 to UNICODE_STRING. (cwdstuff::get_drive): Convert win32 path in current codepage. (cwdstuff::set): Take native NT path. * ntdll.h (struct _TEB): Typedef. * path.cc (mount_info::conv_to_posix_path): Add variant taking wide char DOS paths. (symlink_info::posixify): Simplify concatenating cwd and relative path. (hash_path_name): Drop special relative path handling. (chdir): Drop special "drive only" handling. Call cwdstuff::set with native path. (cwdstuff::get_hash): Remove. (windows_system_directory): Remove. (_upp): Remove. (get_user_proc_parms): Make inline. Get PEB pointer by calling NtCurrentTeb. (cwdstuff::init): Simplify. (cwdstuff::set): Rework to handle incoming native NT path. Workaround a Vista problem with CWD handle in the user process parameter block. (cwdstuff::get): Simplify locking. Accommodate type change of win32. * shared_info.h (mount_info): Add declaration for new conv_to_posix_path method. * strfuncs.cc (sys_wcstombs): Return correct length of created multi-byte string.
2007-10-19 * fhandler_disk_file.cc (__DIR_mounts::eval_ino): Make fname big enoughCorinna Vinschen
to allow multibyte chars.
2007-10-18 * fhandler.cc (fhandler_base::open): Open native symlinks withCorinna Vinschen
FILE_OPEN_REPARSE_POINT flag. Fix typo in comment.
2007-10-18 * include/sys/param.h (MAXPATHLEN): Define as PATH_MAX.Corinna Vinschen
2007-10-15 * fhandler.cc (is_at_eof): Rewrite using NT functions.Corinna Vinschen
(off_current): New static variable. (off_append): Ditto. (fhandler_base::raw_write): Use NtWriteFile. Accommodate O_APPEND here. (fhandler_base::write): Drop O_APPEND hack. Use NT functions. (fhandler_base::lseek): Rewrite using NT functions. * fhandler_disk_file.cc (fhandler_disk_file::fstatvfs): Add space in debug output. (fhandler_disk_file::ftruncate): Ditto. * ntdll.h (STATUS_DISK_FULL): Define. (FILE_USE_FILE_POINTER_POSITION): Define. (FILE_WRITE_TO_END_OF_FILE): Define.
2007-10-13 * ntdll.h (STATUS_END_OF_FILE): Define.Corinna Vinschen
* path.cc (symlink_info::check_shortcut): Use NT function to get file size. Reintroduce checking file size before reading it. Eliminiate close_it label. (symlink_info::check_sysfile): Check for EOF condition.
2007-10-11 * path.cc (basename): Return pointer into the path argument itself.Corinna Vinschen
Shrink buf to 4 bytes. Use buf only for border cases. (dirname): Ditto.
2007-10-10 * path.cc (struct symlink_info): Change size of contents member toCorinna Vinschen
be able to keep SYMLINK_MAX sized strings. (symlink_worker): Rework for long path names. When writing windows shortcuts, store pathname additionally "hidden" after the actual shortcut data to workaround size limitations of the description field. (symlink_info::check_shortcut): Drop file name parameter. Drop max file size check. Use NT functions. Use appended full path if available, description otherwise. Check symlink string length for not exceeding SYMLINK_MAX. Don't close file here. (symlink_info::check_sysfile): Drop file name parameter. Use NT functions. Check symlink string length for not exceeding SYMLINK_MAX. Don't close file here. (symlink_info::check_reparse_point): Drop file name parameter. Drop useless length checks. Allow SYMLINK_MAX length symlink strings. Don't close file here. (symlink_info::posixify): Allow SYMLINK_MAX length symlink strings. (symlink_info::check): Turn around checking for symlink file attributes. Use NT functions. Close symlink file here. * include/limits.h (PATH_MAX): Define as 32760. Change comment. (SYMLINK_MAX): Define as PATH_MAX - 1.
2007-10-10 * fhandler_socket.cc (fhandler_socket::bind): Open file for deletion,Corinna Vinschen
too. Don't write to file and especially don't close handle if file couldn't be created. Set delete disposition if writing failed, instead of calling unlink_nt.
2007-10-042007-10-03 Jiri Malak <Jiri.Malak@iol.cz>Chris Sutcliffe
* include/rpcndr.h: Missing NdrClientCall2 entry. * lib/rpcrt4.def: Ditto.
2007-10-042007-10-03 Frank Fesevur <ffes@users.sourceforge.net>Chris Sutcliffe
* lib/scnsave.c: Multi-monitor support.
2007-10-042007-10-03 Danny Smith <dannysmith@users.sourceforge.net>Chris Sutcliffe
* mingwex/gdtoa/mingw_snprintf.c: fixed warning during compile.
2007-10-032007-10-03 Bernd Becker <hugin@users.sourceforge.net>Chris Sutcliffe
* include/io.h (__finddata64_t, __wfinddata64_t): changed member 'size' from '_fsize_t' to '__int64' to be consistent with the other ...64 structures and the value set there is 8 bytes not 4. Add guard for both as the are only used by functions available from 6.1 on. * include/malloc.h (_HEAP_MAXREQ): Define. (_aligned_offset_recalloc): Define. (_aligned_recalloc()): Define. * include/math.h: fixed a typo in a comment. (atanhf): Fixed declaration. * include/wchar.h (__wfinddata64_t): changed member 'size' from '_fsize_t' to '__int64' to be consistent with the other ...64 structures and the value set there is 8 bytes not 4. Added guard as this function is only used by functions available from 6.1 on. * include/sys/stat.h: some members of 'stat' were declared with types with a prefixed underscore, while the ones without the underscore should have been used. Added guard to '__stat64' as it is only used by functions available from 6.1 on. Added the wide character versions of the exec()/spawn() family for completion (_stati64): changed the type of the 'st_mode' member from 'unsigned int' to '_mode_t' * include/sys/timeb.h (timeb, _timb): changed the type of the 'time' member from 'long' to 'time_t' (__timeb64): moved declaration of structure directly before the declaration of the function '_ftime64()', so it is guarded as well * include/sys/utime.h (__utimbuf64): moved declaration of structure directly before the declaration of the functions using it, so it is guarded as well
2007-09-27 * ntdll.h (struct _FILE_COMPRESSION_INFORMATION): Align with definitionCorinna Vinschen
in w32api / MSDN. * fhandler_disk_file.cc (fhandler_base::fstat_helper): Accommodate change to struct _FILE_COMPRESSION_INFORMATION.
2007-09-26 * termios.cc (setspeed): Support new baud rates introduced 2007-02-05.Corinna Vinschen
2007-09-25 * faq-what.xml: Remove paragraph about and link to stoneage oldCorinna Vinschen
history.html file.
2007-09-24Committed as obvious:Danny Smith
2007-09-24 David C. Daeschler <daveregs@rsaisp.com> * mingwex/gdtoa/mingw_snprintf.c (x_sprintf): Correct LEN_L typo in 'l' case. Add missing break in 's'/LEN_S case.
2007-09-20 * ntdll.h (STATUS_OBJECT_NAME_INVALID): Define.Corinna Vinschen
2007-09-18 * mmap.cc (fh_disk_file): Delete as global static variable and...Corinna Vinschen
(mmap64): ...define as local pointer to make mmap thread-safe. Accommodate throughout. Only initialize fh_disk_file after file could be opened with GENERIC_EXECUTE access. Call fstat_by_handle instead of fstat to avoid overhead.
2007-09-18 * security.cc (set_file_sd): Open file with FILE_OPEN_FOR_BACKUP_INTENTCorinna Vinschen
too.
2007-09-18 * path.cc (symlink_info::check): Check for STATUS_OBJECT_NAME_INVALID.Corinna Vinschen
Add comment.
2007-09-17 * fhandler.cc (fhandler_base::open): Partly revert change fromCorinna Vinschen
2007-08-24: Call has_acls to avoid permission problems getting a handle to a file on a remote share. Add comment.
2007-09-08 * include/cygwin/config.h: Conditionalize inline __getreent()Brian Dessent
definition on _COMPILING_NEWLIB.
2007-09-07 * include/cygwin/config.h (__getreent): Define inline version.Brian Dessent
2007-09-06 * include/sys/stdio.h (_flockfile): Don't try to lock a FILEBrian Dessent
that has the __SSTR flag set. (_ftrylockfile): Likewise. (_funlockfile): Likewise.
2007-09-01* configure: Regenerate.Christopher Faylor
2007-08-312007-08-31 Dave Korn <dave.korn@artimi.com>Dave Korn
* mkgroup.c (enum_groups): Use MAX_PREFERRED_LENGTH in netgroupenum call so that it will automatically size returned buffer sufficiently.
2007-08-25Make snprintf() and vsnprintf() conform to C99.Keith Marshall
2007-08-24 * syscalls.cc (open): Don't follow symlinks if O_EXCL is given.Corinna Vinschen
2007-08-24* dll.sgml: myprog.ca -> myprog.cChristopher Faylor
2007-08-23 * ntdll.h (STATUS_NO_SUCH_FILE): Define.Corinna Vinschen
* path.cc (get_nt_native_path): Reset upath.Length to 0 on each invocation. (symlink_info::check): Use NT native functions.
2007-08-21 * uinfo.cc (pwdgrp::load): Use NT native functions.Corinna Vinschen
2007-08-21 * fhandler_disk_file.cc (fhandler_base::fstat_helper): Rewrite checkingCorinna Vinschen
for executable file magic using a thread safe method and re-enable this code.
2007-08-21 * syscalls.cc (unlink_nt): Drop one local FILE_BASIC_INFORMATION struct.Corinna Vinschen
2007-08-21 * ntdll.h (NtNotifyChangeDirectoryFile): Declare.Corinna Vinschen
(NtQueryAttributesFile): Move to maintain alphabetical order of declarations. Add comment to note that timestamp information returned by NtQueryAttributesFile is unreliable. * path.h (etc::changed_h): Move here. (etc::fn): Change type to OBJECT_ATTRIBUTES. (etc::last_modified): Change type to LARGE_INTEGER. (etc::init): Take PUNICODE_STRING as second argument. * path.cc: Accomodate above changes. (etc::test_file_change): Use NT native functions. (etc::dir_changed): Ditto. * uinfo.cc (pwdgrp::load): Call etc::init with NT native path.
2007-08-21 * fhandler_disk_file.cc: Change debugging output througout to printCorinna Vinschen
the NT status consistently. Use UNICODE path information if available.
2007-08-20 * hookapi.cc (ld_preload): Call LoadLibraryW.Corinna Vinschen
* path.h (path_conv::get_wide_win32_path_len): Define.
2007-08-20 * fhandler.cc (rootdir): Delete.Corinna Vinschen
* winsup.h (rootdir): Drop declaration.