Changeset 3741
- Timestamp:
- Oct 28, 2009, 12:08:16 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zzuf/trunk/test/zzcat.c
r3734 r3741 114 114 break; 115 115 #if defined HAVE_GETLINE 116 case 23: /* getline() calls */ 116 case 23: /* getline() and getc() calls */ 117 case 24: /* getline() and getc_unlocked() calls */ 117 118 stream = fopen(name, "r"); 118 119 if(!stream) 119 120 return EXIT_FAILURE; 120 121 i = 0; 121 while ((c = getc(stream)) != EOF) 122 while ((c = (atoi(argv[1]) == 23) ? getc(stream) 123 : getc_unlocked(stream)) != EOF) 122 124 { 123 125 char *line;
Note: See TracChangeset
for help on using the changeset viewer.