You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by rb...@locus.apache.org on 2000/12/03 07:42:04 UTC
cvs commit: apr/test occhild.c
rbb 00/12/02 22:42:04
Modified: test occhild.c
Log:
Make occhild a bit cleaner.
Revision Changes Path
1.4 +1 -2 apr/test/occhild.c
Index: occhild.c
===================================================================
RCS file: /home/cvs/apr/test/occhild.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- occhild.c 2000/11/15 21:46:38 1.3
+++ occhild.c 2000/12/03 06:42:04 1.4
@@ -4,10 +4,9 @@
int main(void)
{
- int rc=1;
char buf[256];
- while (rc == 1) {
+ while (1) {
read(STDERR_FILENO, buf, 256);
}
return 0; /* just to keep the compiler happy */