1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-23 11:17:06 +03:00

147 Commits

Author SHA1 Message Date
Stefan Metzmacher
cd8f2e5c57 r22252: merge from samba4:
add prototype of setenv

metze
(This used to be commit 42ccfaf5e58d92e04ba490f726e5d6972039bdc4)
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
38bbe9a5da r22247: merge from samba4:
only test strtoll once

metze
(This used to be commit 17088fd644ef68ac2e96ed1246339b65943d63d0)
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
9cda609e86 r22244: merge from samba4:
remove useless printf's

metze
(This used to be commit cf7c57eae5671cd15f0cee0173c7b05a8a8ba055)
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
fb72736e6e r22240: merge from samba4:
use strlcpy instead of strcpy to make the IBM checker happy

metze
(This used to be commit fe4be25c3056260049a8052e072500756bf14fce)
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
f5b7197625 r22227: merge from samba4:
move discard_const macros to librelace

metze
(This used to be commit 8f4a39127f7b560a7a609e74423ccb88f53e545e)
2007-10-10 12:19:21 -05:00
Stefan Metzmacher
0ca5717a9a r22224: merge from samba4:
make comparing of struct tm more verbose and portable

metze
(This used to be commit 29cbd75f22bcbb10d049910c3a72d911094ccb05)
2007-10-10 12:19:21 -05:00
Stefan Metzmacher
2f1aafa2a7 r22221: merge from samba4:
- libreplace unsetenv() and strptime() replacements

metze
(This used to be commit 057c1c04d09b48c713ebc0b334cabcefc02561e9)
2007-10-10 12:19:21 -05:00
Stefan Metzmacher
1ec9de1104 r22151: remove netgr functions from libreplace they're not used
in samba4 currently and samba3 has explicit configure checks for them.

should fix bug #4496

metze
(This used to be commit 7f61b3f0095efed81adc9022ba44e5c7df84d2f2)
2007-10-10 12:19:17 -05:00
Stefan Metzmacher
6685e53385 r21944: move acl header checks to the correct place only
jeremy: please merge this to 3.0.25:-)

metze
(This used to be commit 874164e365b77947d5c514b2a77c6aae0f42599e)
2007-10-10 12:18:51 -05:00
Stefan Metzmacher
035bb5cc6f r21934: fix the build sorry
metze
(This used to be commit 184c4619773f786c5299499e121e485b7545764f)
2007-10-10 12:18:50 -05:00
Stefan Metzmacher
c542e154c2 r21931: include acl/libacl.h is present
I'm not sure if this should go into 3.0.25... it fixes a compiler warning about
a missing acl_get_perm() prototype

metze
(This used to be commit 4b67f94c6a148d6fecaa90d66ce6893b5feb370a)
2007-10-10 12:18:49 -05:00
Jelmer Vernooij
3e5219d8ec r21388: Merge support for providing replacement system headers.
(This used to be commit 78d6c88f10d600e05c4346affbba1d95c614dc34)
2007-10-10 12:18:01 -05:00
Andrew Tridgell
5f8840ec84 r21176: merged va_end() changes from Samba4
(This used to be commit 04f6f01dfeda2fa076209a94cdf8e59f6ce47008)
2007-10-10 12:17:45 -05:00
Stefan Metzmacher
14ddce8b64 r20820: merge from samba4:
- include system/aio.h
- use full prototype for main
- use ifdef instead if

metze
(This used to be commit 024dd7d7c95bcf8d77914dc2063f16220358e690)
2007-10-10 12:17:09 -05:00
Stefan Metzmacher
2f66beb8ad r20817: sync lib/replace with samba4
metze
(This used to be commit 352ee730308bbc151a742938818c9b8b3a6e8014)
2007-10-10 12:17:09 -05:00
Stefan Metzmacher
f428e045c3 r20789: merge from samba4:
- remove the epoll configure checks from libreplace

metze
(This used to be commit 3061c333eca4aaff6af4b200cfe07d17f87018b2)
2007-10-10 12:17:09 -05:00
Stefan Metzmacher
0b24e3d021 r20385: merge from samba4:
only try to find dlfcn.h if the dlopen symbol was found,
it hopefully fixes systems where dlfcn.h but no library with dlopen

metze
(This used to be commit b303e929d1ac6f1d931d0b92bdecdf292e1598cd)
2007-10-10 12:16:45 -05:00
Herb Lewis
55ed1d5945 r20261: merge 20260 from samba_3_0_24
clean up a bunch of no previous prototype warnings
(This used to be commit c60687db112405262adf26dbf267804b04074e67)
2007-10-10 12:16:37 -05:00
Herb Lewis
911413e7d7 r20248: merge 20247 from samba_3_0_24
get rid of warning: value computed is not used
(This used to be commit ebe16589cb6c45524b90abe5f9be5e4affa1598e)
2007-10-10 12:16:36 -05:00
Jeremy Allison
ed34ffb147 r19957: Initial framework to make winbindd robust
against tdb corruption. Needs fleshing out
(and I forgot one record type) and needs helpful
suggestion from Volker to validate freelist,
but should give an idea of how this will look.
Jeremy.
(This used to be commit 8eb53f74e414483afde7b1e38ea2a3f56ae3ec66)
2007-10-10 12:16:15 -05:00
Jeremy Allison
ea705fb345 r19601: Fix protection from invalid struct tm values.
Backport from Samba4.
Jeremy.
(This used to be commit 02a0ac0bacafe91e4fa3ca0cae2f05a25215efbc)
2007-10-10 12:15:42 -05:00
James Peach
322863b392 r19385: These replaced symbols should have a rep_ prefix.
(This used to be commit decdb46a3f7445d589c23e0ad554453ae79cd292)
2007-10-10 12:15:32 -05:00
Stefan Metzmacher
51994b35f1 r19244: fix the build on systems with broken krb5
we need to make sure

HAVE_GSSAPI

HAVE_KRB5_H
HAVE_GSSAPI_H
HAVE_GSSAPI_GSSAPI_GENERIC_H
HAVE_GSSAPI_GSSAPI_H

are not in config.h

this adds 2 new macros to libreplace
AC_REMOVE_DEFINE(), AC_REMOVE_INCLUDE()

metze
(This used to be commit eb1f0b49cf0e84385a62f9dfcb2167fea2e8fd8b)
2007-10-10 12:15:25 -05:00
Stefan Metzmacher
9830fc431b r19240: move the NO_CONFIG_H check to libreplace
this fixes the quota detection configure and maybe more
configure tests

metze
(This used to be commit a3a082c42ccb21cb16d2e53991808ef3224efc6c)
2007-10-10 12:15:24 -05:00
Stefan Metzmacher
f455951e1e r19235: merge from samba4:
fix configure test for net/if.h on some platforms

AC_LANG_SOURCE() adds the content of confdefs.h in front
of the compiled file

metze
(This used to be commit 7cbdc06ad9b68544c8eeaa68fdd7b03f71c0b739)
2007-10-10 12:15:23 -05:00
Stefan Metzmacher
2c2728b8a7 r19232: merge from samba4:
- machine/sys/getppdp.h workaround for HPUX 11.23
- more verbose check for net/if.h

metze
(This used to be commit 9b5c5bc3f3912776af6a8c9b13a9cb8dd2eff8f8)
2007-10-10 12:15:23 -05:00
Stefan Metzmacher
d898cbce90 r19130: fix the logic for the AC_PROG_CC_C99 check
metze
(This used to be commit 21516dc5ac95e7e5d6a7d7f890d42742b36f2454)
2007-10-10 12:15:14 -05:00
Andrew Tridgell
803d33a326 r19125: merge from samba4
(This used to be commit 65e1500ae6b5ca6334a63f4a18272568202bc048)
2007-10-10 12:15:14 -05:00
Stefan Metzmacher
1b80624c57 r19121: try to get rid of the difference between in system/iconv.h
between samba 3 and 4.

metze
(This used to be commit 04031a9fca037ad77cca0ba0da6801d5017521ba)
2007-10-10 12:15:13 -05:00
Stefan Metzmacher
7e310277ff r19034: merge from samba4:
prepare libreplace testsuite for usage in smbtorture

metze
(This used to be commit 281677084e022336877dd141befd508a0b5c08a9)
2007-10-10 12:15:04 -05:00
Stefan Metzmacher
f0244fbffe r19031: merge from samba4:
add test that opendir() on files sets errno = ENOTDIR

metze
(This used to be commit fdad2ce7346678d29adf877b580e9285be286755)
2007-10-10 12:15:03 -05:00
Stefan Metzmacher
a831353be4 r19030: merge missing stuff from samba4:
- strnlen() and strndup() are broken on AIX
- we need some extra CFLAGS on HPUX 11.11

