Thread: INotify watchdog and code review

  1. #1
    Registered User
    Join Date
    Sep 2013
    Posts
    2

    INotify watchdog and code review

    Hello everyone, my name is Alessio Peternelli.

    It's been some time (almost ten years) from my last line of C, but now i need to implement a watchdog so i writed a small program: "https://github.com/ape-box/watchdog".
    It's goal is to watch for unwanted files and delete them, accordingly the sysadmin this is the only realiable way, given the server setup and resources available, to protect the environment from a specific threat (it's not important in this context).

    This program have some bugs and it's not ready to production environment: i need to be sure it's code is decent and not dangerous for my hosting provider.

    About the bugs i will isolate them and post the problem in a decent manner, but until then i need a code review from someone more experienced then me.

    If im in violation of some etiquette i missed, i am really sorry and apologize; if this is not the place for such things ... i am sorry too

    I will be happy to receive some reviews and hint about the code or where/how to have someone help me with that.


    Thank you very much,
    Alessio

  2. #2
    Registered User loserone+_+'s Avatar
    Join Date
    Dec 2012
    Location
    Indonesia
    Posts
    112
    wow, for the first time i see many function in the program, makes headache xD

  3. #3
    Registered User
    Join Date
    Sep 2013
    Posts
    2
    Sorry

    Will be glad to refactor/clean it, any suggestion about how to restructure it ?

  4. #4
    Registered User loserone+_+'s Avatar
    Join Date
    Dec 2012
    Location
    Indonesia
    Posts
    112
    see my line, im still amateur, not a pros

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to get a code review
    By Richardcavell in forum C Programming
    Replies: 42
    Last Post: 03-19-2011, 10:36 PM
  2. C Code Review
    By trillianjedi in forum Projects and Job Recruitment
    Replies: 3
    Last Post: 06-18-2008, 12:29 PM
  3. Code review
    By Elysia in forum C++ Programming
    Replies: 71
    Last Post: 05-13-2008, 09:42 PM
  4. Code Review
    By Thantos in forum C Programming
    Replies: 8
    Last Post: 03-06-2004, 06:20 PM
  5. review code
    By absenta in forum C++ Programming
    Replies: 3
    Last Post: 04-09-2002, 02:13 PM

Tags for this Thread