config rewrites not posix safe
Bug #349661 reported by
Jamin W. Collins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gajim (Ubuntu) |
Fix Released
|
Medium
|
Nafallo Bjälevik | ||
Jaunty |
Fix Released
|
Medium
|
Nafallo Bjälevik |
Bug Description
Binary package hint: gajim
gajim does not flush or sync configuration file rewrites, which it does frequently (separate report). This can lead to data loss with ext4 and potentially other filesystems.
I believe the attached patch should correct this. I'm currently using it without issue here.
ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelMo
Package: gajim 0.12.1-0ubuntu2 [modified: usr/share/
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gajim
Uname: Linux 2.6.28-11-generic x86_64
Related branches
Changed in gajim (Ubuntu Jaunty): | |
assignee: | nobody → nafallo |
importance: | Undecided → Medium |
status: | New → Fix Committed |
To post a comment you must log in.
Updated version of the patch, makes the explicit file removal only happen on windows. It is unnecessary on posix systems as the following rename is atomic.