toolchain/toolchain-wrapper.c: fix indentation
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")
Signed-off-by Markus Mayer <[email protected]>
--- toolchain/toolchain-wrapper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
toolchain/toolchain-wrapper.c +3 -3
@@ -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
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")Signed-off-by Markus Mayer <[email protected]>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Perale via buildroot
AppliedIn 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")Signed-off-by Markus Mayer <[email protected]>
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@@ -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