Subversion Repositories public

Rev

Rev 102 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 102 Rev 108
Line 3... Line 3...
3
/**
3
/**
4
 * \file usertable.cpp
4
 * \file usertable.cpp
5
 *
5
 *
6
 * inotify cron system
6
 * inotify cron system
7
 *
7
 *
8
 * Copyright (C) 2006, 2007, 2008 Lukas Jelinek, <lukas@aiken.cz>
8
 * Copyright (C) 2006, 2007, 2008, 2012 Lukas Jelinek, <lukas@aiken.cz>
9
 *
9
 *
10
 * This program is free software; you can use it, redistribute
10
 * This program is free software; you can use it, redistribute
11
 * it and/or modify it under the terms of the GNU General Public
11
 * it and/or modify it under the terms of the GNU General Public
12
 * License, version 2 (see LICENSE-GPL).
12
 * License, version 2 (see LICENSE-GPL).
13
 *
13
 *
14
 * Credits:
14
 * Credits:
15
 *   David Santinoli (supplementary groups)
15
 *   David Santinoli (supplementary groups)
16
 *   Boris Lechner (spaces in event-related file names)
16
 *   Boris Lechner (spaces in event-related file names)
-
 
17
 *   Christian Ruppert (new include to build with GCC 4.4+)
17
 *
18
 *
18
 */
19
 */
19
20
20
21
21
#include <pwd.h>
22
#include <pwd.h>
Line 24... Line 25...
24
#include <sys/wait.h>
25
#include <sys/wait.h>
25
#include <unistd.h>
26
#include <unistd.h>
26
#include <grp.h>
27
#include <grp.h>
27
#include <stdlib.h>
28
#include <stdlib.h>
28
#include <sys/stat.h>
29
#include <sys/stat.h>
-
 
30
#include <cstdio>
29
#include <cstring>
31
#include <cstring>
30
32
31
#include "usertable.h"
33
#include "usertable.h"
32
#include "incroncfg.h"
34
#include "incroncfg.h"
33
#include "incrontab.h"
35
#include "incrontab.h"