newlib/winsup/cygwin/include/sys
Corinna Vinschen edab6053a2 * winsup.h (NT_MAX_PATH): Revert ill-advised change to 32767.
Accommodate change throughout.

	* cygwin.din (cygwin_conv_path): Export.
	(cygwin_conv_path_list): Export.
	(cygwin_create_path): Export.
	* dcrt0.cc (dll_crt0_1): Use cygwin_conv_path.
	* dtable.cc (handle_to_fn): Ditto.  Don't expect UNICODE_STRING being
	0-terminated.
	* environ.cc (env_plist_to_posix): New helper function.
	(env_plist_to_win32): Ditto.
	(env_path_to_posix): Ditto.
	(env_path_to_win32): Ditto.
	(return_MAX_PATH): Remove.
	(conv_envvars): Use new helper functions.  Drop removed members.
	(win_env::operator =): Accommodate removal of path length functions.
	(win_env::add_cache): Accommodate new env helper function API.
	(posify): Ditto.
	* environ.h (struct win_env): Ditto. Remove path length function
	pointers since they are unused.
	* path.cc (warn_msdos): Use cygwin_conv_path.
	(getfileattr): Use new tmp_pathbuf::u_get method.
	(fillout_mntent): Ditto.
	(symlink_info::check): Ditto.
	(path_conv::check): Use sizeof (WCHAR) instead of constant 2.
	(symlink_info::check_reparse_point): Ditto.
	(conv_path_list): Get max size of target string as argument.  Call
	cygwin_conv_path as helper function.
	(cygwin_conv_path): New function.
	(cygwin_create_path): New function.
	(cygwin_conv_to_win32_path): Just call cygwin_conv_path with size set
	to MAX_PATH.
	(cygwin_conv_to_full_win32_path): Ditto.
	(cygwin_conv_to_posix_path): Ditto.
	(cygwin_conv_to_full_posix_path): Ditto.
	(conv_path_list_buf_size): Add FIXME comment.
	(env_PATH_to_posix): Rename from env_win32_to_posix_path_list.
	Add size argument as required for env helper functions.
	(cygwin_win32_to_posix_path_list): Call conv_path_list with size set to
	MAX_PATH.
	(cygwin_posix_to_win32_path_list): Ditto.
	(cygwin_conv_path_list): New function.
	(cwdstuff::get): Fix length argument in call to sys_wcstombs.
	* spawn.cc (find_exec): Use cygwin_conv_path_list.
	* tls_pbuf.h (tmp_pathbuf::u_get: New method.
	* uinfo.cc (cygheap_user::ontherange): Allocate temporary path buffers
	using tmp_pathbuf.  Use cygwin_conv_path.
	* winf.cc (av::unshift): Use cygwin_conv_path.
	* include/cygwin/version.h: Bump API minor number.
	* include/sys/cygwin.h: Comment out old cygwin32_XXX API.
	Mark old path handling API as deprecated.
	(cygwin_conv_path_t): Typedef.  Define values.
	(cygwin_conv_path): Declare.
	(cygwin_create_path): Declare.
	(cygwin_conv_path_list): Declare.
2008-03-12 12:41:50 +00:00
..
acl.h
copying.dj
cygwin.h * winsup.h (NT_MAX_PATH): Revert ill-advised change to 32767. 2008-03-12 12:41:50 +00:00
dirent.h * dcrt0.cc (initial_env): Use PATH_MAX instead of CYG_MAX_PATH for path 2007-12-06 18:24:06 +00:00
elf32.h
elf64.h
elf_common.h
elf_generic.h
file.h
ioctl.h * include/sys/ioctl.h: Pick up termios.h, for TIOCGWINSZ. 2006-12-06 14:08:08 +00:00
ipc.h
kd.h * fhandler.h (class dev_console): Add `metabit' indicating the 2006-07-03 15:29:10 +00:00
lock.h
mman.h * cygwin.din (shm_open): Export. 2007-02-08 13:36:53 +00:00
mount.h
msg.h
mtio.h
param.h * include/sys/param.h (MAXPATHLEN): Define as PATH_MAX. 2007-10-18 10:42:43 +00:00
poll.h * fhandler_socket.cc (fhandler_socket::recv_internal): Fix a problem 2006-07-31 14:27:56 +00:00
procfs.h
queue.h * Makefile.in (DLL_OFILES): Add xsique.o. 2007-06-12 15:24:46 +00:00
resource.h
select.h
sem.h
shm.h
smallprint.h
socket.h 2006-07-25 Corinna Vinschen <corinna@vinschen.de> 2006-07-25 19:23:23 +00:00
soundcard.h
statfs.h
statvfs.h
stdio.h Perform whitespace cleanup throughout. 2008-02-15 17:53:11 +00:00
strace.h
syslimits.h * fhandler.cc (check_posix_perm): Moved here from syscalls.cc. 2006-11-07 17:59:54 +00:00
syslog.h
sysmacros.h
sysproto.h
termio.h
termios.h * cygmalloc.h (MALLOC_FAILURE_ACTION): Define empty. 2007-02-07 17:22:40 +00:00
ttychars.h
uio.h
un.h
utime.h
utmp.h
utsname.h
vfs.h
wait.h * include/sys/wait.h: Move definition of wait constants from here... 2006-06-12 14:25:05 +00:00