~emersion/mrsh-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
4

[PATCH mrsh v2] mrsh_populate_env: unset COLUMNS

Details
Message ID
<20200713204803.51573-1-sir@cmpwn.com>
DKIM signature
pass
Download raw message
Patch: +5 -0
This fixes the ls problem
---
 shell/entry.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/shell/entry.c b/shell/entry.c
index 80dcbea..62377ba 100644
--- a/shell/entry.c
+++ b/shell/entry.c
@@ -111,6 +111,11 @@ bool mrsh_populate_env(struct mrsh_state *state, char **environ) {
	}

	mrsh_env_set(state, "OPTIND", "1", MRSH_VAR_ATTRIB_NONE);

	/* POSIX 8.3: If this variable is unset or null, the implementation
	 * determines the number of columns */
	mrsh_env_unset(state, "LINES");
	mrsh_env_unset(state, "COLUMNS");
	return true;
}

-- 
2.27.0

[mrsh/patches/archlinux.yml] build failed

builds.sr.ht
Details
Message ID
<C45SIE7HI4OT.1C6WVTA4MOVQ@cirno>
In-Reply-To
<20200713204803.51573-1-sir@cmpwn.com> (view parent)
DKIM signature
missing
Download raw message
mrsh/patches/archlinux.yml #254153: FAILED in 25s

[mrsh_populate_env: unset COLUMNS][0] v2 from [Drew DeVault][1]

[0]: https://lists.sr.ht/~emersion/mrsh-dev/patches/11599
[1]: mailto:sir@cmpwn.com

https://builds.sr.ht/~emersion/job/254153

✓ _apply_patch ✓ setup ✓ build ✓ test ✗ build-release - build-minimal

[mrsh/patches/alpine.yml] build success

builds.sr.ht
Details
Message ID
<C45SIGFFBFAU.KBYTLE9ALK06@cirno>
In-Reply-To
<20200713204803.51573-1-sir@cmpwn.com> (view parent)
DKIM signature
missing
Download raw message
mrsh/patches/alpine.yml #254151: SUCCESS in 31s

[mrsh_populate_env: unset COLUMNS][0] v2 from [Drew DeVault][1]

[0]: https://lists.sr.ht/~emersion/mrsh-dev/patches/11599
[1]: mailto:sir@cmpwn.com

https://builds.sr.ht/~emersion/job/254151

✓ _apply_patch ✓ setup ✓ build-gcc ✓ build-clang ✓ test-gcc ✓ test-clang

[mrsh/patches/annotate.yml] build failed

builds.sr.ht
Details
Message ID
<C45SIJ31OQ5I.51QLIAVGQIOD@cirno2>
In-Reply-To
<20200713204803.51573-1-sir@cmpwn.com> (view parent)
DKIM signature
missing
Download raw message
mrsh/patches/annotate.yml #254152: FAILED in 36s

[mrsh_populate_env: unset COLUMNS][0] v2 from [Drew DeVault][1]

[0]: https://lists.sr.ht/~emersion/mrsh-dev/patches/11599
[1]: mailto:sir@cmpwn.com

https://builds.sr.ht/~emersion/job/254152

✓ _apply_patch ✓ annotatesh ✗ upload

[mrsh/patches/freebsd.yml] build success

builds.sr.ht
Details
Message ID
<C45SIYTTP8UE.3HX7SEEW163BX@cirno>
In-Reply-To
<20200713204803.51573-1-sir@cmpwn.com> (view parent)
DKIM signature
missing
Download raw message
mrsh/patches/freebsd.yml #254154: SUCCESS in 1m10s

[mrsh_populate_env: unset COLUMNS][0] v2 from [Drew DeVault][1]

[0]: https://lists.sr.ht/~emersion/mrsh-dev/patches/11599
[1]: mailto:sir@cmpwn.com

https://builds.sr.ht/~emersion/job/254154

✓ _apply_patch ✓ setup ✓ build ✓ test
Reply to thread Export thread (mbox)