чување 32c7f58d3b27dd9dc1b3c236edb6c25cb09f8060
родитељ a0178a7fff5bc18673d9a6f4291ba83f3a680d4e
Аутор: Страхиња Радић <contact@strahinja.org>
Датум: Mon, 19 Jul 2021 15:02:53 +0200
Changed tracker URL, added AUTHOR to manpage
Signed-off-by: Страхиња Радић <contact@strahinja.org>
Diffstat:
измењених датотека: 4, додавања: 10(+), брисања: 3(-)
diff --git a/index.html b/index.html
@@ -153,7 +153,7 @@ this program. If not, see <<a href="https://www.gnu.org/licenses">https://www
<div id="git-log">
Previous commit:
-index.slw 50c2b73 2021-06-28 15:43:39 +0200 (Страхиња Радић) (HEAD -> master, origin/master, origin/HEAD)
+index.slw a0178a7 2021-07-11 17:58:39 +0200 (Страхиња Радић) (HEAD -> master, origin/master, origin/HEAD)
</div><!--git-log-->
diff --git a/index.slw b/index.slw
@@ -5,7 +5,7 @@ stylesheet: /slweb/index.css
stylesheet: /slweb/katex.min.css
favicon-url: /slweb/favicon.ico
image: https://strahinja.srht.site/slweb/logo-social.webp
-canonical: https://strahinja.srht.site/slweb/index.html
+canonical: https://strahinja.srht.site/slweb/
meta: index-meta.csv
---
{main}
@@ -139,7 +139,7 @@ this program. If not, see <[https://www.gnu.org/licenses/][licen]>.
[aredo]: https://github.com/apenwarr/redo
[examp]: https://git.sr.ht/~strahinja/slweb/tree/master/item/examples
-[issue]: https://sr.ht/~strahinja/slweb/trackers
+[issue]: https://todo.sr.ht/~strahinja/slweb
[mtodo]: https://git.sr.ht/~strahinja/slweb/tree/master/item/TODO
[katex]: https://katex.org
[licen]: https://www.gnu.org/licenses
diff --git a/slweb.1.in b/slweb.1.in
@@ -1027,6 +1027,12 @@ will produce
</tag>
.CDE
.
+.SH AUTHOR
+.
+Strahinya Radich,
+.UR https://\:strahinja.org
+.UE
+.
.SH BUGS
.
.LP
diff --git a/slweb.c b/slweb.c
@@ -1244,6 +1244,7 @@ process_incdir(uint8_t* token, const uint8_t* link_prefix, FILE* output,
exit(error(1, (uint8_t*)"incdir: Non-numeric argument"));
parg++;
}
+ errno = 0;
num = strtol((char*)arg, NULL, 10);
if (errno)
exit(error(errno, (uint8_t*)"incdir: Invalid parameter 'num'"));