Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fix an invalid call to free() that occurs when "fossil add ." is run. Ticket [157ef3e5a7a06b]. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
ed5c19cd435421dbeece014a7991bd94 |
| User & Date: | drh 2011-04-18 12:01:01.809 |
Context
|
2011-04-18
| ||
| 12:29 | Add the PT() and PDT() macros for extracting query parameters with leading and trailing whitespace removed. Use those macros to in the check-in edit page. Do not create branches or tags with empty names. Ticket [e613f452fada00]. check-in: 655e78209b user: drh tags: trunk | |
| 12:01 | Fix an invalid call to free() that occurs when "fossil add ." is run. Ticket [157ef3e5a7a06b]. check-in: ed5c19cd43 user: drh tags: trunk | |
|
2011-04-15
| ||
| 20:42 | Make an entry in the access log when a login transfers from one member of a login group to another. check-in: 7b700dfacd user: drh tags: trunk | |
Changes
Changes to src/add.c.
| ︙ | ︙ | |||
223 224 225 226 227 228 229 |
char *zTreeName = &zName[nRoot];
db_multi_exec(
"INSERT OR IGNORE INTO sfile(x)"
" SELECT %Q WHERE NOT EXISTS(SELECT 1 FROM vfile WHERE pathname=%Q)",
zTreeName, zTreeName
);
}
| | | 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 |
char *zTreeName = &zName[nRoot];
db_multi_exec(
"INSERT OR IGNORE INTO sfile(x)"
" SELECT %Q WHERE NOT EXISTS(SELECT 1 FROM vfile WHERE pathname=%Q)",
zTreeName, zTreeName
);
}
blob_reset(&fullName);
}
glob_free(pIgnore);
add_files_in_sfile(vid);
db_end_transaction(0);
}
|
| ︙ | ︙ |