remove gcc2 remnants

This commit is contained in:
gsoares 2013-08-09 04:45:21 +00:00
parent ec38bc1cf4
commit afe1529d28
2 changed files with 2 additions and 15 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.10 2013/03/11 11:35:47 espie Exp $
# $OpenBSD: Makefile,v 1.11 2013/08/09 04:45:21 gsoares Exp $
COMMENT= minimalist IRC client
DISTNAME= ii-1.7
REVISION= 0
CATEGORIES= net
HOMEPAGE= http://tools.suckless.org/ii

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-ii_c,v 1.3 2013/01/07 14:15:16 bentley Exp $
--- ii.c.orig Sat Jan 5 06:15:13 2013
+++ ii.c Sun Jan 6 18:07:51 2013
@@ -389,8 +389,9 @@ static int read_line(int fd, size_t res_len, char *buf
static void handle_channels_input(Channel *c) {
static char buf[PIPE_BUF];
if(read_line(c->fd, PIPE_BUF, buf) == -1) {
+ int fd;
close(c->fd);
- int fd = open_channel(c->name);
+ fd = open_channel(c->name);
if(fd != -1)
c->fd = fd;
else