aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--USER/USER.xs6
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 {