mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 00:52:30 +02:00
Use an io channel to write the config file.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4990 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
d993ce7b06
commit
4534ef242d
3 changed files with 20 additions and 18 deletions
|
|
@ -48,7 +48,6 @@ struct _CONFIG_NODE {
|
|||
|
||||
struct _CONFIG_REC {
|
||||
char *fname;
|
||||
int handle;
|
||||
int create_mode;
|
||||
int modifycounter; /* increase every time something is changed */
|
||||
|
||||
|
|
@ -60,6 +59,7 @@ struct _CONFIG_REC {
|
|||
GScanner *scanner;
|
||||
|
||||
/* while writing to configuration file.. */
|
||||
GIOChannel *handle;
|
||||
int tmp_indent_level; /* indentation position */
|
||||
int tmp_last_lf; /* last character was a line feed */
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue