]> git.sur5r.net Git - openldap/commitdiff
s/<stdlib.h>/<ac/stdlib.h>/
authorKurt Zeilenga <kurt@openldap.org>
Thu, 3 Jun 1999 00:37:44 +0000 (00:37 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 3 Jun 1999 00:37:44 +0000 (00:37 +0000)
123 files changed:
clients/fax500/main.c
clients/fax500/rp500.c
clients/finger/main.c
clients/gopher/go500.c
clients/gopher/go500gw.c
clients/mail500/main.c
clients/rcpt500/cmds.c
clients/rcpt500/main.c
clients/rcpt500/query.c
clients/tools/ldapdelete.c
clients/tools/ldapmodify.c
clients/tools/ldapmodrdn.c
clients/tools/ldappasswd.c
clients/tools/ldapsearch.c
clients/ud/auth.c
clients/ud/edit.c
clients/ud/find.c
clients/ud/main.c
clients/ud/mod.c
clients/ud/util.c
contrib/saucer/main.c
contrib/web_ldap/util.c
contrib/web_ldap/web_ldap.c
libraries/libavl/avl.c
libraries/libavl/testavl.c
libraries/liblber/decode.c
libraries/liblber/dtest.c
libraries/liblber/encode.c
libraries/liblber/etest.c
libraries/liblber/idtest.c
libraries/liblber/io.c
libraries/liblber/memory.c
libraries/liblber/options.c
libraries/liblber/sockbuf.c
libraries/libldap/abandon.c
libraries/libldap/addentry.c
libraries/libldap/apitest.c
libraries/libldap/bind.c
libraries/libldap/cache.c
libraries/libldap/charset.c
libraries/libldap/cldap.c
libraries/libldap/controls.c
libraries/libldap/disptmpl.c
libraries/libldap/dsparse.c
libraries/libldap/error.c
libraries/libldap/extended.c
libraries/libldap/free.c
libraries/libldap/friendly.c
libraries/libldap/getattr.c
libraries/libldap/getdn.c
libraries/libldap/getdxbyname.c
libraries/libldap/getentry.c
libraries/libldap/getfilter.c
libraries/libldap/getvalues.c
libraries/libldap/init.c
libraries/libldap/kbind.c
libraries/libldap/messages.c
libraries/libldap/open.c
libraries/libldap/options.c
libraries/libldap/os-ip.c
libraries/libldap/references.c
libraries/libldap/request.c
libraries/libldap/result.c
libraries/libldap/schema.c
libraries/libldap/search.c
libraries/libldap/sort.c
libraries/libldap/srchpref.c
libraries/libldap/string.c
libraries/libldap/test.c
libraries/libldap/tmplout.c
libraries/libldap/tmpltest.c
libraries/libldap/ufn.c
libraries/libldap/unbind.c
libraries/libldap/url.c
libraries/libldap/util-int.c
libraries/libldap_r/rdwr.c
libraries/libldap_r/thr_sleep.c
libraries/libldbm/ldbm.c
libraries/libldif/line64.c
libraries/liblutil/base64.c
libraries/liblutil/getpass.c
libraries/liblutil/passwd.c
libraries/liblutil/setproctitle.c
libraries/liblutil/sha1.c
libraries/liblutil/tempnam.c
servers/slapd/back-bdb2/alias.c
servers/slapd/back-bdb2/txn.h
servers/slapd/back-ldbm/alias.c
servers/slapd/back-shell/abandon.c
servers/slapd/ch_malloc.c
servers/slapd/proto-slap.h
servers/slapd/shell-backends/passwd-shell.c
servers/slapd/shell-backends/shellutil.c
servers/slapd/slap.h
servers/slapd/suffixalias.c
servers/slapd/tools/centipede.c
servers/slapd/tools/chlog2replog.c
servers/slapd/tools/edb2ldif.c
servers/slapd/tools/ldapsyntax.c
servers/slapd/tools/ldbmtest.c
servers/slapd/tools/ldif.c
servers/slapd/tools/ldif2id2children-bdb2.c
servers/slapd/tools/ldif2id2children.c
servers/slapd/tools/ldif2id2entry-bdb2.c
servers/slapd/tools/ldif2id2entry.c
servers/slapd/tools/ldif2index-bdb2.c
servers/slapd/tools/ldif2index.c
servers/slapd/tools/sizecount.c
servers/slapd/user.c
servers/slurpd/args.c
servers/slurpd/ch_malloc.c
servers/slurpd/config.c
servers/slurpd/fm.c
servers/slurpd/globals.c
servers/slurpd/ldap_op.c
servers/slurpd/re.c
servers/slurpd/ri.c
servers/slurpd/rq.c
servers/slurpd/st.c
tests/progs/slapd-addel.c
tests/progs/slapd-read.c
tests/progs/slapd-search.c
tests/progs/slapd-tester.c

index 1c090da495ae35b475682557dd562766f60e3a1d..a4a6e308573db588718d13e26eeb4c8822473fc9 100644 (file)
@@ -13,7 +13,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/errno.h>
index d3373d3d4d5d8b239e410f3653a14fa9663802db..f4f9c5842529d54e222e4e3e01e4b0b9052fc7ba 100644 (file)
@@ -13,7 +13,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/signal.h>
index defb810157275b75b39d3c821a13d7cf2c9132cc..1dc1664d804d759774506dd2f8b4189ab4d6f6a2 100644 (file)
@@ -13,7 +13,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/signal.h>
index 706da3c40e2f51c6d792dae045e1d81a4de2e6d6..7b5141bbed4888792882f4de23fdc3e0f063c3e5 100644 (file)
@@ -13,7 +13,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/signal.h>
index 058ada1fcc51c9984750449de7ffc19bab85c01a..9381acda5bd208da291e2d12edad3956118304cd 100644 (file)
@@ -13,7 +13,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/signal.h>
index dfc868ddb720dd3ece8ccba3fa048be49a265547..dec8e66d3e421c4b905b8cfce12bbbb02a9f3621 100644 (file)
@@ -13,7 +13,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/signal.h>
index 8b5a938f2ec81e0e8ef79ca7eb0f3090b04b274f..ef7a73bf3b1a6b04fd50c877fa9a1c31f2958b73 100644 (file)
@@ -8,7 +8,7 @@
 
 #include "portable.h"
 
-#include <stdlib.h>
+#include <ac/stdlib.h>
 #include "rcpt500.h"
 
 struct command cmds[] = {
index fc12b247e9ee0d32ba90c8dec1bcdd121ef61a43..4cfcd66a792d57da3236588108fc043b55d0f25b 100644 (file)
@@ -9,7 +9,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/signal.h>
index 51fdf8312e6490f5b9efebce7d1b79de93e0a4a7..c035881849ffeaf0c8976455b36cc612afc375b5 100644 (file)
@@ -9,7 +9,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/string.h>
index 0bcda8a1ae86524ec2d7f46f47209d4363a4f8ce..7290fc3368d376f57c747c3a550139aec7db9b97 100644 (file)
@@ -3,8 +3,9 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
-#include <ctype.h>
+
+#include <ac/stdlib.h>
+#include <ac/ctype.h>
 
 #include <ac/signal.h>
 #include <ac/string.h>
index 720fb40981a8ced4416130e54694958509a59334..e9e37cb8bc145899320e8628e02a32d3d6358b0d 100644 (file)
@@ -7,7 +7,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/signal.h>
index 98c91f3f5e26c0e821d320d249d70f3979bb6d99..6e98c7d32f0b91da3542418a50f92aced834cd47 100644 (file)
@@ -15,7 +15,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/signal.h>
index cf3aee05c025adaa87bfcf6c895f4ed817b133f1..83507119df4f5c6d16e799ddbe79649bef8e0d59 100644 (file)
@@ -16,7 +16,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/signal.h>
index 49c02495bafd9e74800ddccbf79409fa6daa5a02..2494e652dd378aee9566bba391da362ed189c9bc 100644 (file)
@@ -1,7 +1,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/signal.h>
index ec1af8d5fb3809c0968dfda78aa43f5486d5d8a7..4174a396a1883e9d506da6289a18a1b0311429b4 100644 (file)
@@ -13,7 +13,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/krb.h>
index 458a38098a46846bb644b5b7d8253a3a32739537..6ff9a1677dd1bf5e695663056a3c67c94ca68bd7 100644 (file)
@@ -13,7 +13,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/signal.h>
 #include <ac/string.h>
index 8a5e0dddd693a3f278fc3076415aea0396ee4ebf..437c78fbff7b25f01719c91d28a4906960e982e1 100644 (file)
@@ -13,7 +13,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/string.h>
index 790aa483a5dbc42f2af9b8a83b3dd5a5c9152439..bb0bb8ca7ed9284cf31a6fe70431e49a6c0a65a1 100644 (file)
@@ -23,7 +23,9 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
+
 #include <setjmp.h>
 
 #ifdef HAVE_PWD_H
index 82de3e2d57ef77c800ee56cec072ca100d9bf00e..312836cdca8cc967f9c6c6f9a3dfd778b7cad0fb 100644 (file)
@@ -13,7 +13,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/string.h>
index e7ab7626bb3a26f9b3a127d40923dedba0832001..e2ab11915074551732b5cb49d9ada9bc3ee79fc6 100644 (file)
@@ -13,7 +13,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/errno.h>
index 59ea5e4d85a2aae88ac944bad3b20cba7189228c..605c1ad4ed959a639214cac26d94b4b239147ff5 100644 (file)
@@ -20,7 +20,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #ifdef HAVE_READLINE
 #  include <readline/readline.h>
index d52365cb9c6da73672e4ab60878ff3b92fd2c68b..b6aa34a2736a1da2366a56376cafc8166036fabd 100644 (file)
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
-#ifdef HAVE_SYS_TIME_H
-#include <sys/time.h>
-#endif
+
+#include <ac/stdlib.h>
+#include <ac/time.h>
 
 #include <ac/string.h>
 #include <ac/ctype.h>
index c37ef3846c13c9e081b9515162d37afa4a14fbb7..37376d1ec9f0c5be751dc014ae27985699cd9732 100644 (file)
@@ -7,15 +7,15 @@
 
 #include "portable.h"
 
-#include <stdlib.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <stdio.h>
-#include <time.h>
 
-#include <ac/unistd.h>
+#include <ac/stdlib.h>
 #include <ac/string.h>
+#include <ac/time.h>
+#include <ac/unistd.h>
 
 #include <lber.h>
 #include <ldap.h>
index adce228dd7a1ec7dc3bd6201c584e3e827a7d632..e4b2b1be444111e3c7d97cb7412ca1602c1c026c 100644 (file)
@@ -19,7 +19,7 @@ static char avl_version[] = "AVL library version 1.0\n";
 #endif
 
 #include <stdio.h>
-#include <stdlib.h>
+#include <ac/stdlib.h>
 
 #define AVL_INTERNAL
 #include "avl.h"
index 3b927d98072f96efaae967641acdcc0271b6c18f..3328933ecace62fc79c92f46ea3ef6a9ddb6384f 100644 (file)
@@ -3,8 +3,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
 
+#include <ac/stdlib.h>
 #include <ac/string.h>
 
 #define AVL_INTERNAL
index 69ce1eac1e4cd2b7814eb0e3ac0d5348084e8c68..3db8181aedf890c4c2ecd08e936d8d9ef3fca6a0 100644 (file)
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
 
-#include <ac/stdarg.h>
+#include <ac/stdlib.h>
 
+#include <ac/stdarg.h>
 #include <ac/string.h>
 #include <ac/socket.h>
 
index e602315634d959b22dfbcbadc4ef6f40bf375c8d..8ca5b33f0e6da5a4267229bfc55c051ee4dffd64 100644 (file)
@@ -18,8 +18,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
 
+#include <ac/stdlib.h>
 #include <ac/string.h>
 #include <ac/socket.h>
 #include <ac/unistd.h>
index 434eedc3e545acc1c2b3c8ea448a7a611b3e77a2..eaa6832de13bdc042faf8458f140a2ceb4d74dae 100644 (file)
@@ -18,7 +18,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/stdarg.h>
 #include <ac/socket.h>
index c0b2f40ce16da6a9f2c64cd336f9c4d184e19ae2..2feb90777c0d150877a96dc35866caea4fc9f1ff 100644 (file)
@@ -11,7 +11,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/socket.h>
 #include <ac/string.h>
index cc747152c3376878f2b9d69757c1401506e0bed6..7f6723c1c26461b5342eb56f311c2d689b252a07 100644 (file)
@@ -18,7 +18,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #ifdef HAVE_PSAP_H
 #include <psap.h>
index b57714765f749fb327201c3326e4be3b3692ffb3..1efa4eb5ab778892a10f607b4f00fbd991c2a776 100644 (file)
@@ -18,7 +18,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/errno.h>
index f4f4b490c63278a888dc5ad7de1eb14d283b198d..0fd7a5c66ac0fe72296e2f27f8303708a9227130 100644 (file)
@@ -4,7 +4,7 @@
  */
 #include "portable.h"
 
-#include <stdlib.h>
+#include <ac/stdlib.h>
 #include <ac/string.h>
 
 #include "lber-int.h"
index a323bbee963504ddbb8a36b8ed972748fd6cfc11..c021a79031189c407b64c660464422985e52013a 100644 (file)
@@ -4,7 +4,7 @@
  */
 #include "portable.h"
 
-#include <stdlib.h>
+#include <ac/stdlib.h>
 #include <ac/string.h>
 
 #include "lber-int.h"
index 19b92bf47f12d5b1599b877b7266ffea497dafcb..5241833c467245be1d3bcf86d9b988c0c48dd70a 100644 (file)
@@ -7,7 +7,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/errno.h>
index 125e4bdee6b6cad28fda3347d13c1c10159e1894..6923133bde842b13d081a709cc4a84b6728f35f2 100644 (file)
@@ -12,7 +12,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/socket.h>
 #include <ac/string.h>
index 883e05550de99ee483145213e9e74949f422fcc6..31d85ab5fef5de4ba3ab385636de1feca9d0545a 100644 (file)
@@ -12,7 +12,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/socket.h>
index cbab301c271d2495e205ccc48857920ac2702aa9..f3a181aed8b1dbe5f2d105c79e984f33ad403b30 100644 (file)
@@ -13,7 +13,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include "lber.h"
 #include "ldap.h"
index 336c229f0f612ab6cbb8d790fd7715d38b387e61..8fe3b358b35b0615981d6c019c088322cc8568a2 100644 (file)
@@ -12,7 +12,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/socket.h>
 #include <ac/string.h>
index d70ebd306ebe8ef1ffd395a698d425eb5b58480a..4a0984b18fcce6a792c17463eebbe55a87201ebd 100644 (file)
@@ -12,7 +12,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/socket.h>
 #include <ac/string.h>
index 2a88da32a818ee1d9865cb6a19c5ba12737aeca4..8144e0335b8b13bbd88942a6bf1bd71bfc0bf908 100644 (file)
@@ -14,7 +14,8 @@
 #ifdef STR_TRANSLATION
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/socket.h>
 #include <ac/string.h>
@@ -147,7 +148,7 @@ ldap_translate_to_t61( LDAP *ld, char **bufp, unsigned long *lenp,
 
 
 #include <stdio.h>
-#include <stdlib.h>
+#include <ac/stdlib.h>
 #include <ac/string.h>
 
 /* Character set used: ISO 8859-1, ISO 8859-2, ISO 8859-3, ... */
index fbc7228169d304334a1517af56ae96bda65f77c9..7d4f34a4399eeb867a4f438d9e4791b1f38f3ce4 100644 (file)
@@ -14,7 +14,8 @@
 #ifdef LDAP_CONNECTIONLESS
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/errno.h>
 #include <ac/socket.h>
index 9262bcb955d9d5eaa87abfcef8326337a97d8b1a..8afc2477e9aa7c05cede8174c482d6e20ef59edb 100644 (file)
@@ -8,7 +8,7 @@
 
 #include "portable.h"
 
-#include <stdlib.h>
+#include <ac/stdlib.h>
 
 #include <ac/time.h>
 #include <ac/string.h>
index 0fb3e20163304d70fafd77d2d7efa67a3d155ae3..34a18a80bf90c41135aefe74ca4928aaa17130ee 100644 (file)
@@ -20,7 +20,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/string.h>
index 22f635716465352ef77b9a2235b99e2da80ec254..19446e0ee4f0ac059654dc525f3bfd08995b7dba 100644 (file)
@@ -22,7 +22,7 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/string.h>
index 4c282dced0a61be64b8135eeb76a5288297f6eb9..93e586363dc8f3a31fbaf38ffc21e233f9db7dd6 100644 (file)
@@ -6,7 +6,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/socket.h>
 #include <ac/string.h>
index d9b221cf8705793434353ed08e859cd160e606d1..3bfeb895635a1da776536c5b9bccb9c2709b4af3 100644 (file)
@@ -6,7 +6,7 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+#include <ac/stdlib.h>
 
 #include <ac/socket.h>
 #include <ac/string.h>
index ba8c70902b88c10682723b88c25f09f5927691a1..428f11f8284e8479f1a51279a995a9ae9210d10e 100644 (file)
@@ -13,7 +13,7 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/string.h>
index db42adee045b465ccfab5cc3dfa49d2016155202..8fb2faf40861e59ed13ac83b411481f0d0e50055 100644 (file)
@@ -12,7 +12,7 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/errno.h>
index 3155b45d3e3d1a2b3adc693974425a69b8b1696f..5a6d77066e1ea066de1ad81779743960f18763a2 100644 (file)
@@ -12,7 +12,7 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/socket.h>
index f434465058fa53df8126933bb97371352f2fdd16..dfd1c2e28a7fd217488d5b2d9f70afa44e37f1a4 100644 (file)
@@ -12,7 +12,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/socket.h>
index 221bd409fb9470d887f81f4430bae65fcfca3b48..f35f4b772742014fe89d34a9d8d8559b5bb87537 100644 (file)
@@ -14,7 +14,7 @@
 #ifdef LDAP_API_FEATURE_X_OPENLDAP_V2_DNS
 
 #include <stdio.h>
-#include <stdlib.h>
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/socket.h>
index 90e43fc14c4e3f178593cfb74c26673d38d46b1f..9e2e49c4db86ea05d8aae4d8eb2ba594f8e04905 100644 (file)
@@ -12,7 +12,7 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/socket.h>
index a357abf78b9695e9bc046f9128ee788c5ce219f6..bf75521457ba02ae5672d473ddd14dddb2af364a 100644 (file)
@@ -12,7 +12,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/errno.h>
index d886ab0689a30ceebfa81f57191720af0e8de529..2833e18f5d362aea35b0a1aa43f8a824a18878df 100644 (file)
@@ -12,7 +12,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/socket.h>
index b4f82f95c7dc253f621212bf768c7216de085581..75bc7a5ec1cc3f639c2bc8d7443af82855d6d263 100644 (file)
@@ -5,7 +5,7 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+#include <ac/stdlib.h>
 
 #include <ac/socket.h>
 #include <ac/string.h>
index 826f8701ceffce254d0832d706b6cdb0432ee11c..47d49e42987d459d7c08b687f499f65f72034e5a 100644 (file)
@@ -14,7 +14,7 @@
 #ifdef HAVE_KERBEROS
 
 #include <stdio.h>
-#include <stdlib.h>
+#include <ac/stdlib.h>
 
 #include <ac/krb.h>
 #include <ac/socket.h>
index bdab05ff6333aadd2da7e5fabf85a441350f65c6..eea7bed70c660c596968e749c813f49581f3d8ca 100644 (file)
@@ -9,7 +9,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/socket.h>
index 50641603c79ee26974d6560ad26f68959978a65c..e9a7353ab66b4a71db401d8f9f5f675795f5c10c 100644 (file)
@@ -12,7 +12,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/socket.h>
 #include <ac/string.h>
index f13656eba0622cb52144833419a2f083ee551b32..9985a2bf23c22f0948ff7e6488e18ab3094f796e 100644 (file)
@@ -6,7 +6,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/socket.h>
 #include <ac/string.h>
index f00b039659b556be6ee1b4c3432852b3563c9000..9f7e7051aa4ae35f9e3eebeb99ad2764d7cafb83 100644 (file)
@@ -12,7 +12,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/errno.h>
 #include <ac/socket.h>
index bd2b79c12f6aba5680cca4c8eeb931074cdec403..08e96b05b67e9a26fe708e906a35c668de84ec80 100644 (file)
@@ -9,7 +9,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/socket.h>
index 70773082f1433ffcb333590ef6a75dba21abd23c..133e42fd10a449c6142691afa5ce9f1c97e18a5c 100644 (file)
@@ -12,7 +12,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/errno.h>
 #include <ac/socket.h>
index 81c12f80cee89914d60fc7c0a5045732df0b6424..5af8c9243a1c9094126e3363c67e645c02c66947 100644 (file)
@@ -12,7 +12,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/errno.h>
 #include <ac/socket.h>
index af41fc3f66234918b0275cea2b5d47b999223804..bce2e845e1f663cbbe1d0be731be91ae7a2d1a3f 100644 (file)
@@ -9,7 +9,7 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/string.h>
index a9a5b599a99c733a57589b353c39078c6dfc9a58..61e8c3073356d9ca8d63281a6e2f22f27c1a4071 100644 (file)
@@ -12,7 +12,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/socket.h>
index 79f805dfa69dee2543b0a9b056d78d9bf6746572..d7ea4e434f6110fb90d95ece2a97749b1468d754 100644 (file)
@@ -19,7 +19,7 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/string.h>
index aec72a2f9a38c01fc00c390b506b4343ac7c04f1..11082dc66891f09040ca6f9b0d2e603ffdf8d3a9 100644 (file)
@@ -20,7 +20,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/string.h>
index 0e3d14849f6c37af37cd799d8573d342a3670d8f..e91aba146f26aaa9887f729980db9795b9626680 100644 (file)
@@ -5,7 +5,7 @@
 
 #include "portable.h"
 
-#include <stdlib.h>
+#include <ac/stdlib.h>
 #include <ac/string.h>
 #include <ac/time.h>
 
index c36bb26877457884694db59b4af5027016f4bd39..4d7234f3c957c5444c751334e31bb0afaf98550e 100644 (file)
@@ -6,7 +6,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/socket.h>
index ec82cfcba9afaf951708c740b10eac2496c3b165..72b213947eadd879082aea43c8881f7774da6cc6 100644 (file)
@@ -10,7 +10,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/string.h>
index 0ddfb49dbcad3c9695e4aa255a1e5b3386836881..a12643a152a099fc1b75360bea4e94a92207fc15 100644 (file)
@@ -5,7 +5,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/socket.h>
 #include <ac/time.h>
index 5a6b070291874089d4cefc4501c34309e40ae52e..45386a1d62f1ca91954dc53e805be77a153f2a19 100644 (file)
 #include "portable.h"
 
 #include <stdio.h>
-#include <ac/string.h>
-#include <ctype.h>
-#include <stdlib.h>
 
+#include <ac/stdlib.h>
+
+#include <ac/ctype.h>
 #include <ac/socket.h>
+#include <ac/string.h>
 #include <ac/time.h>
 
 #include "ldap-int.h"
index ad611fa20502a97fc3ed1f27cc98d1eebf07822b..676d599385ac7f58881c075ee8f4cc4883391d32 100644 (file)
@@ -12,7 +12,7 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+#include <ac/stdlib.h>
 
 #include <ac/socket.h>
 #include <ac/string.h>
index 27a58b3ea8258da72977e8dcbcabde9c2b656e95..7ede89a768fe6f89adc1004be48debaadbcb4255 100644 (file)
@@ -24,7 +24,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/socket.h>
index cfac8e336f25a2ce8dc59826603203d840b6af26..c5d17fc4dd825610d39bec7db7f7b2cb42e61606 100644 (file)
@@ -22,7 +22,7 @@
 
 #include "portable.h"
 
-#include <stdlib.h>
+#include <ac/stdlib.h>
 
 #include <ac/errno.h>
 #include <ac/socket.h>
index 60e2a420b69da768127daef7d327b1addcc3c40f..74cf915197cd2991dcf19f13633afcdd8b463b66 100644 (file)
@@ -17,7 +17,7 @@
 
 #include "portable.h"
 
-#include <stdlib.h>
+#include <ac/stdlib.h>
 
 #include <ac/errno.h>
 #include <ac/string.h>
index aa38ebd1a54d644692e20964022a76f02fef2045..1408acb8a1a428bde423bdb9e553f9456e87b93f 100644 (file)
@@ -30,7 +30,7 @@
 #if !defined( HAVE_LWP )
 
 #include <stdio.h>
-#include <stdlib.h>
+#include <ac/stdlib.h>
 #include <ac/unistd.h>                 /* get sleep() */
 
 #include "ldap_pvt_thread.h"
index c39955842898a0e6ec30363132ff36a883534920..9e0b394e6ac1c2e81a43851679d0e9ef6beb9ef6 100644 (file)
@@ -12,7 +12,8 @@
 #ifdef SLAPD_LDBM
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 #include <ac/string.h>
 #include <ac/errno.h>
 
@@ -552,8 +553,8 @@ ldbm_errno( LDBM ldbm )
 
 /* MMAPED DBM HASHING DATABASE */
 
-#include <alloca.h>
-#include <string.h>
+#include <ac/alloca.h>
+#include <ac/string.h>
 
 /* #define MDBM_DEBUG */
 
index b4e4abbd07fc13bb5ac948207912a8148fa4612e..527bd4f9d9c46960794302a481f2d4dbd103dc0b 100644 (file)
@@ -3,8 +3,9 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
-#include <ctype.h>
+
+#include <ac/stdlib.h>
+#include <ac/ctype.h>
 
 #include <ac/string.h>
 #include <ac/socket.h>
index 96a6b284223b275da67b70ef75d22fdbfc1ff231..0029dd16d4447296055fe6d659b9c23eec07880b 100644 (file)
 
 #include "portable.h"
 
-#include <stdlib.h>
-#include <stddef.h>
-#include <ctype.h>
-
+#include <ac/stdlib.h>
+#include <ac/ctype.h>
 #include <ac/string.h>
 
 /* include socket.h to get sys/types.h and/or winsock2.h */
index ceb2ab99d025115d3f02a03a1e4d1eb94956c441..eddcd4eaf52156db31d212a131d9174596c98981 100644 (file)
@@ -15,7 +15,8 @@
 #ifndef HAVE_GETPASS
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/errno.h>
index 6dc49b572c8378cea614a896dbaecc14bccaaebe..99c5cfdc648c17e3cf31e1d4ae75aa437c5fa01a 100644 (file)
@@ -10,7 +10,7 @@
 
 #include "portable.h"
 
-#include <stdlib.h>
+#include <ac/stdlib.h>
 
 #include <ac/string.h>
 #include <ac/unistd.h>
index 4c13eb95d16dc5fc49036f8ad02b91719c49f5e0..6578a8089504925f1c8da910ae11ed5342de9635 100644 (file)
@@ -3,7 +3,8 @@
 #ifndef HAVE_SETPROCTITLE
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/setproctitle.h>
 #include <ac/string.h>
index d68d0ce959e48c3bcef351568468ea750b229f0c..3c356afc00d639f776637617cf8b51d4b8b3d159 100644 (file)
@@ -200,7 +200,7 @@ static char rcsid[] = "$OpenBSD: sha1hl.c,v 1.1 1997/07/12 20:06:03 millert Exp
 #endif /* LIBC_SCCS and not lint */
 
 #include <stdio.h>
-#include <stdlib.h>
+#include <ac/stdlib.h>
 
 #include <ac/errno.h>
 #include <ac/unistd.h>
index 358d4bddbc002c9d1cb8000769d708d0d5e068da..61d9435322eb3772794d6cf69b144829a6318da4 100644 (file)
@@ -3,7 +3,8 @@
 #ifndef HAVE_TEMPNAM
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 #include <ac/string.h>
 #include <ac/unistd.h>
 
index 5b3588f7ee385af36e11b4bc7dae90bd51295763..beb1fb9dc6e7ca6fa3481e4921d9a25defd1b686 100644 (file)
@@ -13,8 +13,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <string.h>
-#include <ac/socket.h>         /* Get struct sockaddr for slap.h */
+#include <ac/string.h>
+#include <ac/socket.h>
 #include "slap.h"
 #include "back-bdb2.h"
 #include "proto-back-bdb2.h"
index 1068f238e9258bb2086eb90759834676c88911c5..a074e35b2d7a99a56d670e11204a72bd5660ab1f 100644 (file)
@@ -7,8 +7,8 @@
 
 #include <stdio.h>
 #include <sys/stat.h>
-#include <dirent.h>
 
+#include <ac/dirent.h>
 #include <ac/errno.h>
 #include <ac/signal.h>
 #include <ac/socket.h>
index 9c4f1adeacb014b5ce9855cd6964f824ab9eaeb8..93efcf6ca45a9db797a3cf4fa02107b4df496643 100644 (file)
@@ -13,8 +13,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <string.h>
-#include <ac/socket.h>         /* Get struct sockaddr for slap.h */
+#include <ac/string.h>
+#include <ac/socket.h>
 #include "slap.h"
 #include "back-ldbm.h"
 #include "proto-back-ldbm.h"
index 8bfb3c9a419e591ba119fb7bea846fd48dd5fa26..e1ea26387345223cae6e74f2fd97d6614d83a312 100644 (file)
@@ -3,8 +3,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <signal.h>
 
+#include <ac/signal.h>
 #include <ac/socket.h>
 #include <ac/string.h>
 
index 2c7f850520d6ce03f8406d94680e1d75f3bee38f..b44579697044bcd91e5c22ed2f1e66649bb34862 100644 (file)
@@ -3,7 +3,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/string.h>
 #include <ac/socket.h>
index 72c5b2627a68903baf7bd7ac26a7a3686591bccf..e4422cab09959ecf3167edcf4fbdb7c1b9b67e86 100644 (file)
@@ -249,7 +249,7 @@ void schema_info LDAP_P((Connection *conn, Operation *op, char **attrs, int attr
 void parse_oc_old LDAP_P(( Backend *be, char *fname, int lineno, int argc, char **argv ));
 void parse_oc LDAP_P(( char *fname, int lineno, char * line ));
 void parse_at LDAP_P(( char *fname, int lineno, char *line ));
-
+char *scherr2str LDAP_P((int code));
 /*
  * str2filter.c
  */
index 89d2fd73d66ad91f0a66a8b0fccb8aa209d5371b..0a8d19fdbed6f976556bd398822448e2bf8b83cc 100644 (file)
@@ -16,7 +16,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/string.h>
 #include <ac/unistd.h>
index 82529aef45ce62e22998b3da25a223dfc74885e0..5c9e2a267c9eee4238695adbe532f1ea69ad6d59 100644 (file)
@@ -18,7 +18,7 @@
 
 #include <stdio.h>
 
-#include <stdlib.h>
+#include <ac/stdlib.h>
 #include <ac/stdarg.h>
 
 #include <pwd.h>
index 57a955b49d7c9bcf6616a4650c54b46d069738c0..0d6b75a8188d57bd3851b6c1f18d53500284ab1c 100644 (file)
@@ -3,12 +3,12 @@
 #ifndef _SLDAPD_H_
 #define _SLDAPD_H_
 
-#include <stdlib.h>
+#include <ac/stdlib.h>
 
 #include <sys/types.h>
 #include <ac/syslog.h>
 #include <ac/regex.h>
-#include <ac/socket.h>                 /* needed by LDAP_CONNECTIONLESS */
+#include <ac/socket.h>
 #include <ldap_schema.h>
 
 #include "avl.h"
index d06d21e4f128c54980499af27d84ca85a27fcdc2..8751d83773d58f2a6d9bb7075d80322a9b758d55 100644 (file)
@@ -19,8 +19,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <string.h>
-#include <ac/socket.h>         /* Get struct sockaddr for slap.h */
+#include <ac/string.h>
+#include <ac/socket.h>
 #include "slap.h"
 
 /* 
index 536417b43f7b8ccbce36aff62452662ebf18af57..c558b1c487fa39960714c18f7efe008a34d9b037 100644 (file)
@@ -3,7 +3,7 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/string.h>
index 92dd2a302f714dff11224f0a0e7b399b99515b88..58ae5aa6e53202e14d9df5d81b6ae50dd2639260 100644 (file)
@@ -19,7 +19,7 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/string.h>
@@ -413,7 +413,7 @@ print_as(Attr_Sequence as, int modtype, FILE *ofp)
            }
            if ( obuf != NULL ) {
                fputs( obuf, ofp );
-               free( obuf );
+               ber_memfree( obuf );
            }
        }
        if ( modtype != 0 ) {
index 351bfe5ed8179fcfce45e3d68574d843939f9cae..2f9989bcd38299eb7afebb42570aceaff81d5059 100644 (file)
@@ -13,7 +13,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/errno.h>
index 4ce580697db2831a21299a2e9497ff1af7d42e0c..99fca405bef9b00afc90f833613f462a2b01a8fa 100644 (file)
@@ -123,7 +123,7 @@ av2ldif( FILE *outfp, AV_Sequence av, DN dn, short syntax, char *attrname,
            if ( fputs( buf, outfp ) == EOF ) {
                rc = -1;
            }
-           free( buf );
+           ber_memfree( buf );
        }
     }
 
index 5f24ac54c55a05963585c58ee57f4ea46beefddc..0e7cf5e64c539f03227fb8c3bbe47c4b8f9114cf 100644 (file)
@@ -1,9 +1,9 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
 #include <limits.h>
 
+#include <ac/stdlib.h>
 #include <ac/socket.h>
 #include <ac/string.h>
 #include <ac/ctype.h>
index c2cf5d049ccc761213887c954cfa53e77ee5a4b6..269a9b4d8a725de5491df4953c116726a217b8ea 100644 (file)
@@ -1,11 +1,12 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/string.h>
 #include <ac/socket.h>
-#include <ac/unistd.h>                 /* Get read() */
+#include <ac/unistd.h>
 
 #ifdef HAVE_IO_H
 #include <io.h>
@@ -76,7 +77,7 @@ main( int argc, char **argv )
                }
 
                fputs( out, stdout );
-               free( out );
+               ber_memfree( out );
                free( val );
                exit( 0 );
        }
@@ -91,7 +92,7 @@ main( int argc, char **argv )
                        exit( 1 );
                }
                fputs( out, stdout );
-               free( out );
+               ber_memfree( out );
        }
 
        exit( 0 );
index 5b850544610bdec2866be058676ecebe5a7f1bd1..cb015136f42d15af7c3de9564d1aaec4b767d4dd 100644 (file)
@@ -1,7 +1,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/string.h>
index 8564b86777fc052d92325060fceb8c6b82254dee..a622d0ff93d58cdf87d4bf60015bb08a3957214a 100644 (file)
@@ -1,7 +1,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/string.h>
index b3769b3d4e7b54223996137b03e64a744106bc2d..18c6357fb3e5bf3a24d57453cd20b59010d89916 100644 (file)
@@ -1,7 +1,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/string.h>
index 9ed951bc47b4e4714eca9773f019bea56e05b248..832c9818ce19d2753da876d6726e7bd50c47fd17 100644 (file)
@@ -1,7 +1,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/string.h>
index 298906f1933d7b7e8e3cf52dca3b44fd7e3c5119..e3930b30feb50bd3b8b69fd8effc6e4802c7976d 100644 (file)
@@ -1,7 +1,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/string.h>
index 60688763beffb19e65857f0586fd35fff136d632..4c620e212000144bb94fd75c3c53ecdf17e91337 100644 (file)
@@ -1,7 +1,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/string.h>
index fa1765da80ec6ec37ee0194a937af68a8b483e1b..4d881faf643f8da7e0831a6a0b8f899f433a79a1 100644 (file)
@@ -1,7 +1,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 #include <ac/string.h>
 #include <ac/unistd.h>
 
index e92598d800f8293bed227e83c940636001492007..e32a61ad3f57dda23021daf8835014b72885f7ce 100644 (file)
@@ -14,7 +14,8 @@
 #if defined(HAVE_SETUID) && defined(HAVE_SETGID)
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #ifdef HAVE_PWD_H
 #include <pwd.h>
index b1417323e370de1ee180aeced189e0668b1b17e8..8927be57ef47101e4be3e4a55c92f08169a17f7c 100644 (file)
@@ -17,8 +17,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
 
+#include <ac/stdlib.h>
 #include <ac/string.h>
 #include <ac/time.h>
 #include <ac/unistd.h>
index d6ad464e41e7a3e1ce24edf89c92e4fc8ceabf58..191a7d06c4c382b047cbfeef99ba9feb02a86aa1 100644 (file)
@@ -17,8 +17,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
 
+#include <ac/stdlib.h>
 #include <ac/socket.h>
 
 #include "../slapd/slap.h"
index 247910bfccf9de6ea317386178d83242da36a901..e9b5d7e7c1600fd75602cdc0c7973e64a35520db 100644 (file)
@@ -18,8 +18,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
 
+#include <ac/stdlib.h>
 #include <ac/string.h>
 #include <ac/socket.h>
 #include <ac/ctype.h>
index 0cb813caca42e86d1f30255f7f3f0857ecc0d1a1..d8d1dddb3d0090faa6c726c7e7ce7df090664ba6 100644 (file)
@@ -17,8 +17,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>                    /* get free() */
 
+#include <ac/stdlib.h>
 #include <ac/string.h>
 #include <ac/signal.h>
 
index 34593f658546d76681554c6b590808fe9a21821d..b90a4570d4f34f78ed828b19fe9cc872133543fa 100644 (file)
@@ -17,7 +17,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 #include <ac/string.h>
 
 #include "slurp.h"
index 855eca296b3182a3bd8e177d26e7a46cb38cf273..9ae70dc78d147670afeb95d75367859903c04370 100644 (file)
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/errno.h>
 #include <ac/string.h>
 #include <ac/ctype.h>
 #include <ac/time.h>
-#include <ac/unistd.h>         /* Get_t getpid() */
+#include <ac/unistd.h>
 
 #include <ac/krb.h>
 
index d58b58cb65f624e883c65eedc77d1aa0398d3486..911cb61661d5e68eb48bf68eeba3118495f575b7 100644 (file)
@@ -574,7 +574,7 @@ Re_write(
                free( obuf );
                goto bad;
            } else {
-               free( obuf );
+               ber_memfree( obuf );
            }
        }
     }
