CVS update: samba/source/lib
Elrond
elrond at samba.org
Tue Aug 15 03:41:35 EST 2000
On Mon, Aug 14, 2000 at 05:37:12PM +1000, Luke Leighton wrote:
>
> Date: Monday August 14, 2000 @ 17:37
> Author: lkcl
>
> Update of /data/cvs/samba/source/lib
> In directory samba:/tmp/cvs-serv18407/lib
>
> Modified Files:
> cmd_interp.c
> Log Message:
> hey, jerry: turns out you _have_ converted to get_safe_nt_errmsg!!!
> [got confused with which way dirdiff was going :)].
>
> ... but you forgot to update TNG's lib/cmd_interp.c...
Hehe... That was me, who moved that "back":
I consider const char *get_nt_error_msg(uint32 nt_code) a
proper and secure interface. You get a nice pointer into
memory, that you're not allowed to write to. You have to
decide on yourself, what you do with it.
And this interface would be faster (isn't currently, I
wanted to rewrite it), because it doesn't need to do any
strcpy, it simply needs to return a pointer from the table.
Elrond
More information about the samba-cvs
mailing list