On 10/27/2010 18:50, Raphael Kubo da Costa wrote: > At Wed, 27 Oct 2010 18:23:57 -0600, > M. Warner Losh wrote: >> 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. > Wait, I thought we were talking about export, not expect (I don't see > expect mentioned in genkdmconfig's source code). I mistyped. It is export.
Warner _______________________________________________ kde-freebsd mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information
