On Thu, 2010-11-25 at 23:36 -0500, jamesb wrote: > Package: kernel > Severity: critical > > It appears that after doing some heavy compiling and filling up the entire > filesystem, my xchat > settings completely vanished when i decided to reuse it. (decided to clear > out all the made up object files > and have XX megs space free). I was stunned to see "zero" network lists to > select on an irc connection dialog > startup box.. I remember reading about a patch for a filesystem routine about > applications accessing > file read/write operations-- not sure if which library exactly does this.. so > i'm posting about this > loss of data.. it may just be xchat but I have suspicions that it isn't.. > thanks for the good work.. > *
xchat's save_config() function: (1) leaves the output file open if it fails to write data (2) returns a success indicator, which all its callers ignore I'm not sure whether these can explain the above behaviour, but if I can spot these bugs in 5 minutes then there are probably others that can. Ben. -- Ben Hutchings Once a job is fouled up, anything done to improve it makes it worse.
signature.asc
Description: This is a digitally signed message part