[kde-freebsd] Re: patch needed for Xsession

M. Warner Losh imp at ixsystems.com
Thu Oct 28 02:23:57 CEST 2010


  On 10/27/2010 18:20, Raphael Kubo da Costa wrote:
> At Wed, 27 Oct 2010 17:39:58 -0600,
> M. Warner Losh wrote:
>>    On 10/27/2010 17:38, Raphael Kubo da Costa wrote:
>>> At Thu, 28 Oct 2010 14:59:37 -0400,
>>> Kris Moore wrote:
>>>> I've gone ahead and fixed the Xsession we ship in PC-BSD, however
>>>> this won't correct it for FreeBSD KDE users. This file is generated
>>>> when the user runs "genkdmconf", and I confimed that it still produces the
>>>> broken Xsession. We'll need to get it fixed there for everybody :)
>>> Do you know when genkdmconf is usually run? I think there is no
>>> problem in patching the ports tree, but if we're to commit this fix
>>> upstream, it'd be good to first know the outcome of Warner's
>>> discussion with jilles@ abou the right POSIX shell behaviour.
>> It 'accidentally works' on Linux.  'expect' and 'expect -p' produce the
>> same output.  and /bin/sh -c expect -p really is the same as /bin/sh -c
>> expect, per POSIX parsing rules of -c.  I'm pretty sure that its
>> required for other systems as well, since it is broken there as well.
>>
>> It sounds like FreeBSD's shell is posix compliant in this regard, so it
>> isn't a bug to be fixed there.
> Alright, so the problem's that -p is currently being interpreted as a
> parameter to /bin/sh itself, not to the export command?
No.  -p is $0 for the builtin command expect.

Warner


More information about the kde-freebsd mailing list