diff options
author | Daouda Lo <daouda@mandriva.com> | 2003-11-28 16:53:25 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2003-11-28 16:53:25 +0000 |
commit | 3c9abe522d644e29b8052c04576726a50a4fa8c9 (patch) | |
tree | df65a3a179f54b1ec8f0154a88bbfaff386c870a /USER | |
parent | 01586757de25c01abebcc22200021fc749d36b1b (diff) | |
download | userdrake-3c9abe522d644e29b8052c04576726a50a4fa8c9.tar userdrake-3c9abe522d644e29b8052c04576726a50a4fa8c9.tar.gz userdrake-3c9abe522d644e29b8052c04576726a50a4fa8c9.tar.bz2 userdrake-3c9abe522d644e29b8052c04576726a50a4fa8c9.tar.xz userdrake-3c9abe522d644e29b8052c04576726a50a4fa8c9.zip |
- fix homedir removing gui dialog hanging
Diffstat (limited to 'USER')
-rw-r--r-- | USER/USER.xs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/USER/USER.xs b/USER/USER.xs index f5f78b2..8e4eef5 100644 --- a/USER/USER.xs +++ b/USER/USER.xs @@ -215,7 +215,7 @@ lu_homedir_remove(const char *directory, struct lu_error ** error) } /* Generate the full path of the next victim. */ snprintf(path, sizeof(path), "%s/%s", directory, ent->d_name); - /* What we do next depends on whether or not the next item to + /* What we do next depends on whether or not the next item to * remove is a directory. */ if (lstat(path, &st) != -1) { if (S_ISDIR(st.st_mode)) { @@ -1073,7 +1073,7 @@ Ent_Gecos(self, ssv) if (values != NULL) { value = g_value_array_get_nth(values, 0); if (G_VALUE_HOLDS_STRING(value)) { - XPUSHs(sv_2mortal(newSVpv(g_value_get_string(value), 0))); + XPUSHs(sv_2mortal(newSVpv(g_value_get_string(value), 0))); } else if (G_VALUE_HOLDS_LONG(value)) { XPUSHs(sv_2mortal(newSVpv(g_strdup_printf("%ld", g_value_get_long(value)), 0))); } @@ -1081,7 +1081,7 @@ Ent_Gecos(self, ssv) } else if( SvPOK( ssv ) ) { memset(&val, 0, sizeof(val)); g_value_init(&val, G_TYPE_STRING); - g_value_set_string(&val, SvPV(ssv,PL_na)); + g_value_set_string(&val, SvGChar(ssv)); lu_ent_clear(self, LU_GECOS); lu_ent_add(self, LU_GECOS, &val); } else { |