[hackers] [sbase] Break long line in mktemp(1) || sin
commit f23409f65a53f813c5d795d5bd87eac9d44769b7
Author: sin <sin_AT_2f30.org>
Date: Fri May 2 21:38:03 2014 +0100
Break long line in mktemp(1)
diff --git a/mktemp.c b/mktemp.c
index d2188d1..cf2572f 100644
--- a/mktemp.c
+++ b/mktemp.c
_AT_@ -42,7 +42,8 @@ main(int argc, char *argv[])
if ((p = getenv("TMPDIR")))
tmpdir = p;
- if (snprintf(tmppath, sizeof(tmppath), "%s/%s", tmpdir, template) >= sizeof(tmppath))
+ if (snprintf(tmppath, sizeof(tmppath),
+ "%s/%s", tmpdir, template) >= sizeof(tmppath))
eprintf("path too long
");
if (dflag) {
if (!mkdtemp(tmppath)) {
Received on Fri May 02 2014 - 22:38:47 CEST
This archive was generated by hypermail 2.3.0
: Fri May 02 2014 - 22:48:07 CEST