1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00
samba-mirror/source4/torture/local
Uri Simchoni 6aa0ae50e2 torture: include config.h before any glibc headers
config.h may have some flags which affect glibc behavior, e.g.
_FILE_OFFSET_BITS=64. To make sure these flags have the desired
effect, config.h must be included before any glibc header files.

Also remove inclusion of some system files, relying on
replace/system/*.h instead.

This commit does not fix a specific known bug. It changes the code to
comply with coding conventions.

Signed-off-by: Uri Simchoni <urisimchoni@gmail.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: "Stefan Metzmacher" <metze@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Jul 17 04:41:14 CEST 2015 on sn-devel-104
2015-07-17 04:41:13 +02:00
..
dbspeed.c lib: Remove tdb_compat 2015-03-17 11:30:52 +01:00
fsrvp_state.c torture: include config.h before any glibc headers 2015-07-17 04:41:13 +02:00
local.c torture: add local FSRVP server state tests 2015-03-31 18:40:24 +02:00
nss_tests.c s4:torture/local: add more torture_assert() checks 2015-04-09 16:58:23 +02:00
torture.c s4:torture/local: add missing #include "torture/local/proto.h" 2014-04-02 09:03:45 +02:00
verif_trailer.c torture: include config.h before any glibc headers 2015-07-17 04:41:13 +02:00
wscript_build torture: add local FSRVP server state tests 2015-03-31 18:40:24 +02:00