summaryrefslogtreecommitdiff
path: root/package/busybox/busybox-1.12.1-login.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-11-13 16:32:52 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-11-13 16:32:52 +0000
commitbe4f829719800b261f76ce5d7b492cf4097fbe27 (patch)
treeefc29be74e4dfa907252608dca6553c2bcd48ac9 /package/busybox/busybox-1.12.1-login.patch
parent14520e6fa3dd68cd491af4c1423bb0fd91ac740e (diff)
busybox: bump 1.12.x version
Diffstat (limited to 'package/busybox/busybox-1.12.1-login.patch')
-rw-r--r--package/busybox/busybox-1.12.1-login.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/package/busybox/busybox-1.12.1-login.patch b/package/busybox/busybox-1.12.1-login.patch
deleted file mode 100644
index cc015ea47..000000000
--- a/package/busybox/busybox-1.12.1-login.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- busybox-1.12.1/libbb/setup_environment.c Sun Sep 28 20:04:20 2008
-+++ busybox-1.12.1-login/libbb/setup_environment.c Fri Oct 31 00:56:51 2008
-@@ -32,15 +32,15 @@
-
- void FAST_FUNC setup_environment(const char *shell, int clear_env, int change_env, const struct passwd *pw)
- {
-+ /* Change the current working directory to be the home directory
-+ * of the user */
-+ if (chdir(pw->pw_dir)) {
-+ xchdir("/");
-+ bb_error_msg("can't chdir to home directory '%s'", pw->pw_dir);
-+ }
-+
- if (clear_env) {
- const char *term;
--
-- /* Change the current working directory to be the home directory
-- * of the user */
-- if (chdir(pw->pw_dir)) {
-- xchdir("/");
-- bb_error_msg("can't chdir to home directory '%s'", pw->pw_dir);
-- }
-
- /* Leave TERM unchanged. Set HOME, SHELL, USER, LOGNAME, PATH.
- Unset all other environment variables. */