diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-11-04 02:19:25 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:27 -0500 |
commit | a9c00f35f9d7d59b36c286abb2e72613b32ba775 (patch) | |
tree | 1d17cc33d6d2ed303e915d1be52186f5f4c1bc18 /source4/lib | |
parent | f7a13be68d56ef0937c766026fe0dbe684f35c41 (diff) | |
download | samba-a9c00f35f9d7d59b36c286abb2e72613b32ba775.tar.gz samba-a9c00f35f9d7d59b36c286abb2e72613b32ba775.tar.bz2 samba-a9c00f35f9d7d59b36c286abb2e72613b32ba775.zip |
r3518: fixed some includes to be consistent.
- use #include <XXX.h> for operating system includes
- use includes relative to include/ for things like system/wait.h
also fixed the thread backend to work somewhat. To fix it properly we need to do this:
- add a configure test for support for thread local storage (the __thread keyword)
- refuse to do pthreads if tls doesn't work
- refuse to do pthreads if seteuid() affects process instead of thread
- defined THREAD_LOCAL as __thread when WITH_PTHREADS
- add THREAD_LOCAL to all the global data structures that should be
thread local (there are quite a few)
right now the thread backend falls over when you hit it with several
connections at once, due to the lack of __thread on some critical
structures.
(This used to be commit 0dc1deabd0b53bc7a6f6cee2ed99e2cbbe422262)
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/getsmbpass.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/getsmbpass.c b/source4/lib/getsmbpass.c index 0d8f4a4b7e..4ffcde8dfd 100644 --- a/source4/lib/getsmbpass.c +++ b/source4/lib/getsmbpass.c @@ -19,8 +19,8 @@ Cambridge, MA 02139, USA. */ /* Modified to use with samba by Jeremy Allison, 8th July 1995. */ #include "includes.h" -#include "include/system/terminal.h" -#include "include/system/wait.h" +#include "system/terminal.h" +#include "system/wait.h" #ifdef REPLACE_GETPASS |