Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F158910247
D5868.id14953.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
358 B
Referenced Files
None
Subscribers
None
D5868.id14953.diff
View Options
Index: head/lib/libc/db/hash/hash.c
===================================================================
--- head/lib/libc/db/hash/hash.c
+++ head/lib/libc/db/hash/hash.c
@@ -423,7 +423,8 @@
free(hashp->tmp_buf);
if (hashp->fp != -1) {
- (void)_fsync(hashp->fp);
+ if (hashp->save_file)
+ (void)_fsync(hashp->fp);
(void)_close(hashp->fp);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jun 8, 3:09 PM (19 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33814440
Default Alt Text
D5868.id14953.diff (358 B)
Attached To
Mode
D5868: Follow-up r295924: Only sync hash-based db files open for writing when closing.
Attached
Detach File
Event Timeline
Log In to Comment