Glib and file manipulation
Hello, Im writting a font end for a webserver in GTK+ 2.This webserver has its config file in the format:
ServerRoot SomeValue
PidFile Path
Everything is fine, only that my function (void writeconf()) for changing the values, corrupts (sometimes and with only some variables which seem to be random) the servers config file. I have even tried to use this function without GTK and still doesnt work correctly.
Here is the URL for the file where the function is (I think its too long to type it here):
fileio.c
fileio.h
Thanks!