newlib/winsup/cygwin
Corinna Vinschen f098767559 * fhandler.h (class fhandler_dev_raw): Delete current_position and
eof_detected status flag.  Delete is_eom and is_eof methods.
	Move drive_size, bytes_per_sector, eom_detected status flag, as well
	as the methods read_file, write_file, raw_read and raw_write to ...
	(class fhandler_dev_floppy): ... here. Remove is_eom and is_eof
	methods.  Add dup method.
	* fhandler_floppy.cc (IS_EOM): New macro.
	(fhandler_dev_floppy::is_eom): Remove.
	(fhandler_dev_floppy::is_eof): Remove.
	(fhandler_dev_floppy::fhandler_dev_floppy): Initialize status flags.
	(fhandler_dev_floppy::get_drive_info): Only call EX functions on
	systems supporting them and stop suffering strange delays.
	(fhandler_dev_floppy::read_file): Move here, drop setting
	current_position.
	(fhandler_dev_floppy::write_file): Move here, drop setting
	current_position.
	(fhandler_dev_floppy::open): Rearrange comment.
	(fhandler_dev_floppy::dup): New method.
	(fhandler_dev_floppy::get_current_position): New inline method.  Use
	instead of former current_position were appropriate.
	(fhandler_dev_floppy::raw_read): Move here.  Drop EOF handling.
	(fhandler_dev_floppy::raw_write): Move here.  Drop EOF handling.
	(fhandler_dev_floppy::lseek): Remove useless conditions.  Convert
	sector_aligned_offset to LARGE_INTEGER to improve SetFilePointer call.
	(fhandler_dev_floppy::ioctl): Move blocksize check in RDSETBLK case
	to here.
	* fhandler_raw.cc (fhandler_dev_raw::is_eom): Remove.
	(fhandler_dev_raw::is_eof): Remove.
	(fhandler_dev_raw::write_file): Remove.
	(fhandler_dev_raw::read_file): Remove.
	(fhandler_dev_raw::raw_read): Remove.
	(fhandler_dev_raw::raw_write): Remove.
	(fhandler_dev_raw::dup): Drop copying removed members.
	(fhandler_dev_raw::ioctl): Drop blocksize testing.
	* wincap.h: Implement has_disk_ex_ioctls throughout.
	* wincap.cc: Ditto.
	(wincap_vista): Preliminary wincaps for Windows Vista/Longhorn.
	(wincapc::init): Add Vista/Longhorn handling.
