diff options
| author | Ron Yorston <rmy@pobox.com> | 2026-07-02 13:11:37 +0100 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2026-07-02 13:11:37 +0100 |
| commit | 882815f8740fe0c42ff53bc7df8f9bfb750d6944 (patch) | |
| tree | 10cd652d2185a95e96bfa8755f8db3fa4a643599 /include | |
| parent | 20495b16aaf9bc888a6fc1d10b3746c506420b04 (diff) | |
| download | busybox-w32-master.tar.gz busybox-w32-master.tar.bz2 busybox-w32-master.zip | |
Update the 'rpm' applet so it also respects the BB_SYSTEMROOT
environment variable.
Replace chdir_system_drive() with xchdir_system_drive(), which
exits on failure to change directory.
Saves 32-36 bytes.
(GitHub PR #603)
Signed-off-by: Ron Yorston <rmy@pobox.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/mingw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mingw.h b/include/mingw.h index c2a106139..52f4605cf 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
| @@ -672,7 +672,7 @@ int enumerate_links(const char *file, char *name) FAST_FUNC; | |||
| 672 | int unc_root_len(const char *dir) FAST_FUNC; | 672 | int unc_root_len(const char *dir) FAST_FUNC; |
| 673 | int root_len(const char *path) FAST_FUNC; | 673 | int root_len(const char *path) FAST_FUNC; |
| 674 | const char *get_system_drive(void) FAST_FUNC; | 674 | const char *get_system_drive(void) FAST_FUNC; |
| 675 | int chdir_system_drive(void); | 675 | void xchdir_system_drive(void); |
| 676 | char *xabsolute_path(char *path) FAST_FUNC; | 676 | char *xabsolute_path(char *path) FAST_FUNC; |
| 677 | char *get_drive_cwd(const char *path, char *buffer, int size) FAST_FUNC; | 677 | char *get_drive_cwd(const char *path, char *buffer, int size) FAST_FUNC; |
| 678 | void fix_path_case(char *path) FAST_FUNC; | 678 | void fix_path_case(char *path) FAST_FUNC; |
