blob: 1aae75ec913eae32a8b03e43ffae05365d01d050 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
diff -ur sqlitebrowser.orig/sqlitebrowser/sqlbrowser_util.c sqlitebrowser/sqlitebrowser/sqlbrowser_util.c
--- sqlitebrowser.orig/sqlitebrowser/sqlbrowser_util.c 2005-03-23 16:56:39.000000000 +0200
+++ sqlitebrowser/sqlitebrowser/sqlbrowser_util.c 2009-08-06 14:25:02.000000000 +0300
@@ -358,7 +358,7 @@
}
-char *getline(FILE *in){
+char *get_line(FILE *in){
char *zLine;
int nLine;
int n;
@@ -402,7 +402,7 @@
char * zErrMsg = 0;
int nSql = 0;
int rc;
- while((zLine = getline(in))!=0 ){
+ while((zLine = get_line(in))!=0 ){
if( (zSql==0 || zSql[0]==0) && _all_whitespace(zLine) ) continue;
(*lineErr)++;
if( zSql==0 ){
|