summaryrefslogtreecommitdiff
path: root/prog_guide.txt
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-10 10:29:38 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:49:08 +0100
commit7b186ee310dab70e9ef8e4ef06e6afbf5233cc99 (patch)
tree4daaebac62fdd7fe1b4ce06ad5b4b8aa94527940 /prog_guide.txt
parent621feaa3d5c5dc6ca5078c2d8f32cc54235b7515 (diff)
downloadsamba-7b186ee310dab70e9ef8e4ef06e6afbf5233cc99.tar.gz
r26373: add note about shared libs being problematic with static data.
Diffstat (limited to 'prog_guide.txt')
-rw-r--r--prog_guide.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/prog_guide.txt b/prog_guide.txt
index f5ac600f880..3814a11a4ef 100644
--- a/prog_guide.txt
+++ b/prog_guide.txt
@@ -146,6 +146,7 @@ Static data is evil as it has the following consequences:
- 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