| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/textproc/yodl/files/ |
Upload File : |
--- src/verbinsert/main.cc.orig 2018-07-22 13:07:15 UTC
+++ src/verbinsert/main.cc
@@ -2,6 +2,7 @@
#include <fstream>
#include <iomanip>
#include <string>
+#include <cstdlib>
#include <unistd.h>
#include <regex>
@@ -43,19 +44,19 @@ int main(int argc, char **argv)
continue;
case 's':
- indent.append(stoul(optarg), ' ');
+ indent.append(stoul(optarg, NULL, 0), ' ');
continue;
case 't':
- indent.insert(0, stoul(optarg), '\t');
+ indent.insert(0, stoul(optarg, NULL, 0), '\t');
continue;
case 'S':
- vindent.append(stoul(optarg), ' ');
+ vindent.append(stoul(optarg, NULL, 0), ' ');
continue;
case 'T':
- vindent.insert(0, stoul(optarg), '\t');
+ vindent.insert(0, stoul(optarg, NULL, 0), '\t');
continue;
case 'N':