patch-makeconcfile_c 479 B

12345678910111213
  1. $OpenBSD: patch-makeconcfile_c,v 1.1.1.1 2011/09/19 20:20:42 naddy Exp $
  2. --- makeconcfile.c.orig Sun Sep 18 18:08:18 2011
  3. +++ makeconcfile.c Sun Sep 18 18:08:40 2011
  4. @@ -201,7 +201,7 @@ int main(int argc,char **argv)
  5. data_index = 0; /* The offset in the ref data pool of current entry */
  6. while (scanf( "%s", word) > 0) {
  7. /* Append string to word list */
  8. - if ((n=fputs( word, outfp )) <= 0)
  9. + if ((n=fputs( word, outfp )) != 0)
  10. outerr(n);
  11. putc( 0, outfp );