newlib-cygwin/winsup
Corinna Vinschen 752b16ce35 * Makefile.in (DLL_OFILES): Add tls_pbuf.o.
* autoload.cc (CreateDesktopW): Replace CreateDesktopA.
	(CreateWindowStationW): Replace CreateWindowStationA.
	(GetUserObjectInformationW): Replace GetUserObjectInformationA.
	* cygheap.h (cwdstuff::get): Assume default buffer size NT_MAX_PATH.
	* cygtls.cc (_cygtls::remove): Free temporary TLS path buffers.
	* cygtls.h (TP_NUM_C_BUFS): Define.
	(TP_NUM_W_BUFS): Define.
	(class tls_pathbuf): New class to store pointers to thread local
	temporary path buffers.
	(_local_storage::pathbufs): New member.
	* environ.cc (win_env::add_cache): Use temporary TLS path buffer instead
	of stack based buffer.
	(posify): Get temporary outenv buffer from calling function.
	(environ_init): Create temporary TLS path buffer for posify.
	(build_env): Create Windows environment block as WCHAR buffer.
	* environ.h (build_env): Change declaration accordingly.
	* external.cc (sync_winenv): Accommodate build_env change.
	* fhandler_console.cc (fhandler_console::need_invisible): Use
	GetUserObjectInformationW and CreateWindowStationW.
	* fhandler_process.cc (format_process_maps): Use temporary TLS path
	buffer instead of stack based buffer.
	* fork.cc (frok::parent): Convert to use CreateProcessW.
	* path.cc: Throughout use temporary TLS path buffers instead of stack
	based buffer.  Replace checks for CYG_MAX_PATH by checks for
	NT_MAX_PATH.
	(getfileattr): New function to replace GetFileAttributesA.
	(normalize_win32_path): Remove Win32 and NT long path prefixes.
	(getwd): Assume PATH_MAX + 1 buffer per SUSv3.
	* path.h (class path_conv): Set path buffer to size NT_MAX_PATH.
	(iswdrive): Define.
	* pinfo.cc (commune_process): Use temporary TLS path buffer instead of
	stack based buffer.
	* registry.cc (get_registry_hive_path): Ditto.
	(load_registry_hive): Ditto.
	* spawn.cc (spawn_guts): Convert to use CreateProcessW and
	CreateProcessAsUserW.
	(av::fixup): Open/close file using NtOpenFile/NtClose.
	* syscalls.cc (mknod_worker): Allow PATH_MAX file name.
	(mknod32): Ditto.
	(getusershell): Ditto.
	* tls_pbuf.cc: New file implementing tls_pathbuf and tmp_pathbuf
	methods.
	* tls_pbuf.h: New header for files using tmp_pathbuf.
	* tlsoffsets.h: Regenerate.
	* winsup.h (NT_MAX_PATH): Define as 32767 to avoid USHORT overflow.
2008-03-07 11:24:51 +00:00
..
cygserver * bsd_helper.cc: Replace %E __small_printf format specifier with %lu 2008-02-06 22:30:38 +00:00
cygwin * Makefile.in (DLL_OFILES): Add tls_pbuf.o. 2008-03-07 11:24:51 +00:00
doc * faq-using.xml (faq.using.bloda): New entry. 2007-12-29 18:20:13 +00:00
lsaauth Initial release of the Cygwin LSA authentication package. 2006-11-27 13:05:54 +00:00
mingw 2008-02-28 Joseph Myers <joseph@codesourcery.com> 2008-03-04 02:42:44 +00:00
testsuite fix typo 2006-08-03 03:59:27 +00:00
utils * mkpasswd.c (main): Simplify generating SYSTEM entry. Add entries 2008-02-28 11:11:12 +00:00
w32api 2008-02-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> 2008-02-24 10:57:02 +00:00
COPYING * CYGWIN_LICENSE: Restrict to v2. 2006-01-29 18:06:24 +00:00
CYGWIN_LICENSE * CYGWIN_LICENSE: Fix URL to world-wide offices. 2007-07-06 19:55:43 +00:00
ChangeLog * configure: Regenerate. 2007-08-31 23:11:04 +00:00
Makefile.common * Makefile.common (CFLAGS_COMMON): Add -Wstrict-aliasing. 2005-10-11 18:17:59 +00:00
Makefile.in * Makefile.in (subauth): Drop rule. 2006-12-12 20:26:27 +00:00
README Add top-level README 2006-01-27 05:37:13 +00:00
acinclude.m4 update to newer autoconf 2006-05-24 16:59:03 +00:00
aclocal.m4 * Makefile.in: Make installation of CYGWIN_LICENSE configurable. 2006-08-30 13:05:46 +00:00
configure * configure: Regenerate. 2007-08-31 23:11:04 +00:00
configure.in * Makefile.in (subauth): Drop rule. 2006-12-12 20:26:27 +00:00

README

THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Cygwin documentation is available on the net at http://cygwin.com
You might especially be interested in

http://cygwin.com/faq/faq.programming.html#faq.programming.building-cygwin