171 lines
6.1 KiB
Plaintext
171 lines
6.1 KiB
Plaintext
2011-01-27 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
* include/features.h (__STDC_ISO_10646__): Move to newlib's
|
|
sys/features.h.
|
|
|
|
2011-01-26 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
* fhandler_disk_file.cc (fhandler_base::fstat_by_nfs_ea): Fix
|
|
computation of st_blocks.
|
|
(fhandler_base::fstat_helper): Fix formatting.
|
|
|
|
2011-01-24 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
* include/features.h (__STDC_ISO_10646__): Define. Add comment.
|
|
|
|
2011-01-21 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
* syscalls.cc (rename): Fix permission problem with symlinks on NFS.
|
|
Rework how NtOpenFile gets called to make it more readable. Change
|
|
comment.
|
|
|
|
2011-01-20 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
* exec.cc: Include pinfo.h.
|
|
* winf.h: Move definitions of _P_PATH_TYPE_EXEC and _P_MODE from here...
|
|
* pinfo.h: ...to here.
|
|
(_P_PATH_TYPE_EXEC): Redefine to be bigger than _P_SYSTEM.
|
|
(_P_MODE): Redefine so as not to mask out _P_SYSTEM.
|
|
* spawn.cc (spawnlp): Add _P_PATH_TYPE_EXEC flag in call to spawnve.
|
|
(spawnlpe): Ditto.
|
|
(spawnvp): Ditto.
|
|
|
|
2011-01-19 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
* spawn.cc (av::fixup): Reenable #! handling for all exec functions.
|
|
Return ENOEXEC in !p_type_exec case only for unrecognized files.
|
|
Fix comment formatting.
|
|
|
|
2011-01-19 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
* exec.cc (execlp): Add missing _P_PATH_TYPE_EXEC flag in call to
|
|
spawnve.
|
|
|
|
2011-01-19 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
* exec.cc: Rearrange functions in alphabetical order.
|
|
(_execve): Drop temporary define and drop export alias.
|
|
(execl): Call spawnve.
|
|
(execle): New function.
|
|
(execlp): New function.
|
|
(execv): Call spawnve.
|
|
(execve): Drop converting NULL envp to emtpy envp.
|
|
(execvp): Call spawnve.
|
|
(execvpe): Drop converting NULL envp to emtpy envp. Call spawnve.
|
|
(fexecve): Call spawnve.
|
|
* spawn.cc (spawnve): Convert NULL envp to emtpy envp. Remove outdated
|
|
comment.
|
|
(spawnlp): Call spawnve.
|
|
(spawnlpe): Ditto.
|
|
(spawnvp): Ditto.
|
|
(spawnvpe): Fix formatting.
|
|
|
|
2011-01-19 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
* exec.cc (strccpy): Move function from here...
|
|
* strfuncs.cc (strccpy): ...to here.
|
|
* string.h (strccpy): Declare.
|
|
* winsup.h (strccpy): Drop declaration.
|
|
|
|
2011-01-19 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
* errno.cc (errmap): Add error codes for invalid binaries.
|
|
* exec.cc (execvp): Call spawnve with _P_PATH_TYPE_EXEC flag
|
|
from here.
|
|
(execvpe): Ditto.
|
|
* spawn.cc (spawn_guts): Filter _P_PATH_TYPE_EXEC from mode and
|
|
store in p_type_exec. Call av::fixup with addtional p_type_exec
|
|
argument.
|
|
(spawnve): Check for filtered mode.
|
|
(spawnvpe): Add _P_PATH_TYPE_EXEC flag when calling spawnve.
|
|
(av::fixup): Accept additional bool parameter p_type_exec. Only check
|
|
for script if p_type_exec is true.
|
|
* winf.h (_P_PATH_TYPE_EXEC): Define.
|
|
(_P_MODE): Define.
|
|
(av::fixup): Declare with additional bool parameter.
|
|
|
|
2011-01-17 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
* fhandler_proc.cc (format_proc_partitions): Fix compiler warning.
|
|
|
|
2011-01-17 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
* path.cc (path_conv::check): Don't follow reparse point symlinks if
|
|
PC_SYM_NOFOLLOW_REP flag is set.
|
|
(cygwin_conv_path): Set PC_SYM_NOFOLLOW_REP flag when converting from
|
|
POSIX to Win32.
|
|
* path.h (enum pathconv_arg): Define PC_SYM_NOFOLLOW_REP flag.
|
|
|
|
2011-01-17 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
* fhandler_proc.cc (proc_tab_cmp): Fix typo in comment.
|
|
(fhandler_proc::fill_filebuf): Handle return value of 0 from format
|
|
function as error.
|
|
(format_proc_stat): Set errno when returning 0 size.
|
|
(format_proc_partitions): Rewrite method to fetch partition info.
|
|
|
|
2011-01-13 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Always set
|
|
st_size of directories to 0. Explain why.
|
|
|
|
2011-01-12 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
* posix.sgml: Add madvise to BSD list.
|
|
|
|
2011-01-12 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
* cygwin.din (madvise): Export posix_madvise as madvise.
|
|
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR.
|
|
* include/sys/mman.h: Define madvise constants, keep Linux-specific
|
|
constants undefined.
|
|
(madvise): Declare.
|
|
|
|
2011-01-12 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
* fhandler.h (struct part_t): New type.
|
|
(class fhandler_dev_floppy): Convert partitions to part_t pointer.
|
|
Add lock_partition method.
|
|
* fhandler_floppy.cc (fhandler_dev_floppy::lock_partition): New method
|
|
to implement ondemand partition locking.
|
|
(fhandler_dev_floppy::write_file): Call lock_partition from here if
|
|
writing failed due to a potential write restriction on a disk
|
|
partition.
|
|
(fhandler_dev_floppy::open): Don't lock partitions here.
|
|
(fhandler_dev_floppy::close): Keep track of partition handle reference
|
|
count. Close handles and remove partitions pointer ony if count is 0.
|
|
(fhandler_dev_floppy::dup): Just copy partitions pointer and increment
|
|
reference count.
|
|
|
|
2011-01-11 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
* fhandler.h (MAX_PARTITIONS): New definition.
|
|
(class fhandler_dev_floppy): Add partitions array member. Add close
|
|
method.
|
|
* fhandler_floppy.cc (fhandler_dev_floppy::fhandler_dev_floppy): Zero
|
|
out partitions array.
|
|
(fhandler_dev_floppy::open): Fix "entire disk" condition for call to
|
|
DeviceIoControl (FSCTL_ALLOW_EXTENDED_DASD_IO).
|
|
When opening disks for writing, call DeviceIoControl (FSCTL_LOCK_VOLUME)
|
|
on all affected disk partitions starting with Vista.
|
|
(fhandler_dev_floppy::close): New method.
|
|
(fhandler_dev_floppy::dup): Duplicate handles in partitions, if any.
|
|
* wincap.h (wincaps::has_restricted_raw_disk_access): New element.
|
|
* wincap.cc: Implement above element throughout.
|
|
|
|
2011-01-11 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
|
|
|
|
* termios.cc (cfgetospeed, cfgetispeed): Constify argument per POSIX.
|
|
* include/sys/termios.h (cfgetospeed, cfgetispeed): Declare functions.
|
|
Move macros after declarations and make conditional on !__cplusplus.
|
|
|
|
2011-01-11 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
* cygtls.cc (_cygtls::init_thread): Call _REENT_INIT_PTR. Drop setting
|
|
current locale and calling srand48.
|
|
|
|
2011-01-02 Christopher Faylor <me+cygwin@cgf.cx>
|
|
|
|
* ChangeLog-2010: Create from ChangeLog.
|
|
* ChangeLog: Start fresh.
|