ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/init.C
(Generate patch)

Comparing rxvt-unicode/src/init.C (file contents):
Revision 1.257 by root, Sun Apr 26 01:51:20 2009 UTC vs.
Revision 1.258 by root, Sun Apr 26 01:59:53 2009 UTC

1601 const char *argv0, *shell; 1601 const char *argv0, *shell;
1602 1602
1603 if ((shell = getenv ("SHELL")) == NULL || *shell == '\0') 1603 if ((shell = getenv ("SHELL")) == NULL || *shell == '\0')
1604 shell = "/bin/sh"; 1604 shell = "/bin/sh";
1605 1605
1606 argv0 = (const char *)rxvt_basename (shell); 1606 argv0 = rxvt_basename (shell);
1607 1607
1608 if (option (Opt_loginShell)) 1608 if (option (Opt_loginShell))
1609 { 1609 {
1610 login = (char *)rxvt_malloc (strlen (argv0) + 2); 1610 login = (char *)rxvt_malloc (strlen (argv0) + 2);
1611 1611

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines