diff options
author | Ron Yorston <rmy@pobox.com> | 2024-07-08 14:10:31 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2024-07-08 14:10:31 +0100 |
commit | fff1c91e642f4d62e5dc542594e79b0972a3db78 (patch) | |
tree | 549230ec628e19105fc814ab8746264d96c0d9ea /include | |
parent | 9e0db7ef4a231cdf619e3fb7223ad1345b2adcf0 (diff) | |
download | busybox-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.h | 1 |
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); | |||
639 | char *xappendword(const char *str, const char *word); | 639 | char *xappendword(const char *str, const char *word); |
640 | int windows_env(void); | 640 | int windows_env(void); |
641 | void change_critical_error_dialogs(const char *newval) FAST_FUNC; | 641 | void change_critical_error_dialogs(const char *newval) FAST_FUNC; |
642 | char *exe_relative_path(const char *tail); | ||