Changeset 3234 for trunk


Ignore:
Timestamp:
Apr 30, 2007, 1:07:56 AM (18 years ago)
Author:
bird
Message:

Applied bash-3.1-fix-dash-login-shell.patch (gentoo).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/essentials/app-shells/bash/shell.c

    r3231 r3234  
    15341534  shell_name = argv0 ? base_pathname (argv0) : PROGRAM;
    15351535
    1536   if (*shell_name == '-')
    1537     {
    1538       shell_name++;
     1536  if (argv0 && *argv0 == '-')
     1537    {
     1538      if (*shell_name == '-')
     1539        shell_name++;
    15391540      login_shell++;
    15401541    }
Note: See TracChangeset for help on using the changeset viewer.