CVS update: samba/source/libsmb

abartlet at samba.org abartlet at samba.org
Mon Oct 29 19:12:45 EST 2001


Date:	Mon Oct 29 00:12:45 2001
Author:	abartlet

Update of /data/cvs/samba/source/libsmb
In directory va:/tmp/cvs-serv18932/libsmb

Modified Files:
	cliconnect.c clierror.c nmblib.c nterr.c smberr.c 
Log Message:
This patch applied, except without the structure changes to nmblib.c 

Andrew Bartlett.

>From kai at cmail.ru Mon Oct 29 18:50:42 2001
Date: Fri, 19 Oct 2001 17:26:06 +0300
From: Andrew V. Samoilov <kai at cmail.ru>
To: samba-technical at lists.samba.org
Subject: [patch]: makes some arrays const to be shared between processes

Hi!

This patch makes some arrays const. So these arrays go to text/rodata
segment and are shared between all of the processes which use shared
library with these arrays.

Regards,
Andrew V. Samoilov.

P.S. Please cc your answer to kai at cmail.ru,
I don't subscribed to this list.


ChangeLog:
	* cliconnect.c (prots): Make const.
	* clierror.c (rap_errmap): Likewise.
	* nmblib.c (nmb_header_opcode_names): Likewise.
	(lookup_opcode_name): Make opcode_namep const. Eliminate i.
	* nterr.c (nt_err_code_struct): Typedef const.
	* smberr.c (err_code_struct): Make const.
	(err_classes): Likewise.




Revisions:
cliconnect.c		1.44 => 1.45
	http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/cliconnect.c?r1=1.44&r2=1.45
clierror.c		1.18 => 1.19
	http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/clierror.c?r1=1.18&r2=1.19
nmblib.c		1.64 => 1.65
	http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/nmblib.c?r1=1.64&r2=1.65
nterr.c		1.17 => 1.18
	http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/nterr.c?r1=1.17&r2=1.18
smberr.c		1.17 => 1.18
	http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/smberr.c?r1=1.17&r2=1.18




More information about the samba-cvs mailing list