Changeset 24143

Show
Ignore:
Timestamp:
10/29/09 22:25:56 (4 weeks ago)
Author:
broder
Message:

In rs:

  • Rename getline to rs_getline to avoid conflicting with the getline in <stdio.h>.
Location:
trunk/third/rs
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/third/rs/debian/changelog

    r23442 r24143  
     1debathena-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 
    18debathena-rs (10.0.2) unstable; urgency=low 
    29 
  • trunk/third/rs/rs.c

    r23442 r24143  
    8989void      getargs(int, char *[]); 
    9090void      getfile(void); 
    91 int       getline(void); 
     91int       rs_getline(void); 
    9292char     *getlist(short **, char *); 
    9393char     *getnum(int *, char *, int); 
     
    129129 
    130130        while (skip--) { 
    131                 getline(); 
     131                rs_getline(); 
    132132                if (flags & SKIPPRINT) 
    133133                        puts(curline); 
    134134        } 
    135         getline(); 
     135        rs_getline(); 
    136136        if (flags & NOARGS && curlen < owidth) 
    137137                flags |= ONEPERLINE; 
     
    179179                        } 
    180180                } 
    181         } while (getline() != EOF); 
     181        } while (rs_getline() != EOF); 
    182182        *ep = 0;                                /* mark end of pointers */ 
    183183        nelem = ep - elem; 
     
    335335 
    336336int 
    337 getline()       /* get line; maintain curline, curlen; manage storage */ 
     337rs_getline()    /* get line; maintain curline, curlen; manage storage */ 
    338338{ 
    339339        static  int putlength;