Thread: Glib and file manipulation

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User unixOZ's Avatar
    Join Date
    Feb 2002
    Posts
    91

    Question 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!
    Last edited by unixOZ; 03-21-2004 at 03:34 PM.
    http://www.igloo.cl/~unixoz

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem with a GLIB
    By giladist in forum C Programming
    Replies: 3
    Last Post: 05-26-2007, 11:29 PM