projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remarks about 1.0pre8 release.
[tinc]
/
src
/
process.c
diff --git
a/src/process.c
b/src/process.c
index
46a8de8
..
edcd5a0
100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: process.c,v 1.1.2.4
7 2002/09/09 22:32:49
guus Exp $
+ $Id: process.c,v 1.1.2.4
9 2002/09/15 14:55:53
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-220,8
+220,6
@@
void _execute_script(const char *scriptname, char **envp)
__attribute__ ((noreturn));
void _execute_script(const char *scriptname, char **envp)
{
__attribute__ ((noreturn));
void _execute_script(const char *scriptname, char **envp)
{
- char *s;
-
cp();
while(*envp)
cp();
while(*envp)
@@
-372,9
+370,7
@@
RETSIGTYPE sigint_handler(int a)
debug_lvl = saved_debug_lvl;
saved_debug_lvl = 0;
} else {
debug_lvl = saved_debug_lvl;
saved_debug_lvl = 0;
} else {
- syslog(LOG_NOTICE,
- _
- ("Temporarily setting debug level to 5. Kill me with SIGINT again to go back to level %d."),
+ syslog(LOG_NOTICE, _("Temporarily setting debug level to 5. Kill me with SIGINT again to go back to level %d."),
debug_lvl);
saved_debug_lvl = debug_lvl;
debug_lvl = 5;
debug_lvl);
saved_debug_lvl = debug_lvl;
debug_lvl = 5;
@@
-471,9
+467,7
@@
void setup_signals(void)
for(i = 0; sighandlers[i].signal; i++) {
act.sa_handler = sighandlers[i].handler;
if(sigaction(sighandlers[i].signal, &act, NULL) < 0)
for(i = 0; sighandlers[i].signal; i++) {
act.sa_handler = sighandlers[i].handler;
if(sigaction(sighandlers[i].signal, &act, NULL) < 0)
- fprintf(stderr,
- _
- ("Installing signal handler for signal %d (%s) failed: %s\n"),
+ fprintf(stderr, _("Installing signal handler for signal %d (%s) failed: %s\n"),
sighandlers[i].signal, strsignal(sighandlers[i].signal),
strerror(errno));
}
sighandlers[i].signal, strsignal(sighandlers[i].signal),
strerror(errno));
}