newlib/winsup/cygwin
Christopher Faylor da086d020c * cygheap.cc (cygheap_user::set_name): Set homedrive and homepath to NULL on
user name change.
(cygheap_user::set_logsrv): Allocate enough space for leading \\ so that we can
put this in the environment, if needed.
* cygheap.h (homebodies): New enum.
(cygheap_user::homedrive): New field.
(cygheap_user::homepath): Ditto.
(cygheap_user::env_logsrv): New method.
(cygheap_user::env_homepath): New method.
(cygheap_user::env_homedrive): New method.
(cygheap_user::env_userprofile): New method.
(cygheap_user::ontherange): New method.
* environ.cc (envsize): Eliminate debugging argument.
(environ_init): Assume that envc counts number of elments not total size.
(spenv): New class.
(spenvs): New array, renamed from forced_winenv_vars, using spenv.
(spenv::retrieve): New method.
(build_env): Rename from 'winenv' -- one stop shopping for building new
environment blocks for both windows and "unix".
* environ.h (build_env: Declare.
(winenv): Delete declaration.
(envsize): Ditto.
* spawn.cc (spawn_guts): Use build_env to build windows and cygwin environment
blocks.
* uinfo.cc (internal_getlogin): Eliminate environment manipulation.  Default to
info from GetUserName if it exists.  Move HOMEPATH and HOMEDRIVE stuff
elsewhere.  Move HOME setting elsewhere.  Only set HOME environment variable in
processes that are not parented by a cygwin process.
(cygheap_user::ontherange): Define new method.
(cygheap_user::env_logsrv): Ditto.
(cygheap_user::env_homepath): Ditto.
(cygheap_user::env_homedrive): Ditto.
(cygheap_user::env_userprofile): Ditto.
2002-06-12 05:13:54 +00:00
..
config/i386 Update copyrights. 2001-09-11 20:01:02 +00:00
include revert erroneous checkin 2002-06-10 19:59:19 +00:00
lib * winsup.h: Remove alloca definition since it's now defined through 2001-11-14 10:47:54 +00:00
libc * Makefile.in: Add fnmatch.o to DLL_OFILES. 2002-01-17 10:39:37 +00:00
regex * hires.h (hires::usecs): Rename from utime. Accept an argument. 2002-02-15 17:06:40 +00:00
regexp Remove obsolete include. 2001-12-20 03:03:59 +00:00
CYGWIN_LICENSE Red Hatize 2001-10-12 01:51:21 +00:00
ChangeLog * cygheap.cc (cygheap_user::set_name): Set homedrive and homepath to NULL on 2002-06-12 05:13:54 +00:00
ChangeLog-1995 import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
ChangeLog-1996 import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
ChangeLog-1997 import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
ChangeLog-1998 fix spelling errors 2001-10-28 23:05:49 +00:00
ChangeLog-1999 fix spelling errors 2001-10-28 23:05:49 +00:00
ChangeLog-2000 fix spelling errors 2001-10-28 23:05:49 +00:00
ChangeLog-2001 restore missing entry 2002-01-01 16:49:52 +00:00
Makefile.in * Makefile.in: Ensure that -MD gets added to CFLAGS regardless of CFLAGS 2002-06-11 02:08:00 +00:00
ROADMAP hinfo -> dtable 2000-08-18 19:51:02 +00:00
acconfig.h * acconfig.h: Add support for NEWVFORK. 2000-07-16 17:38:41 +00:00
ansi.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
assert.cc * pinfo.cc (codepage_init): Move function. 2001-01-08 04:02:02 +00:00
autoload.cc * autoload.cc (timeGetDevCaps): Define new autoload function. 2002-06-07 03:44:33 +00:00
automode.c * autoload.c (cygwin_premain0): Add missing parameter. 2001-03-06 12:05:45 +00:00
binmode.c * autoload.c (cygwin_premain0): Add missing parameter. 2001-03-06 12:05:45 +00:00
child_info.h * child_info.h (CHILD_INFO_MAGIC): Oops. Revert previous change. gcc 3.1 bug? 2002-06-06 01:49:56 +00:00
config.h.in * dlmalloc.c: New file. Port of Doug Lea's malloc 2001-04-24 15:25:31 +00:00
configure * Makefile.in (VPATH): Add regex directory. 2001-12-20 02:55:11 +00:00
configure.in * Makefile.in (VPATH): Add regex directory. 2001-12-20 02:55:11 +00:00
cygerrno.h * debug.cc (set_errno): Return value of errno that was set, just like the 2001-10-22 21:09:41 +00:00
cygheap.cc * cygheap.cc (cygheap_user::set_name): Set homedrive and homepath to NULL on 2002-06-12 05:13:54 +00:00
cygheap.h * cygheap.cc (cygheap_user::set_name): Set homedrive and homepath to NULL on 2002-06-12 05:13:54 +00:00
cygmagic * cygmagic: Suppress error output when figuring out if sum takes an option. 2002-01-22 03:48:16 +00:00
cygrun.c Update copyrights. 2001-09-11 20:01:02 +00:00
cygserver.cc * cygserver.cc: Include stdlib.h for exit declaration. 2002-03-15 21:52:05 +00:00
cygserver_client.cc whitespace cleanup, update copyright 2002-03-13 02:34:05 +00:00
cygserver_process.cc * autoload.cc (LoadFuncEx): Define via new LoadFuncEx2 macro. 2002-05-28 01:55:40 +00:00
cygserver_shm.cc * autoload.cc (LoadFuncEx): Define via new LoadFuncEx2 macro. 2002-05-28 01:55:40 +00:00
cygserver_shm.h whitespace cleanup, update copyright 2002-03-13 02:34:05 +00:00
cygserver_transport.cc 2002-06-10 Robert Collins <rbtcollins@hotmail.com> 2002-06-09 23:02:00 +00:00
cygserver_transport_pipes.cc whitespace cleanup, update copyright 2002-03-13 02:34:05 +00:00
cygserver_transport_sockets.cc whitespace cleanup, update copyright 2002-03-13 02:34:05 +00:00
cygwin.din * Makefile.in: Ensure that -MD gets added to CFLAGS regardless of CFLAGS 2002-06-11 02:08:00 +00:00
cygwin.sc whitespace cleanup 2001-12-10 03:35:54 +00:00
cygwin_version.h Update copyrights. 2001-09-11 20:01:02 +00:00
dcrt0.cc * dcrt0.cc (dll_crt0_1): Initialize wincap and check for sanity before running 2002-06-10 17:08:09 +00:00
debug.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
debug.h * autoload.cc (LoadFuncEx): Define via new LoadFuncEx2 macro. 2002-05-28 01:55:40 +00:00
delqueue.cc * Makefile.in: Build wincap.o. 2001-09-12 17:46:37 +00:00
dir.cc * dir.cc (rmdir): Streamline. Detect attempts to remove directories from 2002-06-05 16:01:55 +00:00
dlfcn.cc * cygheap.h (cygheap_fdmanip::cygheap_fdmanip): Clear fh. 2001-10-31 00:55:32 +00:00
dll_init.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
dll_init.h revert patch 2002-04-19 14:42:20 +00:00
dll_init.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
dlmalloc.c * cygheap.cc (cfree): Remove malloc debugging probe. 2001-10-03 03:49:26 +00:00
dlmalloc.h * dlmalloc.c: New file. Port of Doug Lea's malloc 2001-04-24 15:25:31 +00:00
dtable.cc * Makefile.in: Ensure that -MD gets added to CFLAGS regardless of CFLAGS 2002-06-11 02:08:00 +00:00
dtable.h * dtable.cc (dtable::build_fhandler_from_name): Just pass posix path along to 2002-05-24 05:44:10 +00:00
dtable.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
environ.cc * cygheap.cc (cygheap_user::set_name): Set homedrive and homepath to NULL on 2002-06-12 05:13:54 +00:00
environ.h * cygheap.cc (cygheap_user::set_name): Set homedrive and homepath to NULL on 2002-06-12 05:13:54 +00:00
errno.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
exceptions.cc * autoload.cc (LoadFuncEx): Define via new LoadFuncEx2 macro. 2002-05-28 01:55:40 +00:00
exec.cc * Makefile.in: Ensure that -MD gets added to CFLAGS regardless of CFLAGS 2002-06-11 02:08:00 +00:00
external.cc * external.cc (cygwin_internal): Make v1 mount table access invalid. 2002-06-09 00:31:03 +00:00
external.sgml *** empty log message *** 2000-11-19 04:58:18 +00:00
fcntl.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
fhandler.cc * fhandler.cc (fhandler_base::fstat): Initialise tv_nsec member of 2002-06-06 15:35:09 +00:00
fhandler.h * fhandler.h (fhandler_socket::fixup_after_fork): Revert patch from 2002-06-10 11:07:44 +00:00
fhandler_clipboard.cc Remove fcntl.h includes throughout. 2002-06-05 01:42:28 +00:00
fhandler_console.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
fhandler_disk_file.cc * fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Correctly set 2002-06-10 01:25:47 +00:00
fhandler_dsp.cc Remove fcntl.h includes throughout. 2002-06-05 01:42:28 +00:00
fhandler_floppy.cc Remove fcntl.h includes throughout. 2002-06-05 01:42:28 +00:00
fhandler_mem.cc Remove fcntl.h includes throughout. 2002-06-05 01:42:28 +00:00
fhandler_proc.cc Remove fcntl.h includes throughout. 2002-06-05 01:42:28 +00:00
fhandler_process.cc * fhandler.cc (fhandler_base::fstat): Initialise tv_nsec member of 2002-06-06 15:35:09 +00:00
fhandler_random.cc Remove fcntl.h includes throughout. 2002-06-05 01:42:28 +00:00
fhandler_raw.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
fhandler_registry.cc Remove fcntl.h includes throughout. 2002-06-05 01:42:28 +00:00
fhandler_serial.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
fhandler_socket.cc * fhandler.h (fhandler_socket::fixup_after_fork): Revert patch from 2002-06-10 11:07:44 +00:00
fhandler_tape.cc Remove fcntl.h includes throughout. 2002-06-05 01:42:28 +00:00
fhandler_termios.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
fhandler_tty.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
fhandler_virtual.cc Remove fcntl.h includes throughout. 2002-06-05 01:42:28 +00:00
fhandler_windows.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
fhandler_zero.cc Remove fcntl.h includes throughout. 2002-06-05 01:42:28 +00:00
fork.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
gcrt0.c Update copyrights. 2001-09-11 20:01:02 +00:00
glob.c * fhandler.cc (fhandler_base::fstat): Initialise tv_nsec member of 2002-06-06 15:35:09 +00:00
gmon.c 2002-05-25 Robert Collins <rbtcollins@hotmail.com> 2002-05-24 14:24:33 +00:00
gmon.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
grp.cc * dtable.cc (handle_to_fn): Check error return value from NtQueryObject first 2002-06-05 15:43:49 +00:00
heap.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
heap.h * heap.h (inheap): Check for NULL. 2001-10-05 04:36:14 +00:00
hires.h * autoload.cc (timeGetDevCaps): Define new autoload function. 2002-06-07 03:44:33 +00:00
how-cygheap-works.txt fix spelling errors 2001-10-28 23:05:49 +00:00
how-fhandlers-work.txt . 2002-05-04 04:30:57 +00:00
how-signals-work.txt typo, words. 2001-09-22 01:29:07 +00:00
how-spawn-works.txt new how-to. 2002-02-11 02:25:42 +00:00
how-to-debug-cygwin.txt add more words 2002-01-30 02:44:21 +00:00
how-vfork-works.txt * fhandler.h (fhandler_pipe::hit_eof): New method. 2001-09-24 21:50:44 +00:00
init.cc Throughout, rename PROC_FORK1 to PROC_FORK. 2001-10-10 02:32:12 +00:00
ioctl.cc Add copyright stuff 2002-01-13 20:03:03 +00:00
ipc.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
localtime.cc * localtime.cc (tzsetwall): Use wildabbr if generated timezone name 2002-05-07 13:18:44 +00:00
malloc_wrapper.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
mcount.c * sigproc.cc (sig_send): Eliminate sync_sig_send synchronization since it 2000-03-07 18:32:40 +00:00
misc-std.sgml clean up SGML for latest version of jade/docbook 2000-04-19 00:55:19 +00:00
miscfuncs.cc * debug.cc (makethread): Eliminate unneeded function call. 2001-11-30 06:19:58 +00:00
mkvers.sh Add copyright stuff 2002-01-13 20:03:03 +00:00
mmap.cc Remove unneeded sigproc.h includes throughout. 2002-06-02 06:07:01 +00:00
net.cc * include/sys/strace.h (strace): Avoid use of constructor. 2002-06-10 19:58:21 +00:00
newsym * Makefile.in (VPATH): Add regex directory. 2001-12-20 02:55:11 +00:00
ntdll.h * autoload.cc: Replace autoload statments for ZwXXX by NtXXX. 2002-05-30 07:45:30 +00:00
ntea.cc Update copyrights. 2001-09-11 20:01:02 +00:00
passwd.cc * dtable.cc (handle_to_fn): Check error return value from NtQueryObject first 2002-06-05 15:43:49 +00:00
path.cc fix comment 2002-06-11 23:30:48 +00:00
path.h Remove fcntl.h includes throughout. 2002-06-05 01:42:28 +00:00
path.sgml revert. 2001-06-01 01:45:53 +00:00
perprocess.h * dlopen.c (dlopen): Return NULL when name is NULL (suggested by 2001-03-05 06:28:25 +00:00
perthread.h * debug.cc (makethread): Eliminate unneeded function call. 2001-11-30 06:19:58 +00:00
pinfo.cc * pinfo.cc (pinfo_dummy): Initialize to correct size. 2002-06-09 03:54:07 +00:00
pinfo.h * Makefile.in: Ensure that -MD gets added to CFLAGS regardless of CFLAGS 2002-06-11 02:08:00 +00:00
pipe.cc Remove fcntl.h includes throughout. 2002-06-05 01:42:28 +00:00
poll.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
posix.sgml clean up SGML for latest version of jade/docbook 2000-04-19 00:55:19 +00:00
profil.c Update copyrights. 2001-09-11 20:01:02 +00:00
profil.h Update copyrights. 2001-09-11 20:01:02 +00:00
pthread.cc 2002-06-10 Robert Collins <rbtcollins@hotmail.com> 2002-06-10 01:10:45 +00:00
pwdgrp.h * grp.cc (etc_group): Removed. 2002-06-05 11:10:15 +00:00
registry.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
registry.h Update copyrights. 2001-09-11 20:01:02 +00:00
resource.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
rmsym * Makefile.in (VPATH): Add regex directory. 2001-12-20 02:55:11 +00:00
scandir.cc * lib/getopt.c: Use __progname==__argv[0] when not compiling for cygwin. 2001-09-19 15:54:12 +00:00
sched.cc Remove unneeded sigproc.h includes throughout. 2002-06-02 06:07:01 +00:00
sec_acl.cc Remove unneeded sigproc.h includes throughout. 2002-06-02 06:07:01 +00:00
sec_helper.cc * sec_helper.cc (lookup_name): Suppress. 2002-06-06 11:17:51 +00:00
security.cc * Makefile.in: Ensure that -MD gets added to CFLAGS regardless of CFLAGS 2002-06-11 02:08:00 +00:00
security.h * sec_helper.cc (lookup_name): Suppress. 2002-06-06 11:17:51 +00:00
select.cc Remove unneeded sync.h, where appropriate, throughout. Remove unneeded heap.h, 2002-05-25 02:22:50 +00:00
select.h Update copyrights. 2001-09-11 20:01:02 +00:00
shared.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
shared.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
shared_info.h * path.cc: Change MOUNT_AUTO to MOUNT_CYGDRIVE throughout. 2002-06-09 00:48:38 +00:00
shm.cc * sec_helper.cc (lookup_name): Suppress. 2002-06-06 11:17:51 +00:00
shortcut.c * winsup.h: Reorganize to avoid use of experimental stuff. 2001-11-28 02:36:32 +00:00
shortcut.h * shortcut.c: New file. Provides a C interface to reading of 2001-02-22 12:56:36 +00:00
signal.cc Remove unneeded sync.h, where appropriate, throughout. Remove unneeded heap.h, 2002-05-25 02:22:50 +00:00
sigproc.cc * sync.h (new_muto): Just accept an argument which denotes the name of the 2002-02-22 19:33:41 +00:00
sigproc.h Remove unneeded sigproc.h includes throughout. 2002-06-02 06:07:01 +00:00
smallprint.c * smallprint.c (__small_vsprintf): Implement '%o' after all these years. 2002-05-23 06:00:49 +00:00
spawn.cc * cygheap.cc (cygheap_user::set_name): Set homedrive and homepath to NULL on 2002-06-12 05:13:54 +00:00
speclib * speclib: Ensure that temporary def file is removed. 2002-01-24 21:39:09 +00:00
stackdump.sgml new description for old api. 2002-04-04 05:28:49 +00:00
strace.cc * autoload.cc (timeGetDevCaps): Define new autoload function. 2002-06-07 03:44:33 +00:00
string.h * string.h (cygwin_strchr): Make 'static inline' so that things will still work 2001-05-06 16:00:23 +00:00
strsep.cc import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
sync.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
sync.h * sync.h (new_muto): Just accept an argument which denotes the name of the 2002-02-22 19:33:41 +00:00
syscalls.cc * spawn.cc (spawn_guts): More hToken removal cleanup. 2002-06-11 16:06:16 +00:00
sysconf.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
syslog.cc * fhandler.cc (fhandler_base::fork_fixup): Don't protect handle. 2001-10-15 23:39:33 +00:00
termios.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
textmode.c * autoload.c (cygwin_premain0): Add missing parameter. 2001-03-06 12:05:45 +00:00
thread.cc /tmp/cvs610a0a90.1 2002-06-10 02:40:13 +00:00
thread.h * spawn.cc (spawn_guts): More hToken removal cleanup. 2002-06-11 16:06:16 +00:00
threaded_queue.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
threaded_queue.h 2002-02-28 Robert Collins <rbtcollins@hotmail.com> 2002-02-28 14:30:38 +00:00
times.cc * fhandler_socket.cc (fhandler_socket::fstat): Don't assume that socket is 2002-06-08 01:24:58 +00:00
tty.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
tty.h Update copyright. 2002-03-05 18:03:32 +00:00
tz_posixrules.h Move appropriate variables to NO_COPY segment, throughout. 2001-09-06 05:17:22 +00:00
uinfo.cc * cygheap.cc (cygheap_user::set_name): Set homedrive and homepath to NULL on 2002-06-12 05:13:54 +00:00
uname.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
wait.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
winbase.h * debug.cc (makethread): Eliminate unneeded function call. 2001-11-30 06:19:58 +00:00
wincap.cc * dcrt0.cc (dll_crt0_1): Initialize wincap and check for sanity before running 2002-06-10 17:08:09 +00:00
wincap.h * dcrt0.cc (dll_crt0_1): Initialize wincap and check for sanity before running 2002-06-10 17:08:09 +00:00
window.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
winsup.h * fhandler.cc (fhandler_base::fstat): Initialise tv_nsec member of 2002-06-06 15:35:09 +00:00
winver.rc * winver.rc: Change copyright to include 2001. 2001-09-05 19:36:49 +00:00
wsock_event.h * dtable.cc (dtable::dup2): Revert previous patch. 2002-02-09 10:40:48 +00:00