freebsd-ports/news/trn4/files/patch-term.c
Mathieu Arnold 6172d4b590 Remove $FreeBSD$ from patches files everywhere.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-22 20:34:27 +00:00

15 lines
263 B
C

--- term.c.orig
+++ term.c
@@ -662,9 +662,9 @@
#endif
if (check_term) {
# ifdef FIONREAD
- long iocount;
+ int iocount;
ioctl(0, FIONREAD, &iocount);
- return (int)iocount;
+ return iocount;
# else /* !FIONREAD */
# ifdef HAS_RDCHK
return rdchk(0);