aboutsummaryrefslogtreecommitdiffstats
path: root/exec/exec.c
diff options
context:
space:
mode:
authorPo Lu2023-05-01 11:28:22 +0800
committerPo Lu2023-05-01 11:28:22 +0800
commitddc16de86964d445309dd38175a85221c14f05ab (patch)
tree42b7b7d86abd636e90dbc914f347b32b7099ef33 /exec/exec.c
parenta8f9a4d2d9bc982217b4be783b236778f9d6dd32 (diff)
downloademacs-ddc16de86964d445309dd38175a85221c14f05ab.tar.gz
emacs-ddc16de86964d445309dd38175a85221c14f05ab.zip
Update Android port
* Makefile.in (extraclean): Clean in exec as well. * configure.ac: Fix detection of absolute srcdir. Also, pass CFLAGS. * exec/Makefile.in: (.c.o): Add -I. so config.h can be found.:(.s.o): Don't create m4 temporary in srcdir. * exec/config-mips.m4.in (DADDI2, DADDI3): New macros. Define to substitute if as cannot assemble daddi. * exec/configure.ac (user_h): Look for user.h in asm/ as well. Use new user.h. Also look in ptrace.h on arm systems. Check if as supports daddi on mips64. * exec/exec.c (check_interpreter): Fix char signedness bug. * exec/loader-mips64el.s (__start): Use DADDI2 and DADDI3 for two- and 3-operand daddi. * exec/mipsel-user.h: Don't include sgidefs.h. * java/INSTALL: Document that m4 is now required. * src/android.c (android_rewrite_spawn_argv): Add missing NULL.
Diffstat (limited to 'exec/exec.c')
-rw-r--r--exec/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec/exec.c b/exec/exec.c
index e890179a9ab..662c8bf69d2 100644
--- a/exec/exec.c
+++ b/exec/exec.c
@@ -95,7 +95,7 @@ check_interpreter (const char *name, int fd, const char **extra)
95 95
96 /* Strip leading whitespace. */ 96 /* Strip leading whitespace. */
97 start = buffer; 97 start = buffer;
98 while (*start && *start < 128 && isspace (*start)) 98 while (*start && ((unsigned char) *start) < 128 && isspace (*start))
99 ++start; 99 ++start;
100 100
101 /* Look for a newline character. */ 101 /* Look for a newline character. */