summaryrefslogtreecommitdiff
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
commit72abc90e4ab69b6f5f4e918201d8371bf390ee3a (patch)
tree8dfa1f6fdce03ff6e0bceaf28dfbdbb82aeda563
parenta46d8933d679846a5316529e3bed7ef369adc6cb (diff)
downloadsamba-72abc90e4ab69b6f5f4e918201d8371bf390ee3a.tar.gz
samba-72abc90e4ab69b6f5f4e918201d8371bf390ee3a.tar.bz2
samba-72abc90e4ab69b6f5f4e918201d8371bf390ee3a.zip
r26373: add note about shared libs being problematic with static data.
(This used to be commit 7b186ee310dab70e9ef8e4ef06e6afbf5233cc99)
-rw-r--r--prog_guide.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/prog_guide.txt b/prog_guide.txt
index f5ac600f88..3814a11a4e 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