home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / c / 11674 < prev    next >
Encoding:
Internet Message Format  |  1992-07-28  |  1.1 KB

  1. Path: sparky!uunet!mcsun!chsun!zurich!gegu
  2. From: gegu@zurich.spectrospin.ch (Gerry Gucher)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: While problem
  5. Summary: readline, bugfix #1
  6. Message-ID: <175@zurich.spectrospin.ch>
  7. Date: 28 Jul 92 16:58:24 GMT
  8. References: <92204.160015GNR100@psuvm.psu.edu> <131@nixeidsc.sni.ie> <171@sag.spectrospin.ch>
  9. Organization: Spectrospin AG, Fallanden Switzerland
  10. Lines: 21
  11.  
  12.  
  13. OOPS, I blew it, ( as always when I shout loudest )
  14.  
  15.  
  16. >   while( siz-- > 0 && (c = getc(fp)) != EOF ) {
  17.            ^^^^^
  18.            should be --siz  of course
  19.  
  20.  
  21. Gerry 
  22.  
  23. +------------------------------------------------------------------+
  24. | Gerry Gucher                             gegu@spectrospin.ch       |
  25. | Spectrospin AG,  Industriestr 26,  8117  Faellanden Switzerland  | 
  26. +------------------------------------------------------------------+
  27. | A program that  returns the  wrong | There is nothing wrong with |
  28. | result twice as fast is infinitely | making  mistakes,  but make |
  29. | slower.               - H. Spencer | new ones.           - D.Sim |    
  30. +------------------------------------------------------------------+
  31.  
  32.  
  33.