openbsd-ports/net/lftp/patches/patch-src_misc_cc

12 lines
414 B
Plaintext

--- src/misc.cc.orig Wed Nov 10 18:31:08 2004
+++ src/misc.cc Wed Nov 10 18:31:58 2004
@@ -266,7 +266,7 @@ void truncate_file_tree(const char *dir
SignalHook::Ignore(SIGTSTP);
SignalHook::Ignore(SIGQUIT);
SignalHook::Ignore(SIGHUP);
- execlp("rm","rm","-rf",dir,NULL);
+ execlp("rm","rm","-rf",dir,(void *)NULL);
perror("execlp(rm)");
fflush(stderr);
_exit(1);