cast arguments of strtonum
It fixes some sefaults on i486 and i686, for example:
nc -x 127.0.0.1:4243 -X4 127.0.0.1 4242
which broke the openssh tests.
#include <unistd.h>
#include <fcntl.h>
#include <limits.h>
-+#include <stdlib.h>
++#include <bsd/stdlib.h>
+#include <string.h>
#include "atomicio.h"
pflag = optarg;
break;
+ case 'q':
-+ qflag = strtonum(optarg, (long long)INT_MIN, (long long)INT_MAX, &errstr);
++ qflag = strtonum(optarg, INT_MIN, INT_MAX, &errstr);
+ if (errstr)
+ errx(1, "quit timer %s: %s", errstr, optarg);
+ break;
Summary(pt_BR.UTF-8): Ferramenta de teste e depuração para serviços de rede
Name: netcat-openbsd
Version: 1.105
-Release: 2
+Release: 3
License: Public Domain
Group: Networking/Utilities
Source0: http://ftp.debian.org/debian/pool/main/n/%{name}/%{name}_%{version}.orig.tar.gz