John Summerfield wrote:
> 
> I have a code fragment:
>                 struct group *grp = getgrnam(group.data());

you have to use group.c_str() since .data() doesn't have a \0 terminator.

 -- Levente                        http://petition.eurolinux.org/index_html
 "The only thing worse than not knowing the truth is
  ruining the bliss of ignorance."



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to