-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Serge E. Hallyn wrote:
| Good point.  Though note that the cap_to_text manpage is confusing here
| - do i free(capstxt), or do I cap_free(cap) as the manpage implies and
| automatically free capstxt that way?  Reading the manpage on my system
| kind of implies that so long as I cap_init at the start and
| cap_free(cap) at the end, capstxt will be freed at the end...  Though
| that's probably not right.

cap_free() should be used for both strings and capabilities (ie.,
anything) allocated by libcap.

I'll make the cap_to_text documentation more explicit.

Cheers

Andrew
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFHxCS4+bHCR3gb8jsRAkllAKCclNz1YSoVbh5QHyET0ab95rievgCbBDFE
vz/rqtcS7Un6h4Amx0upk0E=
=YI69
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to