X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-utils.git;a=blobdiff_plain;f=cprogs%2Freadbuffer.c;h=da681720fe5f3368047684833be024a1ad9cdd00;hp=2be121c0228e02d1acb9978bbfbea10baa6125b9;hb=d9d8b1a736946ae91c521133dc32d5e1d6b5e506;hpb=e483a046db5ff0972702a0dc29ba4e00b698d997 diff --git a/cprogs/readbuffer.c b/cprogs/readbuffer.c index 2be121c..da68172 100644 --- a/cprogs/readbuffer.c +++ b/cprogs/readbuffer.c @@ -13,7 +13,7 @@ * * This is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2, + * published by the Free Software Foundation; either version 3, * or (at your option) any later version. * * This is distributed in the hope that it will be useful, but @@ -39,6 +39,7 @@ int main(int argc, const char *const *argv) { startup(argv); waitempty= (buffersize*1)/4; reading=1; + maxselfd=2; while (!seeneof || used) {