Modify ↓
Opened at 2010-01-30T13:22:18Z
Closed at 2010-01-30T15:35:46Z
#558 closed enhancement (duplicate)
Add O_SYNC to open() when writing XML configuration
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | BitlBee | Version: | devel |
| Keywords: | Cc: | ||
| IRC client+version: | Client-independent | Operating System: | NetBSD |
| OS version/distro: |
Description
The XML configuration can get corrupted due to a system crash. Is it worth to pass the O_SYNC flag (or maybe O_DSYNC)?
The attached patch - very simple! - adds the O_SYNC flag to the open(2) call in xml_save(), in storage_xml.c.
Attachments (0)
Change History (1)
comment:1 Changed at 2010-01-30T15:35:46Z by
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Note: See
TracTickets for help on using
tickets.

#559