Parent Directory
|
Revision Log
|
Patch
| revision 1.4 by joerg_wunsch, Wed Jul 21 22:11:59 2004 UTC | revision 1.5 by joerg_wunsch, Tue Sep 6 18:49:15 2005 UTC | |
|---|---|---|
| # | Line 48 fputs_P(const char *str, FILE *stream) | Line 48 fputs_P(const char *str, FILE *stream) |
| 48 | * macro, so it could evaluate its argument more than once. | * macro, so it could evaluate its argument more than once. |
| 49 | */ | */ |
| 50 | while ((c = pgm_read_byte(str)) != '\0') { | while ((c = pgm_read_byte(str)) != '\0') { |
| 51 | if (stream->put(c) != 0) | if (stream->put(c, stream) != 0) |
| 52 | rv = EOF; | rv = EOF; |
| 53 | str++; | str++; |
| 54 | } | } |
|
||||||||
| savannah-hackers-public@gnu.org | ViewVC Help |
| Powered by ViewVC 1.1.26 |