Skip to contentSkip to conversation

toolchain/toolchain-wrapper.c: fix indentation

PATCH Applied Markus Mayer via buildroot 1 participant 3 messages Jul 22, 2025 – Aug 7, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 toolchain/toolchain-wrapper.c: fix indentation

A recent commit introduced a few lines that were indented with spaces rather than a tab. Rectify this.

Fixes 00b30f887ac2 ("toolchain-wrapper.c: get rid of EXCLUSIVE_ARGS")
---
 toolchain/toolchain-wrapper.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
toolchain/toolchain-wrapper.c +3 -3
index 9fb96a276a76..5b306190bbef 100644
@@ -487,14 +487,14 @@ int main(int argc, char **argv)
 #endif
 	}
 
-        n_args = (cur - args);
-        if ((n_args + argc) > DEFAULT_MAX_ARGS) {
+	n_args = (cur - args);
+	if ((n_args + argc) > DEFAULT_MAX_ARGS) {
 		args = realloc(args, (n_args + argc) * sizeof(char *));
 		if (args == NULL) {
 			perror(__FILE__ ": realloc");
 			return 2;
 		}
-        }
+	}
 
 	/* append forward args and terminating NULL */
 	memcpy(&args[n_args], &argv[1], sizeof(char *) * argc);
Signature · 6 lines
2.50.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 5 lines · Markus Mayer via buildroot

A recent commit introduced a few lines that were indented with spaces rather than a tab. Rectify this.

Fixes 00b30f887ac2 ("toolchain-wrapper.c: get rid of EXCLUSIVE_ARGS")

Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to Markus Mayer via buildroot

In reply of:

Quoted 5 lines

A recent commit introduced a few lines that were indented with spaces rather than a tab. Rectify this.

Fixes 00b30f887ac2 ("toolchain-wrapper.c: get rid of EXCLUSIVE_ARGS")

Applied to 2025.02.x & 2025.05.x. Thanks

Quoted 33 lines
---
 toolchain/toolchain-wrapper.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
toolchain/toolchain-wrapper.c +3 -3
index 9fb96a276a76..5b306190bbef 100644
@@ -487,14 +487,14 @@ int main(int argc, char **argv)
 #endif
 	}
 
-        n_args = (cur - args);
-        if ((n_args + argc) > DEFAULT_MAX_ARGS) {
+	n_args = (cur - args);
+	if ((n_args + argc) > DEFAULT_MAX_ARGS) {
 		args = realloc(args, (n_args + argc) * sizeof(char *));
 		if (args == NULL) {
 			perror(__FILE__ ": realloc");
 			return 2;
 		}
-        }
+	}
 
 	/* append forward args and terminating NULL */
 	memcpy(&args[n_args], &argv[1], sizeof(char *) * argc);
Signature · 6 lines
2.50.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot