aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2024-07-08 14:10:31 +0100
committerRon Yorston <rmy@pobox.com>2024-07-08 14:10:31 +0100
commitfff1c91e642f4d62e5dc542594e79b0972a3db78 (patch)
tree549230ec628e19105fc814ab8746264d96c0d9ea /include
parent9e0db7ef4a231cdf619e3fb7223ad1345b2adcf0 (diff)
downloadbusybox-w32-fff1c91e642f4d62e5dc542594e79b0972a3db78.tar.gz
busybox-w32-fff1c91e642f4d62e5dc542594e79b0972a3db78.tar.bz2
busybox-w32-fff1c91e642f4d62e5dc542594e79b0972a3db78.zip
ash: read profile script relative to binary
As well as trying to read '/etc/profile' also look for the script 'etc/profile' relative to the location of the running binary. Adds 64-96 bytes.
Diffstat (limited to 'include')
-rw-r--r--include/mingw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h
index b0342337d..c4c2e199a 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -639,3 +639,4 @@ char *find_first_executable(const char *name);
639char *xappendword(const char *str, const char *word); 639char *xappendword(const char *str, const char *word);
640int windows_env(void); 640int windows_env(void);
641void change_critical_error_dialogs(const char *newval) FAST_FUNC; 641void change_critical_error_dialogs(const char *newval) FAST_FUNC;
642char *exe_relative_path(const char *tail);