ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/util.C
(Generate patch)

Comparing gvpe/src/util.C (file contents):
Revision 1.13 by pcg, Fri Apr 2 14:42:45 2004 UTC vs.
Revision 1.14 by pcg, Mon May 10 20:13:10 2004 UTC

125 slog (L_INFO, _("vped %s (%s %s) starting"), VERSION, __DATE__, __TIME__); 125 slog (L_INFO, _("vped %s (%s %s) starting"), VERSION, __DATE__, __TIME__);
126 126
127 return 0; 127 return 0;
128} 128}
129 129
130void
131make_names (void)
132{
133 if (!conf.pidfilename)
134 conf.pidfilename = strdup (LOCALSTATEDIR "/run/vped.pid");
135
136 if (!confbase)
137 asprintf (&confbase, "%s/vpe", CONFDIR);
138}
139
140void run_script (const run_script_cb &cb, bool wait) 130void run_script (const run_script_cb &cb, bool wait)
141{ 131{
142 int pid; 132 int pid;
143 133
144 if ((pid = fork ()) == 0) 134 if ((pid = fork ()) == 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines