tilde_expand
- From: Leonard den Ottolander <leonard den ottolander nl>
- To: MC Devel <mc-devel gnome org>
- Subject: tilde_expand
- Date: Mon, 13 Sep 2004 00:23:39 +0200
Hi,
Seeking a bit of basic advise. I was wondering if passwd gets freed in
the next example (taken from src/utilunix.c), or whether it should be
freed explicitly.
char *
tilde_expand (const char *directory)
{
struct passwd *passwd;
...
return g_strconcat (passwd->pw_dir, PATH_SEP_STR, q, NULL);
}
Leonard.
--
mount -t life -o ro /dev/dna /genetic/research
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]