svn commit: samba r26373 - in branches/SAMBA_4_0: .

jelmer at samba.org jelmer at samba.org
Mon Dec 10 10:29:39 GMT 2007


Author: jelmer
Date: 2007-12-10 10:29:38 +0000 (Mon, 10 Dec 2007)
New Revision: 26373

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=26373

Log:
add note about shared libs being problematic with static data.
Modified:
   branches/SAMBA_4_0/
   branches/SAMBA_4_0/prog_guide.txt


Changeset:

Property changes on: branches/SAMBA_4_0
___________________________________________________________________
Name: bzr:revision-info
...skipped...
Name: bzr:revision-id:v3-trunk0
...skipped...

Modified: branches/SAMBA_4_0/prog_guide.txt
===================================================================
--- branches/SAMBA_4_0/prog_guide.txt	2007-12-10 10:29:35 UTC (rev 26372)
+++ branches/SAMBA_4_0/prog_guide.txt	2007-12-10 10:29:38 UTC (rev 26373)
@@ -146,6 +146,7 @@
  - it makes code much less likely to be recursion-safe
  - it leads to subtle side effects when the same code is called from
    multiple places
+ - doesn't play well with shared libraries or plugins
 
 Static data is particularly evil in library code (such as our internal
 smb and rpc libraries). If you can get rid of all static data in



More information about the samba-cvs mailing list