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
2008-12-22* pipe.cc (getov_result): Minor cleanup.Christopher Faylor
2008-12-21* pipe.cc (getov_result): Add parameters to facilitate better EOF checking.Christopher Faylor
(pipe_handler): Pass extra arguments to getov_result.
2008-12-20* fhandler.cc (fhandler_base::wait_overlapped): Reorganize to eliminate gotosChristopher Faylor
and to hopefully eliminate one race when a signal is detected or there is a WFMO error.
2008-12-20* pinfo.h (pinfo::thisproc): Declare. Rename from set_myself.Christopher Faylor
* pinfo.cc (pinfo::thisproc): Define. Rename from set_myself. Set procinfo to NULL to avoid confusing subsequent init. (pinfo_init): Accommodate set_myself -> pinfo::thisproc rename. * dcrt0.cc (child_info_fork::handle_fork): Ditto. (child_info_spawn::handle_spawn): Ditto.
2008-12-20 * pwdgrp.h (pwdgrp::refresh): Fix indentation.Corinna Vinschen
* uinfo.cc (pwdgrp::load): Open file synchronized to avoid truncated read. Drop local variable off.
2008-12-202008-12-16 Danny Smith <dannysmith@users.sourceforge.net>Chris Sutcliffe
* msvcrt.def.in (___lc_codepage_func, ___lc_collate_cp_func, ___lc_handle_func, ___mb_cur_max_func, ___setlc_active_func, ___unguarded_readlc_active_add_func, __crtCompareStringW, __crtGetStringTypeW, __crtLCMapStringW, __pctype_func, __pwctype_func, __iob_func, __uncaught_exception, __wcserror, __CxxDetectRethrow, __CxxExceptionFilter, __CxxQueryExceptionSize, __CxxRegisterExceptionObject, __CxxUnregisterExceptionObject, __CxxCallUnwindDtor, __DestructExceptionObject, _aligned_free, _aligned_malloc, _aligned_offset_malloc, _aligned_offset_realloc, _aligned_realloc, _cgetws, _cputws, _cwprintf, _cwscanf, _getwch, _getwche, _putwch, _resetstkoflw, _scprintf, _scwprintf, _set_SSE2_enable, _snscanf, _snwscanf, _strtoi64, _strtoui64, _ungetwch, _vscprintf, _vscwprintf, _wcserror, _wcstoi64, _wcstoui64, _wctype, _wtof, _get_heap_handle): Always export.
2008-12-19* pinfo.cc (pinfo_basic): New class.Christopher Faylor
(pinfo_basic::pinfo_basic): Define constructor for new class. (myself): Initialize from myself_initial. (set_myself): Set pid and progname from already myself_initial. * strace.cc (strace::strace): Split apart strace::hello. Send notification to strace as early as possible. (strace::hello): Just send clause which describes the current process. This can now be preceded by early initialization strace output. * include/sys/strace.h (strace::strace): Declare new constructor.
2008-12-19 * fhandler_registry.cc (perf_data_files): New table.Corinna Vinschen
(PERF_DATA_FILE_COUNT): New constant. (fhandler_registry::exists): Add check for HKEY_PERFORMANCE_DATA value names. (fhandler_registry::fstat): For HKEY_PERFORMANCE_DATA, return default values only. (fhandler_registry::readdir): For HKEY_PERFORMANCE_DATA, list names from perf_data_files only. (fhandler_registry::fill_filebuf): Use larger buffer to speed up access to HKEY_PERFORMANCE_DATA values. Remove check for possible subkey. Add RegCloseKey (). (open_key): Replace goto by break, remove label. Do not try to open subkey of HKEY_PERFORMANCE_DATA. Add missing RegCloseKey () after open subkey error.
2008-12-19 * path.cc (path_conv::check): Handle incoming DOS paths non-POSIXy,Corinna Vinschen
always case-insensitive, always ignoring ACLs.
2008-12-18 * fhandler_disk_file.cc: Set 4th parameter of NtQueryDirectoryFile toCorinna Vinschen
NULL throughout. (fhandler_disk_file::facl): Fix a condition so that fstat_by_handle is actually used. (fhandler_disk_file::readdir): Don't print debug message on a simple STATUS_NO_MORE_FILES status code.
2008-12-18 * path.cc (symlin_info::check): Set 4th parameter ofCorinna Vinschen
NtQueryDirectoryFile to NULL instead of 0 since it's a pointer. Simplify label and break from loop handling in symlink evaluation conditional expression. Drop a now useless break statement. Fix behaviour when searching for `foo' and then finding a `foo.lnk' which is no shortcut.
2008-12-16 * utils.sgml: Fix typo in passwd screen text.Corinna Vinschen
2008-12-16 * fhandler_registry.cc (DEFAULT_VALUE_NAME): Remove constant.Corinna Vinschen
(encode_regname): Encode empty (default) name to "@". Encode "@" to "%40". Change error return to -1. (decode_regname): Decode "@" to empty name. Decode "%40" to "@". (fhandler_registry::exists): Skip check for keys if name is empty. Remove check for DEFAULT_VALUE_NAME, now handled by decode_regname (). (fhandler_registry::readdir): Remove check for empty name, now handled by encode_regname (). (fhandler_registry::open): Remove check for DEFAULT_VALUE_NAME. (fhandler_registry::open_key): Fail with ENOENT if key name is empty.
2008-12-15 * syscalls.cc (gen_full_path_at): Use isabspath instead of isdirsepCorinna Vinschen
to recognize absolute path.
2008-12-15 * sec_auth.cc (open_local_policy): Set lsa handle toCorinna Vinschen
INVALID_HANDLE_VALUE when LsaOpenPolicy fails. Explain why.
2008-12-15 * setlsapwd.cc (setlsapwd): Simplify code. Only try to call cygserverCorinna Vinschen
if opening local policy fails. Don't treat removing non-existant private data as error.
2008-12-15 * setpwd.cc (client_request_setpwd::serve): Don't treat removingCorinna Vinschen
non-existant private data as error.
2008-12-15 * setlsapwd.cc (setlsapwd): Explicitely erase password buffer contentCorinna Vinschen
after usage.
2008-12-15 * setpwd.cc (client_request_setpwd::serve): Explicitely erase passwordCorinna Vinschen
buffer content after usage.
2008-12-15 * passwd.c (main): Put how to delete the registry password on its ownCorinna Vinschen
line in passwd -R output.
2008-12-15 * fhandler_registry.cc (fhandler_registry::exists): Handle EACCES.Corinna Vinschen
(fhandler_registry::open): Ditto.
2008-12-15 * cygwin.din: Export fgetwc, fgetws, fputwc, fputws, fwide, getwc,Corinna Vinschen
getwchar, putwc, putwchar, ungetwc. * posix.sgml: Move above functions (add missing) into "implemented SUSv3" section. * include/cygwin/version.h: Bump api minor number.
2008-12-15 * fhandler.h (class fhandler_registry): Declare dup method.Corinna Vinschen
* fhandler_registry.cc (fhandler_registry::exists): Fix missing parenthesis. (fhandler_registry::dup): New method.
2008-12-15 * gcc.sgml: Use 'bash$' as Cygwin prompt throughout.Corinna Vinschen
* gdb.sgml: Ditto. * pathnames.sgml: Ditto. Fix the @ expansion example.
2008-12-14* fhandler_disk_file.cc (readdir_get_ino): Don't complain about MS-DOS pathsChristopher Faylor
since the function could be fed one by an internal call.
2008-12-14* utils.sgml: Convert some backslashes to slashes.Christopher Faylor
2008-12-14* pathnames.sgml: Convert some backslashes to slashes.Christopher Faylor
2008-12-14* cygheap.cc (cygheap_user::~cygheap_user): Remove unneeded if 0'ed code.Christopher Faylor
* fhandler_registry.cc (fhandler_registry::exists): Recode goto as if/else to avoid a gcc4 compiler warning. (fhandler_registry::open): Ditto. Use one goto rather than two. * gentls_offsets: Fix compiler warning in generated output. * tlsoffsets.h: Regenerate. * mount.cc (fillout_mntent): slashify native paths returned via getmntent.
2008-12-12 * pathnames.sgml: New section for /proc/registry. Document registryCorinna Vinschen
name encoding.
2008-12-09 * resolv.h: #include <netinet/in.h> for sockaddr_in typedef.Corinna Vinschen
2008-12-09Committed as obvious.Danny Smith
2008-12-08 Dmitry G. Gorbachev <d.g.gorbachev@gmail.com> * cpu_features.c (__cpu_features_init): Remove erroneous ';'.
2008-12-08 * fhandler_registry.cc (encode_regname): Add Parameter add_val.Corinna Vinschen
Append "%val" if add_val is set. (decode_regname): Remove trailing "%val". Change returncode accordingly. (__DIR_hash): New class. (d_hash): New macro. (key_exists): New function. (fhandler_registry::exists): Remove encode of registry name before path compare, decode file part of path instead. Skip checks for keys if trailing "%val" detected. (fhandler_registry::fstat): Change check of return value of decode_regname (). (fhandler_registry::readdir): Allocate __DIR_hash. Record key names in hash table. Append "%val" if key with same name exists. Fix error handling of encode_regname (). Set dirent.d_type. (fhandler_registry::closedir): Delete __DIR_hash. (fhandler_registry::open): Don't open key if trailing "%val" detected by decode_regname (). (open_key): Ditto.
2008-12-062008-12-05 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe
* include/w32api.h: Increment version to 3.13. * Makefile.in: Ditto.
2008-12-062008-12-05 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe
* lib/glut.def: remove. * lib/glut32.def: ditto.
2008-12-04 * ntsec.sgml: Fix typo.Corinna Vinschen
2008-12-03 * libc/minires.c (open_sock): Set non blocking and close on exec.Corinna Vinschen
(res_ninit): Set id pseudo-randomly. (res_nsend): Do not set close on exec. Initialize server from id. Flush socket. Tighten rules for answer acceptance. (res_nmkquery): Update id using current data.
2008-12-03 * ntsec.sgml: Revamp parts of the doc for clearness.Corinna Vinschen
2008-12-02 * ntsec.sgml: Fix a few typos.Corinna Vinschen
2008-12-02 * cygserver.sgml: Fix cross reference to the ntsec documentation.Corinna Vinschen
2008-12-02 * cygserver.sgml: Document new feature to store hidden passwordsCorinna Vinschen
for seteuid.
2008-12-02 * ntsec.sgml: Finishing up changes for 1.7.Corinna Vinschen
2008-12-02 * fhandler_registry.cc (must_encode): Fix condition changed for testing.Corinna Vinschen
2008-12-02 * fhandler_registry.cc (must_encode): New function.Corinna Vinschen
(encode_regname): Ditto. (decode_regname): Ditto. (fhandler_registry::exists): Encode name before path compare. (fhandler_registry::fstat): Pass decoded name to win32 registry call. (fhandler_registry::readdir): Return encoded name to user. (fhandler_registry::open): Store decoded name into value_name. (open_key): Pass decoded name to win32 registry call.
2008-12-01 * ntsec.sgml: Further changes for 1.7. Switch from "NT" to "Windows".Corinna Vinschen
Add preliminary text. Try to be more clear in description. Remove useless chapters. Finish the permission related chapters.
2008-12-01fix typoChristopher Faylor
2008-12-01* faq-using.xml: Remove assertion that lpr doesn't exit.Christopher Faylor
* faq-what.xml: Remove ancient who's who data.
2008-11-29* exceptions.c (sigpacket::process): Set tls on return since it is assumed toChristopher Faylor
be set to a valid value by the caller.
2008-11-29* include/cygwin/version.h: Bump api minor number to 189 to flag theChristopher Faylor
implementation of dirent.d_type.
2008-11-28* exceptions.cc (sigpacket::process): Rework previous change. tls could stillChristopher Faylor
become NULL.
2008-11-28 * dir.cc (readdir_worker): Initialize dirent.d_type and __d_unused1.Corinna Vinschen
* fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Set dirent.d_type based on FILE_ATTRIBUTE_*. * include/sys/dirent.h: Define _DIRENT_HAVE_D_TYPE (enables DT_* declarations). (struct dirent): Add d_type. Adjust __d_unused1 size to preserve layout.