2015-02-11 22:45:47 +01:00
|
|
|
2015-02-11 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* flock.cc (fhandler_base::lock): Convert accidental system_printf to
|
|
|
|
debug_printf in case of non-matching file modes. Clear up debug output.
|
|
|
|
|
2015-02-11 14:15:59 +01:00
|
|
|
2015-02-11 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* dlfcn.cc (check_path_access): Drop FE_NATIVE from find_exec call.
|
|
|
|
(gfpod_helper): Drop equality sign from environment variable name
|
|
|
|
in call to check_path_access.
|
|
|
|
* exec.cc (execlp): Drop equality sign from environment variable name
|
|
|
|
in call to find_exec.
|
|
|
|
(execvp): Ditto.
|
|
|
|
(execvpe): Ditto.
|
|
|
|
* path.h (enum fe_types): Drop FE_NATIVE.
|
|
|
|
(find_exec): Rename third paramter in declaration from search. Drop
|
|
|
|
equality sign from default value.
|
|
|
|
* spawn.cc (perhaps_suffix): Add PC_POSIX to path_conv::check call.
|
|
|
|
(find_exec): Simplify function. Iterate over POSIX pathlist rather
|
|
|
|
than Windows pathlist. Drop handling of FE_NATIVE flag. Always fill
|
|
|
|
posix path of incoming path_conv buf, unless FE_NNF flag is given.
|
|
|
|
(av::setup): Drop equality sign from environment variable name
|
|
|
|
in call to find_exec. Call unshift with normalized_path.
|
|
|
|
* winf.cc (av::unshift): Drop conv parameter and code converting
|
|
|
|
Windows to POSIX path.
|
|
|
|
* winf.h (av::unshift): Accommodate prototype.
|
|
|
|
|
2015-02-10 21:41:16 +01:00
|
|
|
2015-02-10 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* syscalls.cc (fhandler_base::stat_fixup): Generate unique inode number
|
|
|
|
for /dev/tty under all circumstances. Add to comment.
|
|
|
|
|
2015-02-06 18:09:50 +01:00
|
|
|
2015-02-06 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* common.din: Export cabsl, cimagl, creall, finitel, hypotl, sqrtl.
|
|
|
|
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
|
|
|
|
|
2015-02-06 18:08:10 +01:00
|
|
|
2015-02-06 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 35.
|
|
|
|
|
2015-02-06 12:41:56 +01:00
|
|
|
2015-02-06 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* fhandler_proc.cc (format_proc_cpuinfo): Enable multi-core fields
|
|
|
|
on Intel CPUs.
|
|
|
|
|
2015-02-04 12:03:36 +01:00
|
|
|
2015-02-04 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* common.din (wcstold): Export.
|
|
|
|
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
|
|
|
|
|
2015-02-03 14:15:49 +01:00
|
|
|
2015-02-03 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* mkvers.sh: Automate generating the copyright date in the version
|
|
|
|
resource.
|
|
|
|
* winver.rc: Ditto.
|
|
|
|
|
2015-01-28 12:43:06 +01:00
|
|
|
2015-01-28 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* Makefile.in (VERSION_OFILES): New variable containing object files
|
|
|
|
with version information. Use throughout.
|
|
|
|
(clean): Drop winver_stamp.
|
|
|
|
(version.cc winver.o): Drop empty rule.
|
|
|
|
(winver_stamp): Convert to rule targeting version.cc and winver.o
|
|
|
|
directly. Drop touching winver_stamp. Fix typo.
|
|
|
|
|
2015-01-24 21:05:08 +01:00
|
|
|
2015-01-24 Corinna Vinschen <corinna@vinschen.de>
|
2015-01-24 20:56:42 +01:00
|
|
|
|
|
|
|
* uname.cc (uname): Shorten "WOW64" to "WOW" to account for the new
|
|
|
|
Windows 10 OS version "10.0" starting with preview build 9926.
|
|
|
|
|
2015-01-23 11:46:22 +01:00
|
|
|
2015-01-23 Pierre A. Humblet <pierre@phumblet.no-ip.org>
|
|
|
|
|
|
|
|
* net.cc (cygwin_inet_pton): Declare.
|
|
|
|
(gethostby_specials): New function.
|
|
|
|
(gethostby_helper): Change returned addrtype in 4-to-6 case.
|
|
|
|
(gethostbyname2): Call gethostby_specials.
|
|
|
|
|
2015-01-22 14:46:12 +01:00
|
|
|
2015-01-22 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* fhandler.h (class fhandler_process): Add fd_type member.
|
|
|
|
* fhandler_process.cc (process_tab): Fix indentation.
|
|
|
|
(fhandler_process::exists): Rely on format_process_fd returning file
|
|
|
|
type in fd_type.
|
|
|
|
(struct process_fd_t): Add fd_type member.
|
|
|
|
(fhandler_process::fill_filebuf): Allow format_process_fd to set
|
|
|
|
this->fd_type member.
|
|
|
|
(format_process_fd): Fix path evaluation to allow recognizing trailing
|
|
|
|
path components. Fix check for file descriptor path component. Return
|
|
|
|
virt_symlink in fd_type if no trailing path compenents exist, return
|
|
|
|
virt_fsdir otherwise and copy full resulting path into destbuf.
|
|
|
|
* path.cc (path_conv::check): If /proc/$PID/fd symlink has trailing
|
|
|
|
path components, reparse resulting path as if it's the incoming path.
|
|
|
|
Add comment to wail over the outdated and hackish check method, and to
|
|
|
|
explain what we do here.
|
|
|
|
|
2015-01-21 21:40:33 +01:00
|
|
|
2015-01-21 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* uinfo.cc (pwdgrp::fetch_account_from_windows): Allow fetching gid,
|
|
|
|
home, shell and gecos info from NT4 domain.
|
|
|
|
|
2015-01-21 17:31:38 +01:00
|
|
|
2015-01-21 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* sec_auth.cc (get_logon_server): Constify domain parameter.
|
|
|
|
* security.h (get_logon_server): Same in prototype.
|
|
|
|
|
2015-01-20 19:23:20 +01:00
|
|
|
2015-01-20 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* common.din (sockatmark): Export.
|
|
|
|
* net.cc (sockatmark): New function.
|
|
|
|
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
|
|
|
|
|
2015-01-19 18:42:04 +01:00
|
|
|
2015-01-19 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* cygserver_ipc.h (ipc_retval): Add default constructor.
|
|
|
|
(class thread): struct->class. Add prototypes for new private methods
|
|
|
|
dup_signal_arrived and close_signal_arrived. Implement constructor and
|
|
|
|
destructor.
|
|
|
|
|
2015-01-16 17:19:37 +01:00
|
|
|
2015-01-16 Marco Atzeri <marco.atzeri@gmail.com>
|
|
|
|
Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* gendef: Export _sigbe on 64 bit as well.
|
|
|
|
* malloc_wrapper.cc (free): In malloc_printf, call caller_return_address
|
|
|
|
instead of __builtin_return_address.
|
|
|
|
(malloc): Ditto.
|
|
|
|
(realloc): Ditto.
|
|
|
|
(calloc): Ditto.
|
|
|
|
* miscfuncs.cc (__caller_return_address): New function.
|
|
|
|
* miscfuncs.h (caller_return_address): New macro calling
|
|
|
|
__caller_return_address.
|
|
|
|
(__caller_return_address): Add prototype.
|
|
|
|
|
2015-01-14 12:13:23 +01:00
|
|
|
2015-01-14 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* uinfo.cc (fetch_windows_home): Disable fetching from homeDrive or
|
|
|
|
usri3_home_dir_drive. Add comment.
|
|
|
|
|
2015-01-14 11:40:03 +01:00
|
|
|
2015-01-14 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* environ.cc (renv_arr): Drop variables not usually in a Windows
|
|
|
|
environment and all variables being uppercase anyway. But keep
|
|
|
|
TMP and TEMP for paranoia.
|
|
|
|
|
2015-01-14 11:31:14 +01:00
|
|
|
2015-01-14 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* environ.cc (build_env): When merging the user's Windows environment,
|
|
|
|
explicitely skip the variables needing conversion to avoid collisions.
|
|
|
|
Extend comment to explain.
|
|
|
|
|
2015-01-13 10:06:53 +01:00
|
|
|
2015-01-13 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* uinfo.cc (pwdgrp::fetch_account_from_windows): Drop code from
|
|
|
|
2014-11-17, always prepending domain to NT SERVICE accounts when
|
|
|
|
searching by name. Fix test expression to allow fully qualified
|
|
|
|
names for NT SERVICE accounts. Extend comment to explain a bit.
|
|
|
|
|
2015-01-12 17:38:02 +01:00
|
|
|
2015-01-12 Pierre A. Humblet <pierre@phumblet.no-ip.org>
|
|
|
|
|
|
|
|
* minires-os-if.c (cygwin_query): Change questions into answers.
|
|
|
|
|
2015-01-08 18:08:47 +01:00
|
|
|
2015-01-08 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* cygheap.h (cygheap_pwdgrp::get_shell): Add sid to argument list.
|
|
|
|
(cygheap_pwdgrp::get_gecos): Ditto.
|
|
|
|
* uinfo.cc (fetch_windows_home): Accept cyg_ldap and PUSER_INFO_3
|
|
|
|
arguments, and fetch db home dir values right here.
|
|
|
|
(fetch_from_path): Accept cyg_ldap, PUSER_INFO_3 pointers and sid
|
|
|
|
arguments. Add '%H' format specifier to fetch Windows home dir in
|
|
|
|
POSIX notation.
|
|
|
|
(cygheap_pwdgrp::get_home): Accommodate changes to fetch_windows_home
|
|
|
|
and fetch_from_path.
|
|
|
|
(cygheap_pwdgrp::get_shell): Ditto.
|
|
|
|
(cygheap_pwdgrp::get_gecos): Ditto.
|
|
|
|
(pwdgrp::fetch_account_from_windows): Accommodate sid argument to
|
|
|
|
cygheap_pwdgrp::get_shell and cygheap_pwdgrp::get_gecos.
|
|
|
|
|
2015-01-08 14:12:50 +01:00
|
|
|
2015-01-08 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* include/cygwin/socket.h (struct cmsghdr): Redefine cmsg_len as type
|
|
|
|
size_t. Add comment to explain why.
|
|
|
|
|
2015-01-08 10:37:16 +01:00
|
|
|
2015-01-08 Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
* localtime.cc (__cygwin_gettzoffset): New function for access from
|
|
|
|
newlib.
|
|
|
|
(__cygwin_gettzname): Ditto.
|
|
|
|
|
2015-01-07 22:27:22 +01:00
|
|
|
2015-01-07 Corinna Vinschen <corinna@vinschen.de>
|
* common.din (__fbufsize, __flbf, __fpending, __freadable, __freading,
__fsetlocking, __fwritable, __fwriting, clearerr_unlocked,
feof_unlocked, ferror_unlocked, fflush_unlocked, fgetc_unlocked,
fgets_unlocked, fgetwc_unlocked, fgetws_unlocked, fileno_unlocked,
fputc_unlocked, fputs_unlocked, fputwc_unlocked, fputws_unlocked,
fread_unlocked, fwrite_unlocked, getwc_unlocked, getwchar_unlocked,
putwc_unlocked, putwchar_unlocked): Export.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
2014-12-18 17:54:11 +01:00
|
|
|
|
2015-01-07 22:27:22 +01:00
|
|
|
* localtime.cc (tzload): Fix loading latest timezone offsets into
|
|
|
|
tzinfo from zoneinfo files. Add comment to explain what we do.
|
|
|
|
(tzparse): Add more comments to explain in case of loading timezone
|
|
|
|
offset from other sources.
|
* common.din (__fbufsize, __flbf, __fpending, __freadable, __freading,
__fsetlocking, __fwritable, __fwriting, clearerr_unlocked,
feof_unlocked, ferror_unlocked, fflush_unlocked, fgetc_unlocked,
fgets_unlocked, fgetwc_unlocked, fgetws_unlocked, fileno_unlocked,
fputc_unlocked, fputs_unlocked, fputwc_unlocked, fputws_unlocked,
fread_unlocked, fwrite_unlocked, getwc_unlocked, getwchar_unlocked,
putwc_unlocked, putwchar_unlocked): Export.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
2014-12-18 17:54:11 +01:00
|
|
|
|