metze
(This used to be commit 61aa60c60ffddcbad433b26d7f3a836e4fcd8732)
2007-10-10 12:15:03 -05:00
Volker Lendecke
4cc309c3da r19016: As per Samba4 coding standards, turn tabs into spaces
(This used to be commit 3f59c8ef0c3f2a27c1c46b48fe8ee5ccacb44b7b)
2007-10-10 12:15:02 -05:00
Volker Lendecke
bffbda804d r19011: Attempt to fix the BSD RAW-CHKPATH failures: In Samba3 we rely on opendir
returning ENOTDIR when the file opened is not a directory. Can we merge this
back into Samba4?

Volker
(This used to be commit 448d7c0c4b6a1d7d9c544d39d7b461dd1c69fd8e)
2007-10-10 12:14:57 -05:00
Stefan Metzmacher
ce11194ce0 r18998: - make more usage of PRINTF_ATTRIBUTE()
- vsyslog takes a 'const char *format'

metze
(This used to be commit 8899bc45f908a15fb496f5c0a29692e7494a56cc)
2007-10-10 12:14:55 -05:00
Volker Lendecke
f9d077cfb3 r18991: Fix bug 4133 -- Thanks to Olaf Flebbe
(This used to be commit 00f09d851c734cb6450feac2d6efc71a540be11f)
2007-10-10 12:14:54 -05:00
Stefan Metzmacher
3ae0baefa1 r18961: merge from samba4:
fix caching of some configure tests AC_CACHE_CHECK()
*needs* '_cv_' in the shell var to do caching...

metze
(This used to be commit c460f28b68b75342bfabe3b396dd06e07a668ec4)
2007-10-10 12:14:51 -05:00
Stefan Metzmacher
6aed2cd44e r18958: merge from samba4:
we need to include unistd.h in system/network.h because
it contains the ioctl() prototype on some systems
and we need to make sure it gets included before socket_wrapper
defines ioctl swrap_ioctl

metze
(This used to be commit d8275347606cd183caea69837fd765b96d4bab71)
2007-10-10 12:14:50 -05:00
Stefan Metzmacher
cb99b612f8 r18953: sync socket_wrapper with samba4
metze
(This used to be commit 77b0af43f0f7e52b9040a1d3edfb556a232e64f1)
2007-10-10 12:14:50 -05:00
Andrew Tridgell
64d4ff5dcc r18864: merge lib/replace changes from samba4
(This used to be commit 6d5f507136be327558e98214b64eca225ca23d66)
2007-10-10 12:01:06 -05:00
Stefan Metzmacher
beecb90440 r18784: hopefully fix the BOOL bug on AIX
metze
(This used to be commit 454d9590de6ff94a1edd7321e26af0f0978a356a)
2007-10-10 12:00:57 -05:00
Stefan Metzmacher
bc6295c3ec r18673: define the macros even if we don't define bool ourself
metze
(This used to be commit 65013a8d9e678c44cecae07967b7a001b796faf1)
2007-10-10 12:00:46 -05:00
Stefan Metzmacher
7040796108 r18672: fix the build on Tru64
metze
(This used to be commit 6c101d206812fe24233409e0757cad52638e685a)
2007-10-10 12:00:46 -05:00
Stefan Metzmacher
8383eb53f4 r18671: try to fix the build on solaris 10 and maybe some other hosts
we need to define 'BOOL_DEFINED' to make sure it didn't get redefined
by <rpcsvc/yp_prot.h>

metze
(This used to be commit 5a589bb16c2bb3da75874bd190384eabd39eb972)
2007-10-10 12:00:46 -05:00
Stefan Metzmacher
3fe99c960f r18669: fix the samba3 build...
we need to move the iconv configure checks to libreplace...

metze
(This used to be commit 6b53ed8fdc2a4c0b3b24e22ada90d14d60cc93fb)
2007-10-10 12:00:45 -05:00
Stefan Metzmacher
19cee7d056 r18649: the PRINTF_ATTRIUTE() macro is provided by libreplace
metze
(This used to be commit dd76f4f5f374ec4822abbf1a09d26287926b92ce)
2007-10-10 11:52:19 -05:00
Stefan Metzmacher
8f153c6128 r18644: bring in libreplace in lib/replace
metze
(This used to be commit 596cbe73dd268742acf456fccd8a234376fb0c97)
2007-10-10 11:52:03 -05:00