Changeset 24143
- Timestamp:
- 10/29/09 22:25:56 (4 weeks ago)
- Location:
- trunk/third/rs
- Files:
-
- 2 modified
-
debian/changelog (modified) (1 diff)
-
rs.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/third/rs/debian/changelog
r23442 r24143 1 debathena-rs (10.0.3) unstable; urgency=low 2 3 * Rename getline to rs_getline to avoid conflicting with the getline in 4 <stdio.h>. 5 6 -- Evan Broder <broder@mit.edu> Thu, 29 Oct 2009 22:23:09 -0400 7 1 8 debathena-rs (10.0.2) unstable; urgency=low 2 9 -
trunk/third/rs/rs.c
r23442 r24143 89 89 void getargs(int, char *[]); 90 90 void getfile(void); 91 int getline(void);91 int rs_getline(void); 92 92 char *getlist(short **, char *); 93 93 char *getnum(int *, char *, int); … … 129 129 130 130 while (skip--) { 131 getline();131 rs_getline(); 132 132 if (flags & SKIPPRINT) 133 133 puts(curline); 134 134 } 135 getline();135 rs_getline(); 136 136 if (flags & NOARGS && curlen < owidth) 137 137 flags |= ONEPERLINE; … … 179 179 } 180 180 } 181 } while ( getline() != EOF);181 } while (rs_getline() != EOF); 182 182 *ep = 0; /* mark end of pointers */ 183 183 nelem = ep - elem; … … 335 335 336 336 int 337 getline() /* get line; maintain curline, curlen; manage storage */337 rs_getline() /* get line; maintain curline, curlen; manage storage */ 338 338 { 339 339 static int putlength;
