ash: NTO2 needs #if ENABLE_ASH_BASH_COMPAT
authorDenis Vlasenko <vda.linux@googlemail.com>
Sat, 22 Nov 2008 01:32:40 +0000 (01:32 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sat, 22 Nov 2008 01:32:40 +0000 (01:32 -0000)
shell/ash.c

index f99c5093326b5bebeb5468aa636c3752a7d79330..d44de3319e179ea03a2808c0cd2073ea878db8ad 100644 (file)
@@ -7575,7 +7575,9 @@ static const short nodesize[N_NUMBER] = {
        [NDEFUN   ] = SHELL_ALIGN(sizeof(struct narg)),
        [NARG     ] = SHELL_ALIGN(sizeof(struct narg)),
        [NTO      ] = SHELL_ALIGN(sizeof(struct nfile)),
+#if ENABLE_ASH_BASH_COMPAT
        [NTO2     ] = SHELL_ALIGN(sizeof(struct nfile)),
+#endif
        [NCLOBBER ] = SHELL_ALIGN(sizeof(struct nfile)),
        [NFROM    ] = SHELL_ALIGN(sizeof(struct nfile)),
        [NFROMTO  ] = SHELL_ALIGN(sizeof(struct nfile)),