index 2a6166ea9bd422fff0b31e85491614940a292f35..6432f59f9ce70e01448a4db24f76b9484eb7482b 100644 (file)
@@ -20,7 +20,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 #include <ac/signal.h>
 
 #include "slurp.h"
index 46667210b698ff8b6571d5b7d8c3e81e526847db..4ef66727bd51014f8e0e09adbecd6f86089a5944 100644 (file)
@@ -34,7 +34,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 #include <ac/unistd.h>         /* get ftruncate() */
 
 #include "slurp.h"
index fed678b88de87db306542436427afa048baf6f84..c92de4f78ecbe2ae51751e8480b5e5372781a244 100644 (file)
@@ -19,7 +19,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 #include <ac/string.h>
 #include <ac/unistd.h>
 
index 37175de4e3ff9e0a07e9c156aa335f242a64fba6..7f4a403c7ee7b300ae4dfc89ac67946fa6cc91ed 100644 (file)
@@ -1,7 +1,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/socket.h>
index 1a9356ce49ab274ebe0414b4d4fe5c444354d7aa..287a4973ea83371593e0a6b0d0a66aaef8498ce0 100644 (file)
@@ -1,7 +1,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/socket.h>
index 6eb1ad98f992fd4353c2a8d48864fc74140e4872..1799f639be7b9e16706f22e73a919934a94b6af1 100644 (file)
@@ -1,7 +1,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/socket.h>
index b80fc4e909cdc052e3d3d4bd7608281fe0ad9748..a05fa34164551d2207306aac1265ca5c71219c5e 100644 (file)
@@ -1,7 +1,8 @@
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/ctype.h>
 #include <ac/dirent.h>