[prev in list] [next in list] [prev in thread] [next in thread]
List: gnome-devel-list
Subject: Bug #60014, try #2
From: Cory Watson <gphat () cafes ! net>
Date: 2001-09-28 0:52:16
Message-ID: 1001638337.860.5.camel () achmed
[Download RAW message or body]
I sent this about 10 days ago, and never heard a peep. Just updated
from CVS and it's still broke.
This is a 2 liner that checks the length of the SHELL var before we try
and pass it back from gnome_util_user_shell().
If someone could slap this in there, I'd be much obliged!
["gnome-util-bad-shell-var.diff" (text/plain)]
--- gnome-util.c Sat Sep 15 11:23:33 2001
+++ /root/gnome-util.c Sat Sep 15 11:49:06 2001
@@ -380,7 +380,8 @@
"/bin/csh", "/bin/sh", 0
};
- if ((shell = getenv ("SHELL"))){
+ shell = getenv ("SHELL");
+ if ((shell) && (strlen(shell) > 0)) {
return g_strdup (shell);
}
pw = getpwuid(getuid());
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic