Mercurial > hg > xemacs-beta
diff src/fileio.c @ 647:b39c14581166
[xemacs-hg @ 2001-08-13 04:45:47 by ben]
removal of unsigned, size_t, etc.
author | ben |
---|---|
date | Mon, 13 Aug 2001 04:46:48 +0000 |
parents | 023b83f4e54b |
children | ce0b3f2eff35 |
line wrap: on
line diff
--- a/src/fileio.c Wed Aug 08 12:15:04 2001 +0000 +++ b/src/fileio.c Mon Aug 13 04:46:48 2001 +0000 @@ -208,15 +208,15 @@ (#### Actually, longjmp()ing out of the signal handler may not be as losing as I thought. See qxe_reliable_signal() in sysdep.c.) */ -ssize_t -read_allowing_quit (int fildes, void *buf, size_t size) +Memory_Count +read_allowing_quit (int fildes, void *buf, Memory_Count size) { QUIT; return sys_read_1 (fildes, buf, size, 1); } -ssize_t -write_allowing_quit (int fildes, const void *buf, size_t size) +Memory_Count +write_allowing_quit (int fildes, const void *buf, Memory_Count size) { QUIT; return sys_write_1 (fildes, buf, size, 1); @@ -2768,7 +2768,7 @@ { int nread; Bufpos bufpos; - nread = read_allowing_quit (fd, buffer, sizeof buffer); + nread = read_allowing_quit (fd, buffer, sizeof (buffer)); if (nread < 0) report_file_error ("Reading", filename); else if (nread == 0) @@ -2904,7 +2904,7 @@ occurs inside of the filedesc stream. */ while (1) { - Lstream_data_count this_len; + Lstream_Data_Count this_len; Charcount cc_inserted; QUIT;