Re: [hackers] [quark] missing newline

From: Ali H. Fardan <raiz_AT_firemail.cc>
Date: Fri, 02 Sep 2016 17:26:12 +0300

sorry, wrong patch



On 2016-09-02 17:21, Ali H. Fardan wrote:
> diff --git a/quark.c b/quark.c
> index 6ff50f5..f69ed59 100644
> --- a/quark.cdiff --git a/quark.c b/quark.c
index 6ff50f5..7e6530f 100644
--- a/quark.c
+++ b/quark.c
_AT_@ -694,7 +694,7 @@ main(int argc, char *argv[])
          /* raise the process limit */
          rlim.rlim_cur = rlim.rlim_max = maxnprocs;
          if (setrlimit(RLIMIT_NPROC, &rlim) < 0) {
- fprintf(stderr, "%s: setrlimit RLIMIT_NPROC: %s", argv0,
+ fprintf(stderr, "%s: setrlimit RLIMIT_NPROC: %s\n", argv0,
                          strerror(errno));
                  return 1;
          }

> +++ b/quark.c
> _AT_@ -686,7 +686,7 @@ main(int argc, char *argv[])
>
> /* reap children automatically */
> if (signal(SIGCHLD, SIG_IGN) == SIG_ERR) {
> - fprintf(stderr, "%s: signal: Failed to set SIG_IGN on"
> + fprintf(stderr, "%s: signal: Failed to set SIG_IGN on\n"
> "SIGCHLD\n", argv0);
> return 1;
> }
> _AT_@ -694,7 +694,7 @@ main(int argc, char *argv[])
> /* raise the process limit */
> rlim.rlim_cur = rlim.rlim_max = maxnprocs;
> if (setrlimit(RLIMIT_NPROC, &rlim) < 0) {
> - fprintf(stderr, "%s: setrlimit RLIMIT_NPROC: %s", argv0,
> + fprintf(stderr, "%s: setrlimit RLIMIT_NPROC: %s\n", argv0,
> strerror(errno));
> return 1;
> }
Received on Fri Sep 02 2016 - 16:26:12 CEST

This archive was generated by hypermail 2.3.0 : Fri Sep 02 2016 - 16:36:14 CEST