Skip to content

Commit c88913e

Browse files
ffontainethiagomacieira
authored andcommitted
Fix compilation error due to file descriptor
In Makefile, the file descriptor 10 is used to redirect input to .config: $(MAKE) -f $(SRCDIR)Makefile.configure OUT='>&10' configure 10> $@ This patch replaces this file descriptor from to 10 to 9 as "Redirections using file descriptors greater than 9 should be used with care, as they may conflict with file descriptors the shell uses internally." (cf. https://www.gnu.org/software/bash/manual/html_node/Redirections.html) Signed-off-by: Fabrice Fontaine <[email protected]> Signed-off-by: Thiago Macieira <[email protected]>
1 parent f775cf5 commit c88913e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ silentcheck: | lib/libtinycbor.a
9393
TESTARGS=-silent $(MAKE) -f $(MAKEFILE) -s check
9494
configure: .config
9595
.config: Makefile.configure
96-
$(MAKE) -f $(SRCDIR)Makefile.configure OUT='>&10' configure 10> $@
96+
$(MAKE) -f $(SRCDIR)Makefile.configure OUT='>&9' configure 9> $@
9797

9898
lib bin:
9999
$(MKDIR) $@

0 commit comments

Comments
 (0)