aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2026-07-02 13:11:37 +0100
committerRon Yorston <rmy@pobox.com>2026-07-02 13:11:37 +0100
commit882815f8740fe0c42ff53bc7df8f9bfb750d6944 (patch)
tree10cd652d2185a95e96bfa8755f8db3fa4a643599 /include
parent20495b16aaf9bc888a6fc1d10b3746c506420b04 (diff)
downloadbusybox-w32-master.tar.gz
busybox-w32-master.tar.bz2
busybox-w32-master.zip
rpm: respect BB_SYSTEMROOTHEADmaster
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.h2
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;
672int unc_root_len(const char *dir) FAST_FUNC; 672int unc_root_len(const char *dir) FAST_FUNC;
673int root_len(const char *path) FAST_FUNC; 673int root_len(const char *path) FAST_FUNC;
674const char *get_system_drive(void) FAST_FUNC; 674const char *get_system_drive(void) FAST_FUNC;
675int chdir_system_drive(void); 675void xchdir_system_drive(void);
676char *xabsolute_path(char *path) FAST_FUNC; 676char *xabsolute_path(char *path) FAST_FUNC;
677char *get_drive_cwd(const char *path, char *buffer, int size) FAST_FUNC; 677char *get_drive_cwd(const char *path, char *buffer, int size) FAST_FUNC;
678void fix_path_case(char *path) FAST_FUNC; 678void fix_path_case(char *path) FAST_FUNC;