Skip to content

Commit 04521f3

Browse files
authored
Merge pull request #9 from rmyorston/master
Sync with upstream
2 parents ff79001 + fd4410b commit 04521f3

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

shell/ash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11967,7 +11967,7 @@ evalcommand(union node *cmd, int flags)
1196711967
#if ENABLE_FEATURE_SH_STANDALONE \
1196811968
&& ENABLE_FEATURE_SH_NOFORK \
1196911969
&& NUM_APPLETS > 1 \
11970-
&& !(defined(_ARM64_) && !defined(_UCRT) && ENABLE_PLATFORM_MINGW32)
11970+
&& !((defined(_ARM64_) || defined(_ARM_)) && !defined(_UCRT) && ENABLE_PLATFORM_MINGW32)
1197111971
/* (1) BUG: if variables are set, we need to fork, or save/restore them
1197211972
* around run_nofork_applet() call.
1197311973
* (2) Should this check also be done in forkshell()?

win32/uname.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ int uname(struct utsname *name)
3131
name->machine[1] = '3';
3232
}
3333
break;
34+
#if defined(PROCESSOR_ARCHITECTURE_ARM)
35+
case PROCESSOR_ARCHITECTURE_ARM:
36+
strcpy(name->machine, "armv7");
37+
break;
38+
#endif
3439
#if defined(PROCESSOR_ARCHITECTURE_ARM64)
3540
case PROCESSOR_ARCHITECTURE_ARM64:
3641
strcpy(name->machine, "aarch64");

0 commit comments

Comments
 (0)