Page MenuHomeFreeBSD

D37177.diff
No OneTemporary

D37177.diff

diff --git a/usr.bin/script/script.c b/usr.bin/script/script.c
--- a/usr.bin/script/script.c
+++ b/usr.bin/script/script.c
@@ -73,8 +73,8 @@
struct buf_elm {
TAILQ_ENTRY(buf_elm) link;
- int rpos;
- int len;
+ size_t rpos;
+ size_t len;
char ibuf[];
};
@@ -107,7 +107,6 @@
int
main(int argc, char *argv[])
{
- int cc;
struct termios rtt, stt;
struct winsize win;
struct timeval tv, *tvp;
@@ -116,6 +115,7 @@
char ibuf[BUFSIZ];
fd_set rfd, wfd;
struct buf_elm *be;
+ ssize_t cc;
int aflg, Fflg, kflg, pflg, ch, k, n, fcm;
int flushtime, readstdin;
int fm_fd, fm_log;

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 9, 4:54 PM (8 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15733593
Default Alt Text
D37177.diff (598 B)

Event Timeline