newlib/winsup/cygwin
Corinna Vinschen 7460bfd32b * cygerrno.h (__seterrno_from_nt_status): Define. Always set Win32
error code as well as errno. Use throughout where errno is set from
	NT status.
	(set_errno): Evaluate val only once.
	* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Fix typo in
	debug output.
	* fhandler_mem.cc (fhandler_dev_mem::open): Rely on
	__seterrno_from_nt_status setting Win32 error code in debug output.
	* fhandler_proc.cc (format_proc_uptime): Ditto.
	(format_proc_stat): Ditto.
	* fhandler_process.cc (format_process_stat): Ditto.
	* sysconf.cc (sysconf): Ditto.
2005-04-13 16:41:33 +00:00
..
config/i386 * gendef (stabilize_sig_stack): New function. 2004-02-18 20:48:38 +00:00
include * syslog.cc: Include sys/socket.h. 2005-04-07 20:16:46 +00:00
lib * lib/libcmain.c (main): Properly deal with quoted first argument. 2004-12-09 21:28:32 +00:00
libc * Makefile.in: Create libutil.a from bsdlib.o exports. 2004-09-10 08:30:51 +00:00
regex
regexp
acconfig.h * exceptions.cc (set_signal_mask): Redefine to not pass by address. Report 2003-12-23 16:26:31 +00:00
ansi.sgml minor cleanup 2004-12-05 02:30:20 +00:00
assert.cc
autoload.cc * autoload.cc (NtQueryVolumeInformationFile): Add. 2005-04-12 14:26:31 +00:00
automode.c
binmode.c
ChangeLog * cygerrno.h (__seterrno_from_nt_status): Define. Always set Win32 2005-04-13 16:41:33 +00:00
ChangeLog-1995
ChangeLog-1996
ChangeLog-1997
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003 fix typo 2004-01-20 03:11:39 +00:00
ChangeLog-2004 * ChangeLog: Split and create ChangeLog-2004. 2005-01-11 12:48:34 +00:00
child_info.h * child_info.h (fork_info): Use different method to alias variable. 2005-03-19 21:45:15 +00:00
config.h.in * exceptions.cc (set_signal_mask): Redefine to not pass by address. Report 2003-12-23 16:26:31 +00:00
configure * configure.in: Remove NEWVFORK default. 2004-01-23 23:05:33 +00:00
configure.in * configure.in: Remove NEWVFORK default. 2004-01-23 23:05:33 +00:00
cpuid.h * path.cc (chdir): Always use the normalized_path as posix_cwd, except if it 2004-05-28 19:50:07 +00:00
crt0.c * crt0.o (mainCRTStartup): 16 byte align stack for main function. 2004-05-04 14:46:25 +00:00
ctype.cc * include/ctype.h: New file. 2005-03-23 17:11:24 +00:00
cxx.cc * child_info.h (fork_info): Use different method to alias variable. 2005-03-19 21:45:15 +00:00
cygerrno.h * cygerrno.h (__seterrno_from_nt_status): Define. Always set Win32 2005-04-13 16:41:33 +00:00
cygheap.cc * sync.h (muto::operator int): New operator. 2005-04-05 04:31:00 +00:00
cygheap.h * sync.h (muto::operator int): New operator. 2005-04-05 04:31:00 +00:00
cygmagic
cygmalloc.h * sync.h (muto::operator int): New operator. 2005-04-05 04:31:00 +00:00
cygserver_ipc.h * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
cygserver_msg.h * path.cc (chdir): Always use the normalized_path as posix_cwd, except if it 2004-05-28 19:50:07 +00:00
cygserver_sem.h * path.cc (chdir): Always use the normalized_path as posix_cwd, except if it 2004-05-28 19:50:07 +00:00
cygserver_shm.h * cygserver.h (client_request::request_code_t): Add 2003-11-19 18:50:23 +00:00
cygserver.h * cygserver.h (CYGWIN_SERVER_VERSION_API): Bump. 2004-06-03 19:52:12 +00:00
cygthread.cc * cygthread.cc (cygthread::detach): Revert to just waiting for thred event 2005-03-28 19:31:23 +00:00
cygthread.h * wininfo.h (wininfo::timer_active): Delete. 2005-03-27 01:57:38 +00:00
cygtls.cc * cygtls.cc (_cygtls::remove): Don't free or close stuff if we're being called 2005-04-05 17:13:35 +00:00
cygtls.h * times.cc (hires_ms::usecs): Compare the difference. 2005-03-27 23:33:30 +00:00
CYGWIN_LICENSE
cygwin_version.h
cygwin-shilka
cygwin.din * cygthread.cc (cygthread::detach): Revert to just waiting for thred event 2005-03-28 19:31:23 +00:00
cygwin.sc
dcrt0.cc * sync.h (muto::operator int): New operator. 2005-04-05 04:31:00 +00:00
debug.cc * sync.h (muto::operator int): New operator. 2005-04-05 04:31:00 +00:00
debug.h * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
delqueue.cc 2003-11-11 Robert Collins <rbtcollins@hotmail.com> 2003-11-14 23:40:06 +00:00
devices.cc * child_info.h (fork_info): Use different method to alias variable. 2005-03-19 21:45:15 +00:00
devices.h * devices.h: Switch FH_ZERO and FH_PORT as on Linux. Add FH_FULL. 2005-02-23 12:30:31 +00:00
devices.in * child_info.h (fork_info): Use different method to alias variable. 2005-03-19 21:45:15 +00:00
dir.cc * dir.cc: Rename opendir_* to dirent_* throughout. 2005-03-16 21:20:56 +00:00
dlfcn.cc Unify usage of CYG_MAX_PATH throughout. Change buffers from 2005-04-03 08:45:21 +00:00
dll_init.cc Unify usage of CYG_MAX_PATH throughout. Change buffers from 2005-04-03 08:45:21 +00:00
dll_init.h Unify usage of CYG_MAX_PATH throughout. Change buffers from 2005-04-03 08:45:21 +00:00
dll_init.sgml 2004-01-12 Joshua Daniel Franklin <joshuadfranklin@yahoo.com> 2004-02-22 23:21:20 +00:00
dlmalloc.c remove keyword stuff 2004-05-12 16:21:18 +00:00
dlmalloc.h * include/cygwin/version.h: Bump DLL minor number to 8. 2004-01-20 19:36:35 +00:00
dtable.cc * sync.h (muto::operator int): New operator. 2005-04-05 04:31:00 +00:00
dtable.h * sync.h (muto::operator int): New operator. 2005-04-05 04:31:00 +00:00
dtable.sgml 2004-01-12 Joshua Daniel Franklin <joshuadfranklin@yahoo.com> 2004-02-22 23:21:20 +00:00
environ.cc * cygheap.cc (cygheap_init): Accomodate set_process_privilege change. 2005-04-03 13:06:43 +00:00
environ.h * environ.h (win_env::immediate): Declare new field. 2005-03-30 15:54:28 +00:00
errno.cc * errno.cc (NO_SYSTEM_RESOURCES): Map to EAGAIN. 2005-03-30 22:07:20 +00:00
exceptions.cc * sync.h (muto::operator int): New operator. 2005-04-05 04:31:00 +00:00
exec.cc Reorganize header file inclusion throughout so that cygerrno.h comes first. 2005-01-12 22:40:46 +00:00
external.cc * wininfo.h (wininfo::timer_active): Delete. 2005-03-27 01:57:38 +00:00
external.sgml 2004-01-12 Joshua Daniel Franklin <joshuadfranklin@yahoo.com> 2004-02-22 23:21:20 +00:00
fcntl.cc Reorganize header file inclusion throughout so that cygerrno.h comes first. 2005-01-12 22:40:46 +00:00
fhandler_clipboard.cc * wininfo.h (wininfo::timer_active): Delete. 2005-03-27 01:57:38 +00:00
fhandler_console.cc * fhandler_console.cc (get_win32_attr): Avoid inappropriate intensity 2004-12-16 13:19:08 +00:00
fhandler_disk_file.cc * cygerrno.h (__seterrno_from_nt_status): Define. Always set Win32 2005-04-13 16:41:33 +00:00
fhandler_dsp.cc * exceptions.cc: (ctrl_c_handler): Do nothing while a Cygwin subprocess is 2004-09-12 03:47:57 +00:00
fhandler_fifo.cc * dtable.cc (dtable::find_fifo): Release lock after fifo found (still racy). 2004-06-07 04:26:32 +00:00
fhandler_floppy.cc Reorganize header file inclusion throughout so that cygerrno.h comes first. 2005-01-12 22:40:46 +00:00
fhandler_mem.cc * cygerrno.h (__seterrno_from_nt_status): Define. Always set Win32 2005-04-13 16:41:33 +00:00
fhandler_nodevice.cc * fhandler_nodevice.cc (fhandler_nodevice::open): Assume that errno has already 2004-03-27 18:01:04 +00:00
fhandler_proc.cc * cygerrno.h (__seterrno_from_nt_status): Define. Always set Win32 2005-04-13 16:41:33 +00:00
fhandler_process.cc * cygerrno.h (__seterrno_from_nt_status): Define. Always set Win32 2005-04-13 16:41:33 +00:00
fhandler_random.cc * Use new unified status_flag accessor methods from classes fhandler_*, 2004-04-10 13:45:10 +00:00
fhandler_raw.cc * wininfo.h (wininfo::timer_active): Delete. 2005-03-27 01:57:38 +00:00
fhandler_registry.cc * dir.cc: Rename opendir_* to dirent_* throughout. 2005-03-16 21:20:56 +00:00
fhandler_serial.cc * wininfo.h (wininfo::timer_active): Delete. 2005-03-27 01:57:38 +00:00
fhandler_socket.cc * fhandler_socket.cc (get_inet_addr): Add type parameter to return 2005-04-06 18:50:13 +00:00
fhandler_tape.cc * wininfo.h (wininfo::timer_active): Delete. 2005-03-27 01:57:38 +00:00
fhandler_termios.cc * wininfo.h (wininfo::timer_active): Delete. 2005-03-27 01:57:38 +00:00
fhandler_tty.cc * child_info.h (child_info_spawn::hexec_proc): Eliminate. 2004-11-26 04:15:10 +00:00
fhandler_virtual.cc * dir.cc: Rename opendir_* to dirent_* throughout. 2005-03-16 21:20:56 +00:00
fhandler_windows.cc * wininfo.h (wininfo::timer_active): Delete. 2005-03-27 01:57:38 +00:00
fhandler_zero.cc * devices.h: Switch FH_ZERO and FH_PORT as on Linux. Add FH_FULL. 2005-02-23 12:30:31 +00:00
fhandler.cc * cygerrno.h (__seterrno_from_nt_status): Define. Always set Win32 2005-04-13 16:41:33 +00:00
fhandler.h * fhandler.h (fhandler_base::utimes_fs): New method. 2005-04-13 16:17:37 +00:00
flock.cc * fcntl.cc (fcntl_worker): Remove static storage class. 2003-12-03 09:55:42 +00:00
fork.cc * cygheap.cc (cygheap_init): Accomodate set_process_privilege change. 2005-04-03 13:06:43 +00:00
gcrt0.c
gendef * cygtls.h (waitq): Declare structure here. 2004-03-12 03:09:28 +00:00
gendevices white space 2005-02-13 18:17:29 +00:00
gentls_offsets * gentls_offsets: Add '-m32' flag to native compiler call to satisfy 2005-03-31 15:53:57 +00:00
glob.c
gmon.c
gmon.h
grp.cc * security.h (cygsidlist::addfromgr): Avoid duplicate entries. 2005-04-06 12:35:52 +00:00
heap.cc * path.cc (chdir): Always use the normalized_path as posix_cwd, except if it 2004-05-28 19:50:07 +00:00
heap.h
hires.h update copyright 2005-03-28 00:09:08 +00:00
hookapi.cc * Makefile.in (DLL_OFILES): Add hookapi.o. Eliminate some cruft. 2005-03-22 19:00:31 +00:00
how-autoload-works.txt
how-cygheap-works.txt
how-fhandlers-work.txt
how-signals-work.txt minor cleanup 2004-03-14 05:35:19 +00:00
how-spawn-works.txt
how-to-debug-cygwin.txt
how-vfork-works.txt minor cleanup 2004-12-05 02:30:20 +00:00
init.cc * Makefile.in (DLL_OFILES): Add hookapi.o. Eliminate some cruft. 2005-03-22 19:00:31 +00:00
ioctl.cc Eliminate use of sigframe and sigthread throughout. 2003-11-28 20:55:59 +00:00
ipc.cc
localtime.cc * localtime.cc: Implement setting __tzrule's offset member using 2005-02-23 22:17:28 +00:00
lsearch.cc * wininfo.h (wininfo::timer_active): Delete. 2005-03-27 01:57:38 +00:00
Makefile.in * wininfo.h (wininfo::timer_active): Delete. 2005-03-27 01:57:38 +00:00
malloc_wrapper.cc * sync.h (muto::operator int): New operator. 2005-04-05 04:31:00 +00:00
malloc.cc
mcount.c
misc-std.sgml
miscfuncs.cc copyright 2005-02-20 04:25:33 +00:00
mkvers.sh update copyright 2004-02-04 22:40:50 +00:00
mmap.cc * cygerrno.h (__seterrno_from_nt_status): Define. Always set Win32 2005-04-13 16:41:33 +00:00
msg.cc * path.cc (chdir): Always use the normalized_path as posix_cwd, except if it 2004-05-28 19:50:07 +00:00
mtinfo.h * path.cc (chdir): Always use the normalized_path as posix_cwd, except if it 2004-05-28 19:50:07 +00:00
net.cc * net.cc (cygwin_getservbyname): Return (possibly NULL) return value of dup_ent 2005-04-06 05:48:55 +00:00
netdb.cc 2003-11-11 Robert Collins <rbtcollins@hotmail.com> 2003-11-14 23:40:06 +00:00
newsym
ntdll.h * autoload.cc (NtQueryVolumeInformationFile): Add. 2005-04-12 14:26:31 +00:00
ntea.cc Change use of BOOL, TRUE, FALSE to bool, true, false, as appropriate, 2003-12-07 22:37:12 +00:00
passwd.cc * path.cc (chdir): Always use the normalized_path as posix_cwd, except if it 2004-05-28 19:50:07 +00:00
path.cc * sync.h (muto::operator int): New operator. 2005-04-05 04:31:00 +00:00
path.h * path.cc (is_floppy): Make externally available. 2005-03-29 17:42:50 +00:00
path.sgml * path.sgml: Encode programming example with CDATA. 2004-12-31 01:13:28 +00:00
perprocess.h
pinfo.cc Unify usage of CYG_MAX_PATH throughout. Change buffers from 2005-04-03 08:45:21 +00:00
pinfo.h * pinfo.h (pinfo::pinfo): Clear more elements in the constructor. 2005-03-10 01:50:09 +00:00
pipe.cc * pipe.cc (fhandler_pipe::open): Remove O_CREAT limitation. 2005-04-08 19:57:36 +00:00
poll.cc copyright 2005-02-20 04:25:33 +00:00
posix.sgml
profil.c
profil.h
pseudo-reloc.cc
pthread.cc Unify usage of CYG_MAX_PATH throughout. Change buffers from 2005-04-03 08:45:21 +00:00
pwdgrp.h * sync.h (muto::initforce): Delete flawed implementation. 2005-04-05 06:04:57 +00:00
registry.cc * cygheap.cc (cygheap_init): Accomodate set_process_privilege change. 2005-04-03 13:06:43 +00:00
registry.h 2004-12-03 Pierre Humblet <pierre.humblet@ieee.org> 2004-12-03 02:00:37 +00:00
resource.cc
rmsym
ROADMAP
scandir.cc * fhandler_clipboard.cc (fhandler_dev_clipboard::write): Never set 2005-03-01 11:51:29 +00:00
sched.cc * path.cc (chdir): Always use the normalized_path as posix_cwd, except if it 2004-05-28 19:50:07 +00:00
sec_acl.cc * autoload.cc (NtCreateFile): Add. 2004-04-16 21:22:13 +00:00
sec_helper.cc * cygheap.cc (cygheap_init): Accomodate set_process_privilege change. 2005-04-03 13:06:43 +00:00
security.cc * cygerrno.h (__seterrno_from_nt_status): Define. Always set Win32 2005-04-13 16:41:33 +00:00
security.h * security.h (cygsidlist::addfromgr): Avoid duplicate entries. 2005-04-06 12:35:52 +00:00
select.cc * fhandler.h (fhandler_socket::secret_event): Remove. 2005-03-24 14:04:06 +00:00
select.h * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
sem.cc * path.cc (chdir): Always use the normalized_path as posix_cwd, except if it 2004-05-28 19:50:07 +00:00
shared_info.h copyright 2005-02-20 04:25:33 +00:00
shared.cc copyright 2005-02-20 04:25:33 +00:00
shared.sgml Update Makefile to use xmlto 2004-12-27 19:03:56 +00:00
shm.cc * shm.cc: Whitespace fixes. 2004-07-20 16:08:49 +00:00
signal.cc * times.cc (hires_ms::usecs): Compare the difference. 2005-03-27 23:33:30 +00:00
sigproc.cc * sync.h (muto::initforce): Delete flawed implementation. 2005-04-05 06:04:57 +00:00
sigproc.h * debug.cc (delete_handle): Report on handle value in debugging output. 2005-02-26 20:50:25 +00:00
smallprint.c * child_info.h (fork_info): Use different method to alias variable. 2005-03-19 21:45:15 +00:00
spawn.cc * cygheap.cc (cygheap_init): Accomodate set_process_privilege change. 2005-04-03 13:06:43 +00:00
speclib * speclib: Use correct EOF marker. Ensure that directory is actually deleted 2003-11-28 20:51:11 +00:00
stackdump.sgml Update Makefile to use xmlto 2004-12-27 19:03:56 +00:00
strace.cc Unify usage of CYG_MAX_PATH throughout. Change buffers from 2005-04-03 08:45:21 +00:00
string.h
strsep.cc
strsig.cc * Makefile.in (DLL_OFILES): Add strsig.o. 2004-02-03 21:59:27 +00:00
sync.cc * wininfo.h (wininfo::timer_active): Delete. 2005-03-27 01:57:38 +00:00
sync.h * sync.h (muto::initforce): Delete flawed implementation. 2005-04-05 06:04:57 +00:00
syscalls.cc Revert previous patch. 2005-04-11 21:54:54 +00:00
sysconf.cc * cygerrno.h (__seterrno_from_nt_status): Define. Always set Win32 2005-04-13 16:41:33 +00:00
syslog.cc * syslog.cc (try_connect_guard): Remove useless conditionalized code. 2005-04-07 20:42:20 +00:00
termios.cc Rename _threadinfo to _cygtls, throughout. 2004-02-12 03:01:58 +00:00
textmode.c
textreadmode.c * Makefile.in (EXTRALIBS): Add libtextreadmode.a. 2004-04-06 14:22:43 +00:00
thread.cc copyright 2005-02-20 04:25:33 +00:00
thread.h * path.cc (chdir): Always use the normalized_path as posix_cwd, except if it 2004-05-28 19:50:07 +00:00
timer.cc * sync.h (muto::operator int): New operator. 2005-04-05 04:31:00 +00:00
times.cc * times.cc (hires_ms::usecs): Compare the difference. 2005-03-27 23:33:30 +00:00
tlsoffsets.h * child_info.h (child_info_spawn::hexec_proc): Eliminate. 2004-11-26 04:15:10 +00:00
tty.cc * tty.cc (tty_list::terminate): Guard releasing the tty with tty_mutex. 2004-12-14 17:19:22 +00:00
tty.h Change the name "title_mutex" to "tty_mutex" throughout. 2004-05-17 15:27:56 +00:00
tz_posixrules.h
uinfo.cc * cygheap.cc (cygheap_init): Accomodate set_process_privilege change. 2005-04-03 13:06:43 +00:00
uname.cc * exceptions.cc: (ctrl_c_handler): Do nothing while a Cygwin subprocess is 2004-09-12 03:47:57 +00:00
wait.cc * child_info.h (child_info_spawn::hexec_proc): Eliminate. 2004-11-26 04:15:10 +00:00
winbase.h * winbase.h (ilockincr): Add more neverending changes from the inexplicable 2004-06-04 23:55:44 +00:00
wincap.cc Revert previous patch. 2005-04-11 21:54:54 +00:00
wincap.h Revert previous patch. 2005-04-11 21:54:54 +00:00
window.cc * sync.h (muto::operator int): New operator. 2005-04-05 04:31:00 +00:00
wininfo.h * sync.h (muto::operator int): New operator. 2005-04-05 04:31:00 +00:00
winsup.h * cygheap.cc (cygheap_init): Accomodate set_process_privilege change. 2005-04-03 13:06:43 +00:00
winver.rc