Annotation of pkgsrc/databases/sqlitebrowser/patches/patch-sqlitebrowser_sqlbrowser__util.c, revision 1.1

1.1     ! ryoon       1: $NetBSD$
        !             2: 
        !             3: --- sqlitebrowser/sqlbrowser_util.c.orig       2005-03-23 14:56:39.000000000 +0000
        !             4: +++ sqlitebrowser/sqlbrowser_util.c
        !             5: @@ -358,7 +358,7 @@ static int _is_command_terminator(const 
        !             6:  }
        !             7:  
        !             8:  
        !             9: -char *getline(FILE *in){
        !            10: +char *sbgetline(FILE *in){
        !            11:    char *zLine;
        !            12:    int nLine;
        !            13:    int n;
        !            14: @@ -402,7 +402,7 @@ void process_input(sqlite3 * db, FILE *i
        !            15:    char * zErrMsg = 0;
        !            16:    int nSql = 0;
        !            17:    int rc;
        !            18: -  while((zLine = getline(in))!=0 ){
        !            19: +  while((zLine = sbgetline(in))!=0 ){
        !            20:      if( (zSql==0 || zSql[0]==0) && _all_whitespace(zLine) ) continue;
        !            21:        (*lineErr)++;
        !            22:      if( zSql==0 ){

CVSweb <webmaster@jp.NetBSD.org>