Merge pull request #2596 from keszybz/move-activate-to-bin
Move activate to bin, extend --fdnames functionality
This commit is contained in:
+2
-2
@@ -371,7 +371,7 @@ char *strv_join(char **l, const char *separator) {
|
||||
|
||||
n = 0;
|
||||
STRV_FOREACH(s, l) {
|
||||
if (n != 0)
|
||||
if (s != l)
|
||||
n += k;
|
||||
n += strlen(*s);
|
||||
}
|
||||
@@ -382,7 +382,7 @@ char *strv_join(char **l, const char *separator) {
|
||||
|
||||
e = r;
|
||||
STRV_FOREACH(s, l) {
|
||||
if (e != r)
|
||||
if (s != l)
|
||||
e = stpcpy(e, separator);
|
||||
|
||||
e = stpcpy(e, *s);
|
||||
|
||||
Reference in New Issue
Block a user