[kde-freebsd] Re: patch needed for Xsession

M. Warner Losh imp at ixsystems.com
Thu Oct 28 01:39:58 CEST 2010


  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.

Warner



More information about the kde-freebsd mailing list