newlib/winsup/cygwin
Christopher Faylor 7e24f1bf3a * path.cc (cwd_win32): Eliminate.
(cwd_posix): Eliminate.
(cwd_hash): Eliminate.
(cwdstuff::init): Rename from cwd_init.
(cwdstuff::fixup_after_exec): Rename from cwd_fixup_after_exec.
(cwdstuff::get): Rename from get_cwd_inner.
(normalize_posix_path): Eliminate cwd argument.  Just calculate when necessary.
(normalize_win32_path): Ditto.
(mount_info::conv_to_win32_path): Eliminate cwd retrieval here.
(mount_info::conv_to_posix_path): Ditto.
(hash_path_name): Accomodate additional methods in cwdstuff.
(get_cwd_win32): Eliminate.
(getcwd): Use cwdstuff methods.  Properly handle case where buf == NULL and len
< 0.
(cwdstuff::get_hash): New method.
(cwdstuff::get_initial): New method.
(cwdstuff::set): New method.
(cwdstuff::get): New method.
(cwdstuff::copy): New method.
* path.h: Move cwdstuff struct here.  Add a bunch of stuff to cwdstuff.  Make
cygcwd an extern.
* spawn.cc (spawn_guts): Use copy method to get copies of cwd info to pass to
execed process.
* dcrt0.cc (dll_crt0_1): Use cygcwd methods for cwd initialization.
2000-09-05 03:16:28 +00:00
..
config/i386 import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
include * dcrt0.cc (dll_crt0_1): Move set_os_type. 2000-08-26 01:36:20 +00:00
lib * include/cygwin/cygwin_dll.h: Update for modern compilers. 2000-07-29 04:19:24 +00:00
regexp add winsup.h 2000-08-02 20:13:18 +00:00
CYGWIN_LICENSE import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
ChangeLog * path.cc (cwd_win32): Eliminate. 2000-09-05 03:16:28 +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 import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
ChangeLog-1999 Update. 2000-02-21 03:18:37 +00:00
Makefile.in * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +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 * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
autoload.h * exceptions.cc: Remove unneeded include. 2000-06-01 05:57:54 +00:00
binmode.c Minor formatting change. 2000-07-28 23:21:04 +00:00
child_info.h * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
config.h.in * acconfig.h: Add support for NEWVFORK. 2000-07-16 17:38:41 +00:00
configure * acconfig.h: Add support for NEWVFORK. 2000-07-16 17:38:41 +00:00
configure.in * acconfig.h: Add support for NEWVFORK. 2000-07-16 17:38:41 +00:00
cygerrno.h * cygerrno.h: New file. Use this throughout whenever errno manipulation is 2000-08-22 03:58:47 +00:00
cygheap.cc * path.cc (cwd_win32): Eliminate. 2000-09-05 03:16:28 +00:00
cygheap.h * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
cygrun.c import winsup-2000-02-17 snapshot 2000-02-17 19:38:31 +00:00
cygwin.din * include/cygwin/version.h: Bump DLL minor version number to 5 due to all of 2000-07-29 16:24:59 +00:00
dcrt0.cc * path.cc (cwd_win32): Eliminate. 2000-09-05 03:16:28 +00:00
debug.cc * debug.h: Allow some debug defines for use in header files. 2000-08-24 16:33:03 +00:00
debug.h Fix final round of gcc warnings relating to unused parameters. 2000-02-24 06:45:32 +00:00
delqueue.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
dir.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
dlfcn.cc * winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h files 2000-08-22 05:10:20 +00:00
dll_init.cc * path.cc (readlink): Check if buffer length is positive. Truncate output to 2000-09-04 17:52:42 +00:00
dll_init.h * hinfo.cc (hinfo::linearize_fd_array): Make max_used_fd an int so that we can 2000-07-15 02:48:11 +00:00
dll_init.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
dtable.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
dtable.h * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
dtable.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
environ.cc * environ.cc (environ_init): Don't free the new environment table after we've 2000-09-03 04:45:52 +00:00
errno.cc * errno.cc (set_errno_from_win_error): Actually use arguments to strace_printf. 2000-08-31 20:07:53 +00:00
exceptions.cc * signal.cc (_raise): New function. 2000-08-29 02:06:49 +00:00
exec.cc * exec.cc (_execve): Change definition according to declaration in 2000-08-25 19:52:04 +00:00
external.cc * path.cc (readlink): Check if buffer length is positive. Truncate output to 2000-09-04 17:52:42 +00:00
external.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
fcntl.cc * winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h files 2000-08-22 05:10:20 +00:00
fhandler.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
fhandler.h * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
fhandler_console.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
fhandler_floppy.cc * winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h files 2000-08-22 05:10:20 +00:00
fhandler_random.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
fhandler_raw.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
fhandler_serial.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
fhandler_tape.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
fhandler_termios.cc * sigproc.cc (proc_info): Rename proc_exists which takes a pid to "pid_exists". 2000-09-01 20:54:22 +00:00
fhandler_tty.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
fhandler_windows.cc * winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h files 2000-08-22 05:10:20 +00:00
fhandler_zero.cc * winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h files 2000-08-22 05:10:20 +00:00
fork.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
gcrt0.c import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
glob.c * winsup.h: take out protections of environ, errno, allow C use 2000-08-02 16:28:18 +00:00
gmon.c import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
gmon.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
grp.cc * path.cc (readlink): Check if buffer length is positive. Truncate output to 2000-09-04 17:52:42 +00:00
heap.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
heap.h * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
init.cc * path.cc (readlink): Check if buffer length is positive. Truncate output to 2000-09-04 17:52:42 +00:00
ioctl.cc * winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h files 2000-08-22 05:10:20 +00:00
localtime.c * winsup.h: take out protections of environ, errno, allow C use 2000-08-02 16:28:18 +00:00
malloc_wrapper.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +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
mkvers.sh * mkvers.sh: Properly trap exit removal of temp file. Remove debugging 2000-08-12 05:48:51 +00:00
mmap.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
net.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
ntea.cc * include/cygwin/version.h: Bump DLL minor version number to 5 due to all of 2000-07-29 16:24:59 +00:00
passwd.cc * path.cc (readlink): Check if buffer length is positive. Truncate output to 2000-09-04 17:52:42 +00:00
path.cc * path.cc (cwd_win32): Eliminate. 2000-09-05 03:16:28 +00:00
path.h * path.cc (cwd_win32): Eliminate. 2000-09-05 03:16:28 +00:00
path.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
perthread.h * winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h files 2000-08-22 05:10:20 +00:00
pinfo.cc * path.cc (readlink): Check if buffer length is positive. Truncate output to 2000-09-04 17:52:42 +00:00
pinfo.h * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
pipe.cc * path.cc (readlink): Check if buffer length is positive. Truncate output to 2000-09-04 17:52:42 +00:00
poll.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
posix.sgml clean up SGML for latest version of jade/docbook 2000-04-19 00:55:19 +00:00
profil.c import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
profil.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
pthread.cc * path.cc (readlink): Check if buffer length is positive. Truncate output to 2000-09-04 17:52:42 +00:00
registry.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
resource.cc * winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h files 2000-08-22 05:10:20 +00:00
scandir.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
security.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
select.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
select.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
shared.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
shared.h * sigproc.cc (proc_info): Rename proc_exists which takes a pid to "pid_exists". 2000-09-01 20:54:22 +00:00
shared.sgml import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
signal.cc * signal.cc (_raise): New function. 2000-08-29 02:06:49 +00:00
sigproc.cc * sigproc.cc (mychild): New function. 2000-09-02 01:19:58 +00:00
sigproc.h * sigproc.cc (proc_info): Rename proc_exists which takes a pid to "pid_exists". 2000-09-01 20:54:22 +00:00
smallprint.c * strace.cc (strace::prntf): Make second argument the function name, rather 2000-08-02 19:26:01 +00:00
spawn.cc * path.cc (cwd_win32): Eliminate. 2000-09-05 03:16:28 +00:00
strace.cc * winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h files 2000-08-22 05:10:20 +00:00
strsep.cc import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
sync.cc * winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h files 2000-08-22 05:10:20 +00:00
sync.h * path.cc (mount_info::cygdrive_posix_path): Don't add trailing slash if 2000-05-17 05:49:51 +00:00
syscalls.cc * path.cc (readlink): Check if buffer length is positive. Truncate output to 2000-09-04 17:52:42 +00:00
sysconf.cc * winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h files 2000-08-22 05:10:20 +00:00
syslog.cc * select.cc (cygwin_select): Correct logic for "always_ready" fds or when there 2000-08-24 21:19:14 +00:00
termios.cc * path.cc (readlink): Check if buffer length is positive. Truncate output to 2000-09-04 17:52:42 +00:00
test.c import winsup-2000-02-17 snapshot 2000-02-17 19:38:31 +00:00
textmode.c Minor formatting change. 2000-07-28 23:21:04 +00:00
thread.cc * path.cc (readlink): Check if buffer length is positive. Truncate output to 2000-09-04 17:52:42 +00:00
thread.h * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
times.cc * times.cc (gettimeofday): use GetSystemTimeAsFileTime to avoid a 2000-08-30 22:37:24 +00:00
tty.cc * winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h files 2000-08-22 05:10:20 +00:00
tz_posixrules.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
uinfo.cc * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
uname.cc * winsup.h: take out protections of environ, errno, allow C use 2000-08-02 16:28:18 +00:00
wait.cc * winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h files 2000-08-22 05:10:20 +00:00
window.cc * cygerrno.h: New file. Use this throughout whenever errno manipulation is 2000-08-22 03:58:47 +00:00
winsup.h * Makefile.in: Add cygheap.o. 2000-09-03 04:16:35 +00:00
winver.rc Update copyright info. 2000-07-19 17:42:16 +00:00