On Sun, 16 Jan 2005 13:23:29 -0500 Michael Jennings <[EMAIL PROTECTED]> babbled:
(B
(B> On Saturday, 15 January 2005, at 20:55:39 (-0800),
(B> E CVS List wrote:
(B>
(B> > Log Message:
(B> > timeout was wrong... and we shoudl consider DIY cmd-line parsing... see
(Bcomment
(B>
(B> > case 0:
(B> > + _entrance_x_sa.sa_handler = SIG_IGN;
(B> > + _entrance_x_sa.sa_flags = 0;
(B> > + sigemptyset(&_entrance_x_sa.sa_mask);
(B> > sigaction(SIGUSR1, &_entrance_x_sa, NULL);
(B> > + /* FIXME: need to parse command and NOT go thru /bin/sh!!!! */
(B> > + /* why? some /bin/sh's wont pass on this SIGUSR1 thing... */
(B> > execl("/bin/sh", "/bin/sh", "-c", x_cmd, NULL);
(B>
(B> The spiftool_split() function from LibAST does exactly this: split a
(B> line into tokens using whitespace with support for quoting. Using it
(B> to create the execl() parameters would eliminate the need for /bin/sh
(B> altogether.
(B
(Bindeed. thats where i was thinking... but there was another issue i found in
(Bexeccing the user login scripts too that i didnt track down... tracking that
(Bdown first then fixing both would work well :) i was tossing up though if ever
(Bthere would be need for shell var expansion and back-tick support and all the
(Bother shell funkiness. for entrance i think not.. but u never know
(B
(B> Michael
(B>
(B> --
(B> Michael Jennings (a.k.a. KainX) http://www.kainx.org/ <[EMAIL PROTECTED]>
(B> n + 1, Inc., http://www.nplus1.net/ Author, Eterm (www.eterm.org)
(B> -----------------------------------------------------------------------
(B> "She'd still say, 'I love you' if I asked, but she never volunteers.
(B> Somehow what she never says means more than all the other words I
(B> hear." -- BlackHawk, "I Sure Can Smell the Rain"
(B>
(B>
(B> -------------------------------------------------------
(B> The SF.Net email is sponsored by: Beat the post-holiday blues
(B> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
(B> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
(B> _______________________________________________
(B> enlightenment-devel mailing list
(B> [email protected]
(B> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
(B>
(B
(B
(B--
(B------------- Codito, ergo sum - "I code, therefore I am" --------------
(BThe Rasterman (Carsten Haitzler) [EMAIL PROTECTED]
$BMg9%B?(B [EMAIL PROTECTED]
(BTokyo, Japan ($BEl5~(B $BF|K\(B)
(B
(B
(B-------------------------------------------------------
(BThe SF.Net email is sponsored by: Beat the post-holiday blues
(BGet a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
(BIt's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
(B_______________________________________________
(Benlightenment-devel mailing list
([email protected]
(Bhttps://lists.sourceforge.net/lists/listinfo/enlightenment-devel