Fossil SCM

merge trunk

jan.nijtmans 2015-01-15 10:00 svn-import merge
Commit 3cf9f2112d1042eb9e604ae6e855b64f6cf076eb
2 files changed +1 -1 -19
+1 -1
--- src/checkin.c
+++ src/checkin.c
@@ -1187,11 +1187,11 @@
11871187
}
11881188
}
11891189
db_finalize(&q);
11901190
blob_appendf(pOut, "\n");
11911191
}
1192
- fossil_free(zDate);
1192
+ free(zDate);
11931193
11941194
db_prepare(&q,
11951195
"SELECT CASE vmerge.id WHEN -1 THEN '+' ELSE '-' END || blob.uuid, merge"
11961196
" FROM vmerge, blob"
11971197
" WHERE (vmerge.id=-1 OR vmerge.id=-2)"
11981198
--- src/checkin.c
+++ src/checkin.c
@@ -1187,11 +1187,11 @@
1187 }
1188 }
1189 db_finalize(&q);
1190 blob_appendf(pOut, "\n");
1191 }
1192 fossil_free(zDate);
1193
1194 db_prepare(&q,
1195 "SELECT CASE vmerge.id WHEN -1 THEN '+' ELSE '-' END || blob.uuid, merge"
1196 " FROM vmerge, blob"
1197 " WHERE (vmerge.id=-1 OR vmerge.id=-2)"
1198
--- src/checkin.c
+++ src/checkin.c
@@ -1187,11 +1187,11 @@
1187 }
1188 }
1189 db_finalize(&q);
1190 blob_appendf(pOut, "\n");
1191 }
1192 free(zDate);
1193
1194 db_prepare(&q,
1195 "SELECT CASE vmerge.id WHEN -1 THEN '+' ELSE '-' END || blob.uuid, merge"
1196 " FROM vmerge, blob"
1197 " WHERE (vmerge.id=-1 OR vmerge.id=-2)"
1198
-19
--- src/glob.c
+++ src/glob.c
@@ -138,29 +138,10 @@
138138
z += i+1;
139139
}
140140
return p;
141141
}
142142
143
-/*
144
-** Return non-zero if string z matches glob pattern zGlob and zero if the
145
-** pattern does not match.
146
-**
147
-** Globbing rules:
148
-**
149
-** '*' Matches any sequence of zero or more characters.
150
-**
151
-** '?' Matches exactly one character.
152
-**
153
-** [...] Matches one character from the enclosed list of
154
-** characters.
155
-**
156
-** [^...] Matches one character not in the enclosed list.
157
-*/
158
-int strglob(const char *zGlob, const char *z){
159
- return sqlite3_strglob(zGlob, z)==0;
160
-}
161
-
162143
/*
163144
** Return true (non-zero) if zString matches any of the patterns in
164145
** the Glob. The value returned is actually a 1-based index of the pattern
165146
** that matched. Return 0 if none of the patterns match zString.
166147
**
167148
--- src/glob.c
+++ src/glob.c
@@ -138,29 +138,10 @@
138 z += i+1;
139 }
140 return p;
141 }
142
143 /*
144 ** Return non-zero if string z matches glob pattern zGlob and zero if the
145 ** pattern does not match.
146 **
147 ** Globbing rules:
148 **
149 ** '*' Matches any sequence of zero or more characters.
150 **
151 ** '?' Matches exactly one character.
152 **
153 ** [...] Matches one character from the enclosed list of
154 ** characters.
155 **
156 ** [^...] Matches one character not in the enclosed list.
157 */
158 int strglob(const char *zGlob, const char *z){
159 return sqlite3_strglob(zGlob, z)==0;
160 }
161
162 /*
163 ** Return true (non-zero) if zString matches any of the patterns in
164 ** the Glob. The value returned is actually a 1-based index of the pattern
165 ** that matched. Return 0 if none of the patterns match zString.
166 **
167
--- src/glob.c
+++ src/glob.c
@@ -138,29 +138,10 @@
138 z += i+1;
139 }
140 return p;
141 }
142
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
143 /*
144 ** Return true (non-zero) if zString matches any of the patterns in
145 ** the Glob. The value returned is actually a 1-based index of the pattern
146 ** that matched. Return 0 if none of the patterns match zString.
147 **
148

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button