2005-09-28 19:33:18 +00:00
..
config/i386 * gendef (stabilize_sig_stack): New function. 2004-02-18 20:48:38 +00:00
include Revert erroneous checkin. 2005-09-28 19:22:25 +00:00
lib * lib/libcmain.c (main): Properly deal with quoted first argument. 2004-12-09 21:28:32 +00:00
libc * ftw.c: Include winsup.h. 2005-08-08 13:39:56 +00:00
regex white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
regexp
CYGWIN_LICENSE
ChangeLog * fhandler.h (class fhandler_dev_raw): Delete current_position and 2005-09-28 19:33:18 +00:00
ChangeLog-1995 white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
ChangeLog-1996 white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
ChangeLog-1997 white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
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
Makefile.in * Makefile.in (CXXFLAGS): Use 'override' to correctly set flags to generate 2005-09-02 17:12:37 +00:00
ROADMAP
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 Revert erroneous checkin. 2005-09-28 19:22:25 +00:00
automode.c
binmode.c
child_info.h * child_info. (CURR_CHILD_INFO_MAGIC): Refresh. 2005-08-11 16:13:30 +00:00
config.h.in white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
configure * dllfixdbg: New perl script. 2005-08-08 02:27:43 +00:00
configure.in * dllfixdbg: New perl script. 2005-08-08 02:27:43 +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 (geterrno_from_win_error): Change declaration to default to using 2005-08-20 06:19:55 +00:00
cygheap.cc * cygheap.cc (cygheap_init): Add GLOBAL_PRIV to hProcToken explicitely 2005-09-27 19:04:38 +00:00
cygheap.h * cygheap.h (cygheap_types): Add HEAP_COMMUNE. 2005-08-24 04:38:39 +00:00
cygmagic * cygmagic: Remove debugging cruft missed on 2005-05-21. 2005-05-30 00:54:01 +00:00
cygmalloc.h * cygmalloc.h (MSPACES): Define. This dropped through the cracks after the 2005-07-28 17:03:34 +00:00
cygserver.h * cygserver.h (CYGWIN_SERVER_VERSION_API): Bump. 2004-06-03 19:52:12 +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 Change foo (void) to foo () for all c++ functions throughout. Remove all 2005-07-05 03:16:46 +00:00
cygserver_sem.h Change foo (void) to foo () for all c++ functions throughout. Remove all 2005-07-05 03:16:46 +00:00
cygserver_shm.h Change foo (void) to foo () for all c++ functions throughout. Remove all 2005-07-05 03:16:46 +00:00
cygthread.cc * cygthread.cc (cygthread::operator new): Just use getenv() to look for 2005-09-21 19:29:50 +00:00
cygthread.h Eliminate (void) cast on standalone function calls throughout. 2005-07-06 20:05:03 +00:00
cygtls.cc white space 2005-08-12 02:39:13 +00:00
cygtls.h * cygtls.h (struct _cygtls::thread_handle): Remove/revert. 2005-09-23 15:18:22 +00:00
cygwin-shilka * cygwin-shilka: Remove '#line directives' or suffer debugging oddities. Use 2003-09-27 05:35:02 +00:00
cygwin.din * cygwin.din: Correct readdir_r typo. 2005-08-28 17:30:34 +00:00
cygwin.sc * cygwin.sc: Use simpler method to align .cygheap. 2005-08-08 13:53:05 +00:00
cygwin_version.h
dcrt0.cc * dcrt0.cc (getstack): New function. 2005-09-28 15:18:49 +00:00
debug.cc * dcrt0.cc (do_exit): Rely on sigproc_terminate to set exit_state 2005-09-13 17:08:54 +00:00
debug.h Eliminate (void) cast on standalone function calls throughout. 2005-07-06 20:05:03 +00:00
delqueue.cc 2003-11-11 Robert Collins <rbtcollins@hotmail.com> 2003-11-14 23:40:06 +00:00
devices.cc * dcrt0.cc (do_exit): Rely on sigproc_terminate to set exit_state 2005-09-13 17:08:54 +00:00
devices.h * cygheap.h (cygheap_types): Add HEAP_COMMUNE. 2005-08-24 04:38:39 +00:00
devices.in * dcrt0.cc (do_exit): Rely on sigproc_terminate to set exit_state 2005-09-13 17:08:54 +00:00
dir.cc *dir.cc (readdir_r): Invert sense on error-test. 2005-08-28 16:30:48 +00:00
dlfcn.cc white space 2005-08-12 02:39:13 +00:00
dll_init.cc * dcrt0.cc (do_global_dtors): Run DLL dtors. 2005-04-14 17:34:03 +00:00
dll_init.h * dcrt0.cc (do_global_dtors): Run DLL dtors. 2005-04-14 17:34:03 +00:00
dll_init.sgml 2004-01-12 Joshua Daniel Franklin <joshuadfranklin@yahoo.com> 2004-02-22 23:21:20 +00:00
dllfixdbg * cygwin.sc: Use simpler method to align .cygheap. 2005-08-08 13:53:05 +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 Revert erroneous checkin. 2005-09-28 19:22:25 +00:00
dtable.h Change foo (void) to foo () for all c++ functions throughout. Remove all 2005-07-05 03:16:46 +00:00
dtable.sgml 2004-01-12 Joshua Daniel Franklin <joshuadfranklin@yahoo.com> 2004-02-22 23:21:20 +00:00
environ.cc * environ.cc (build_env): Use "kilo"bytes not "mega"bytes. Return immediately 2005-09-16 20:12:12 +00:00
environ.h * environ.h (win_env::immediate): Declare new field. 2005-03-30 15:54:28 +00:00
errno.cc * errno.cc (errmap): Map ERROR_SEEK and ERROR_SECTOR_NOT_FOUND. 2005-09-26 15:27:15 +00:00
exceptions.cc * exceptions.cc (_cygtls::call_signal_handler): Minor cleanup. 2005-09-26 14:58:16 +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 white space 2005-08-12 02:39:13 +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.cc Revert erroneous checkin. 2005-09-28 19:22:25 +00:00
fhandler.h * fhandler.h (class fhandler_dev_raw): Delete current_position and 2005-09-28 19:33:18 +00:00
fhandler_clipboard.cc Revert erroneous checkin. 2005-09-28 19:22:25 +00:00
fhandler_console.cc Revert erroneous checkin. 2005-09-28 19:22:25 +00:00
fhandler_disk_file.cc * fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix copy/paste 2005-09-22 17:53:38 +00:00
fhandler_dsp.cc Revert erroneous checkin. 2005-09-28 19:22:25 +00:00
fhandler_fifo.cc Revert erroneous checkin. 2005-09-28 19:22:25 +00:00
fhandler_floppy.cc * fhandler.h (class fhandler_dev_raw): Delete current_position and 2005-09-28 19:33:18 +00:00
fhandler_mailslot.cc white space 2005-08-12 02:39:13 +00:00
fhandler_mem.cc Revert erroneous checkin. 2005-09-28 19:22:25 +00:00
fhandler_netdrive.cc * cygerrno.h (geterrno_from_win_error): Change declaration to default to using 2005-08-20 06:19:55 +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 * cygheap.h (cygheap_types): Add HEAP_COMMUNE. 2005-08-24 04:38:39 +00:00
fhandler_process.cc * cygheap.h (cygheap_types): Add HEAP_COMMUNE. 2005-08-24 04:38:39 +00:00
fhandler_random.cc Revert erroneous checkin. 2005-09-28 19:22:25 +00:00
fhandler_raw.cc * fhandler.h (class fhandler_dev_raw): Delete current_position and 2005-09-28 19:33:18 +00:00
fhandler_registry.cc Remove some more unneeded 'return;'s throughout. 2005-09-14 14:27:56 +00:00
fhandler_serial.cc Revert erroneous checkin. 2005-09-28 19:22:25 +00:00
fhandler_socket.cc Revert erroneous checkin. 2005-09-28 19:22:25 +00:00
fhandler_tape.cc Revert erroneous checkin. 2005-09-28 19:22:25 +00:00
fhandler_termios.cc Eliminate (void) cast on standalone function calls throughout. 2005-07-06 20:05:03 +00:00
fhandler_tty.cc Revert erroneous checkin. 2005-09-28 19:22:25 +00:00
fhandler_virtual.cc Revert erroneous checkin. 2005-09-28 19:22:25 +00:00
fhandler_windows.cc Remove some more unneeded 'return;'s throughout. 2005-09-14 14:27:56 +00:00
fhandler_zero.cc Remove some more unneeded 'return;'s throughout. 2005-09-14 14:27:56 +00:00
flock.cc * fcntl.cc (fcntl_worker): Remove static storage class. 2003-12-03 09:55:42 +00:00
fork.cc * dcrt0.cc (getstack): New function. 2005-09-28 15:18:49 +00:00
gcrt0.c
gendef * cygtls.h (__ljfault): Declare. 2005-08-28 23:26:23 +00:00
gendevices white space 2005-02-13 18:17:29 +00:00
gentls_offsets Replace valid memory checks with new myfault class "exception handling", almost 2005-07-03 02:40:30 +00:00
glob.c * glob.c: (glob0): New local variable `limit`. Use in calls to glob1 2005-06-18 19:04:25 +00:00
gmon.c
gmon.h
grp.cc Remove some more unneeded 'return;'s throughout. 2005-09-14 14:27:56 +00:00
heap.cc * heap.cc (heap_init): Revert 2005-09-11 patch as it seems to inexplicably 2005-09-14 18:30:21 +00:00
heap.h
hires.h * mmap.cc (mmap64): Avoid compiler warning. 2005-05-18 17:23:17 +00:00
hookapi.cc * hookapi.cc (hook_or_detect_cygwin): Simplify very slightly. 2005-09-15 00:02:57 +00:00
how-autoload-works.txt white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
how-cygheap-works.txt
how-cygtls-works.txt * dcrt0.cc (cygwin_dll_init): Now initializes main_environ and cygtls. Comment 2005-06-04 02:11:50 +00:00
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 fix breakpoint example 2005-05-06 21:09:35 +00:00
how-vfork-works.txt minor cleanup 2004-12-05 02:30:20 +00:00
init.cc * dcrt0.cc (getstack): New function. 2005-09-28 15:18:49 +00:00
ioctl.cc Eliminate use of sigframe and sigthread throughout. 2003-11-28 20:55:59 +00:00
ipc.cc
localtime.cc Eliminate (void) cast on standalone function calls throughout. 2005-07-06 20:05:03 +00:00
lsearch.cc white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
malloc.cc * cygmalloc.h (MSPACES): Define. This dropped through the cracks after the 2005-07-28 17:03:34 +00:00
malloc_wrapper.cc Remove some more unneeded 'return;'s throughout. 2005-09-14 14:27:56 +00:00
mcount.c
misc-std.sgml
miscfuncs.cc * winsup.h (create_pipe): Declare new function. 2005-08-19 14:56:48 +00:00
mktemp.cc Add top comment 2005-05-25 03:43:58 +00:00
mkvers.sh update copyright 2004-02-04 22:40:50 +00:00
mmap.cc Eliminate (void) cast on standalone function calls throughout. 2005-07-06 20:05:03 +00:00
msg.cc Replace valid memory checks with new myfault class "exception handling", almost 2005-07-03 02:40:30 +00:00
mtinfo.h * mtinfo.h (mtinfo_drive::error): Fix argument bug in debug_printf call. 2005-08-22 16:12:01 +00:00
net.cc * net.cc (cygwin_gethostbyname): Remove debugging cruft. 2005-09-23 23:25:25 +00:00
netdb.cc 2003-11-11 Robert Collins <rbtcollins@hotmail.com> 2003-11-14 23:40:06 +00:00
newsym white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
ntdll.h Revert erroneous checkin. 2005-09-28 19:22:25 +00:00
ntea.cc * mmap.cc (mmap64): Avoid compiler warning. 2005-05-18 17:23:17 +00:00
passwd.cc Remove some more unneeded 'return;'s throughout. 2005-09-14 14:27:56 +00:00
path.cc Revert erroneous checkin. 2005-09-28 19:22:25 +00:00
path.h * fhandler.h (fhandler_base::fstat_helper): Declare with additional 2005-09-22 15:52:02 +00:00
path.sgml * path.sgml: Encode programming example with CDATA. 2004-12-31 01:13:28 +00:00
perprocess.h
pinfo.cc Revert erroneous checkin. 2005-09-28 19:22:25 +00:00
pinfo.h Revert erroneous checkin. 2005-09-28 19:22:25 +00:00
pipe.cc Revert erroneous checkin. 2005-09-28 19:22:25 +00:00
poll.cc white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
posix.sgml
profil.c
profil.h
pseudo-reloc.cc
pthread.cc * pthread.cc (mangle_sem_name): Use cygheap->shared_prefix instead 2005-09-27 20:34:19 +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 Replace valid memory checks with new myfault class "exception handling", almost 2005-07-03 02:40:30 +00:00
rmsym
scandir.cc * fhandler_clipboard.cc (fhandler_dev_clipboard::write): Never set 2005-03-01 11:51:29 +00:00
sched.cc Change foo (void) to foo () for all c++ functions throughout. Remove all 2005-07-05 03:16:46 +00:00
sec_acl.cc * pinfo.cc (pinfo::init): Define sa_buf as PSECURITY_ATTRIBUTES and 2005-06-07 19:31:42 +00:00
sec_helper.cc Change foo (void) to foo () for all c++ functions throughout. Remove all 2005-07-05 03:16:46 +00:00
security.cc Remove some more unneeded 'return;'s throughout. 2005-09-14 14:27:56 +00:00
security.h Change foo (void) to foo () for all c++ functions throughout. Remove all 2005-07-05 03:16:46 +00:00
select.cc * sigproc.h (set_signal_mask): Remove default on second parameter and make pass 2005-08-23 22:22:52 +00:00
select.h * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
sem.cc Replace valid memory checks with new myfault class "exception handling", almost 2005-07-03 02:40:30 +00:00
shared.cc * cygheap.cc (cygheap_init): Add GLOBAL_PRIV to hProcToken explicitely 2005-09-27 19:04:38 +00:00
shared.sgml Update Makefile to use xmlto 2004-12-27 19:03:56 +00:00
shared_info.h * path.cc (normalize_posix_path): Keep two leading slashes 2005-08-26 15:11:06 +00:00
shm.cc Replace valid memory checks with new myfault class "exception handling", almost 2005-07-03 02:40:30 +00:00
signal.cc * exceptions.cc (handle_exceptions): Just si_code to SI_KERNEL first and let it 2005-09-26 14:51:48 +00:00
sigproc.cc Revert erroneous checkin. 2005-09-28 19:22:25 +00:00
sigproc.h * cygtls.h (struct _cygtls::thread_handle): Remove/revert. 2005-09-23 15:18:22 +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 * spawn.cc (av::fixup): Just blindly run any file if it has a .bat or .cmd 2005-09-20 18:32:23 +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 * strace.cc (strace::vsprntf): Avoid printing a zero pid. 2005-09-27 18:54:32 +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 Eliminate (void) cast on standalone function calls throughout. 2005-07-06 20:05:03 +00:00
sync.h * sync.h (muto::initforce): Delete flawed implementation. 2005-04-05 06:04:57 +00:00
syscalls.cc * syscalls.cc (endusershell): Reset shell_fp to NULL to allow 2005-08-24 15:50:11 +00:00
sysconf.cc * cygerrno.h (__seterrno_from_nt_status): Define. Always set Win32 2005-04-13 16:41:33 +00:00
syslog.cc * Makefile.in (DLL_OFILES): Add fhandler_mailslot.o. 2005-05-10 20:56:07 +00:00
termios.cc * fhandler_serial.cc (fhandler_serial::tcgetattr): Just zero c_cflag here 2005-09-09 03:00:34 +00:00
textmode.c
textreadmode.c * Makefile.in (EXTRALIBS): Add libtextreadmode.a. 2004-04-06 14:22:43 +00:00
thread.cc * thread.h: Revert patch from 2005-09-05. 2005-09-06 19:22:54 +00:00
thread.h * thread.h: Revert patch from 2005-09-05. 2005-09-06 19:22:54 +00:00
timer.cc Eliminate (void) cast on standalone function calls throughout. 2005-07-06 20:05:03 +00:00
times.cc Remove some more unneeded 'return;'s throughout. 2005-09-14 14:27:56 +00:00
tlsoffsets.h * tlsoffsets.h: Regenerate. 2005-09-23 19:24:03 +00:00
tty.cc Eliminate (void) cast on standalone function calls throughout. 2005-07-06 20:05:03 +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 Remove some more unneeded 'return;'s throughout. 2005-09-14 14:27:56 +00:00
uname.cc Replace valid memory checks with new myfault class "exception handling", almost 2005-07-03 02:40:30 +00:00
wait.cc Change pthread::cancelable_wait to just cancelable_wait, throughout. 2005-06-09 05:11:51 +00:00
winbase.h * pinfo.cc (pinfo::init): Define sa_buf as PSECURITY_ATTRIBUTES and 2005-06-07 19:31:42 +00:00
wincap.cc * fhandler.h (class fhandler_dev_raw): Delete current_position and 2005-09-28 19:33:18 +00:00
wincap.h * fhandler.h (class fhandler_dev_raw): Delete current_position and 2005-09-28 19:33:18 +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_fixup_in_child): It's not just for exec. 2005-09-23 03:35:41 +00:00
winver.rc