* fhandler.h (class fhandler_pipe): Rename read and write

declarations to raw_read and raw_write.
	* pipe.cc (fhandler_pipe::raw_read): Rename from read.
	(fhandler_pipe::raw_write): Rename from write.
This commit is contained in:
Corinna Vinschen 2008-08-26 15:39:17 +00:00
parent a47ee4d624
commit a5d4ae5c5b
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2008-08-26 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_pipe): Rename read and write
declarations to raw_read and raw_write.
* pipe.cc (fhandler_pipe::raw_read): Rename from read.
(fhandler_pipe::raw_write): Rename from write.
2008-08-21 Christopher Faylor <me+cygwin@cgf.cx>
* fhandler.cc (fhandler_base::wait_overlapped): Reorganize again to

View File

@ -542,8 +542,8 @@ public:
select_record *select_write (select_record *s);
select_record *select_except (select_record *s);
char *get_proc_fd_name (char *buf);
void __stdcall read (void *ptr, size_t& len) __attribute__ ((regparm (3)));
int write (const void *, size_t);
void __stdcall raw_read (void *ptr, size_t& len);
int raw_write (const void *, size_t);
int open (int flags, mode_t mode = 0);
int dup (fhandler_base *child);
int ioctl (unsigned int cmd, void *);

View File

@ -293,13 +293,13 @@ fhandler_pipe::get_proc_fd_name (char *buf)
}
void __stdcall
fhandler_pipe::read (void *in_ptr, size_t& in_len)
fhandler_pipe::raw_read (void *in_ptr, size_t& in_len)
{
return read_overlapped (in_ptr, in_len);
}
int
fhandler_pipe::write (const void *ptr, size_t len)
fhandler_pipe::raw_write (const void *ptr, size_t len)
{
return write_overlapped (ptr, len);
}