gnome-commander r2427 - in trunk: . src
- From: epiotr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-commander r2427 - in trunk: . src
- Date: Wed, 14 Jan 2009 21:25:17 +0000 (UTC)
Author: epiotr
Date: Wed Jan 14 21:25:17 2009
New Revision: 2427
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2427&view=rev
Log:
Yet another fix for faster startup
Modified:
trunk/ChangeLog
trunk/src/owner.cc
Modified: trunk/src/owner.cc
==============================================================================
--- trunk/src/owner.cc (original)
+++ trunk/src/owner.cc Wed Jan 14 21:25:17 2009
@@ -48,18 +48,12 @@
{
user_t *user = g_new0 (user_t, 1);
- g_assert (pw->pw_name);
- g_assert (pw->pw_passwd);
- g_assert (pw->pw_gecos);
- g_assert (pw->pw_dir);
- g_assert (pw->pw_shell);
-
user->zombie = zombie;
user->name = g_strdup (pw->pw_name);
user->uid = pw->pw_uid;
user->gid = pw->pw_gid;
user->realname = g_strdup (pw->pw_gecos);
- user->groups = NULL; // filled in later when going through the group members
+ // user->groups = NULL; // filled in later when going through the group members
return user;
}
@@ -74,15 +68,12 @@
if (gr)
{
- g_assert (gr->gr_name);
- g_assert (gr->gr_passwd);
-
group = g_new0 (group_t, 1);
group->zombie = zombie;
group->name = g_strdup (gr->gr_name);
group->gid = gr->gr_gid;
- group->members = NULL;
+ // group->members = NULL;
char **members = gr->gr_mem;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]