[haiku-commits] Re: r34894 - haiku/trunk/src/apps/terminal

  • From: Stefano Ceccherini <stefano.ceccherini@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 5 Jan 2010 00:06:23 +0100

2010/1/4 François Revol <revol@xxxxxxx>:
>> Invoke the shell using /bin/bash instead of /bin/sh.
>
> Actually it should invoke the login shell for the current user from
> getpwent().
>
> François.
>
>

I used getpwuid() in r34902. getpwuid_r(), actually, as the former
crashed misteriously (I haven't investigated, as I'm going to bed).

Other related posts: