summaryrefslogtreecommitdiffstats
path: root/util/system
diff options
context:
space:
mode:
authordruxa <[email protected]>2022-02-10 16:49:28 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:49:28 +0300
commita6b6f52a89f054724740e5f7a04800b3d64f4367 (patch)
treefa84234b6b0eb745f922f635a6497d1e7eb9b2e0 /util/system
parent3d0b4183f2ddf8aebaf3f4ad74517b2eddef26a8 (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/system')
-rw-r--r--util/system/maxlen.h4
-rw-r--r--util/system/shellcommand.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/util/system/maxlen.h b/util/system/maxlen.h
index e1ff7f50086..2cc31340930 100644
--- a/util/system/maxlen.h
+++ b/util/system/maxlen.h
@@ -8,9 +8,9 @@
#endif
#define HOST_MAX 260
-#ifndef URL_MAX
+#ifndef URL_MAX
#define URL_MAX 1024
-#endif
+#endif
#define FULLURL_MAX (URL_MAX + HOST_MAX)
#define LINKTEXT_MAX 1024
diff --git a/util/system/shellcommand.cpp b/util/system/shellcommand.cpp
index b1989b5c8c3..a0b82e8e219 100644
--- a/util/system/shellcommand.cpp
+++ b/util/system/shellcommand.cpp
@@ -397,7 +397,7 @@ public:
if (!ok && (errno == ESRCH) && DetachSession) {
// this could fail when called before child proc completes setsid().
ok = kill(Pid, SIGTERM) == 0;
- kill(-Pid, SIGTERM); // between a failed kill(-Pid) and a successful kill(Pid) a grandchild could have been spawned
+ kill(-Pid, SIGTERM); // between a failed kill(-Pid) and a successful kill(Pid) a grandchild could have been spawned
}
#else
TerminateProcess(Pid, 1 /* exit code */);