Fossil SCM

minor doc clarification for the previous commit.

stephan 2012-02-12 11:04 trunk
Commit f42096f7ca1d57960a6f93fbd51112d359b0c3ef
1 file changed +3 -3
+3 -3
--- src/json_wiki.c
+++ src/json_wiki.c
@@ -292,13 +292,13 @@
292292
blob_append(&content, cson_string_cstr(jstr),contentLen);
293293
}
294294
wiki_cmd_commit(zPageName, 0==rid, &content);
295295
blob_reset(&content);
296296
/*
297
- Our return value here has a race condition: if the page is saved
298
- again before the next line finishes, payV could be the results
299
- of the other save operation.
297
+ Our return value here has a race condition: if this operation
298
+ is called concurrently for the same wiki page via two requests,
299
+ payV could reflect the results of the other save operation.
300300
*/
301301
payV = json_get_wiki_page_by_name(
302302
cson_string_cstr(
303303
cson_value_get_string(nameV)),
304304
0);
305305
--- src/json_wiki.c
+++ src/json_wiki.c
@@ -292,13 +292,13 @@
292 blob_append(&content, cson_string_cstr(jstr),contentLen);
293 }
294 wiki_cmd_commit(zPageName, 0==rid, &content);
295 blob_reset(&content);
296 /*
297 Our return value here has a race condition: if the page is saved
298 again before the next line finishes, payV could be the results
299 of the other save operation.
300 */
301 payV = json_get_wiki_page_by_name(
302 cson_string_cstr(
303 cson_value_get_string(nameV)),
304 0);
305
--- src/json_wiki.c
+++ src/json_wiki.c
@@ -292,13 +292,13 @@
292 blob_append(&content, cson_string_cstr(jstr),contentLen);
293 }
294 wiki_cmd_commit(zPageName, 0==rid, &content);
295 blob_reset(&content);
296 /*
297 Our return value here has a race condition: if this operation
298 is called concurrently for the same wiki page via two requests,
299 payV could reflect the results of the other save operation.
300 */
301 payV = json_get_wiki_page_by_name(
302 cson_string_cstr(
303 cson_value_get_string(nameV)),
304 0);
305

Keyboard Shortcuts

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