Commit Graph

25463 Commits

Author SHA1 Message Date
Asanka Herath
7ee1695f12 Add cloexec() and xfree() to libroken 2009-11-24 10:16:49 -08:00
Asanka Herath
5dd6355e56 libkrb5 .def file 2009-11-24 10:16:49 -08:00
Asanka Herath
191361fdf5 Calling convention change 2009-11-24 10:16:49 -08:00
Asanka Herath
78a237e3cc No dirfd() on Windows 2009-11-24 10:16:49 -08:00
Asanka Herath
6ba6a17ebd Do things the WinSock way 2009-11-24 10:16:49 -08:00
Asanka Herath
d6adaa775f No geteuid() on Windows 2009-11-24 10:16:49 -08:00
Asanka Herath
77fee77d0e Use path tokens in krb5_config_parse_file_multi() 2009-11-24 10:16:22 -08:00
Asanka Herath
39d89e9fca Export .def for libkadm5srv 2009-11-24 10:15:14 -08:00
Asanka Herath
c53686e69b More KRB5_DEPRECATED fixes 2009-11-24 10:15:14 -08:00
Asanka Herath
c2f634d9ad KRB5_DEPRECATED is a storage class specifier 2009-11-24 10:12:45 -08:00
Asanka Herath
1bfde92838 Update krb5/NTMakefile 2009-11-24 10:12:45 -08:00
Asanka Herath
6a88c16dea Use wait_for_process() to wait for processes created with simple_exec* 2009-11-24 10:12:45 -08:00
Asanka Herath
bf5b934b06 Include roken.h before including other Heimdal headers 2009-11-24 10:12:45 -08:00
Asanka Herath
d84119813e No AF_UNIX on Windows and no SIGPIPE and SIGXCPU 2009-11-24 10:12:44 -08:00
Asanka Herath
246e60891c NTMakefile for kadm5 port 2009-11-24 10:12:44 -08:00
Asanka Herath
21775167c4 No dirfd() support on Windows 2009-11-24 10:12:44 -08:00
Asanka Herath
588d1e081f Update hx509/NTMakefile
Better dependency management for generated files.
2009-11-24 10:12:44 -08:00
Asanka Herath
dd09636632 Move variable definitions above code
VC still doesn't deal with variable definitions mixed with code.
2009-11-24 10:12:44 -08:00
Asanka Herath
ffb0fdb9c6 Better dependencty tracking for hdb/NTMakefile and build tests 2009-11-24 10:12:44 -08:00
Asanka Herath
adab1b3cc1 Move HC_DEPRECATED_CRYPTO to front
The HC_DEPRECATED_CRYPTO macro is used as a storage class specifier
on Windows, and hence must be placed before the return type for a
function declaration.
2009-11-24 10:12:44 -08:00
Asanka Herath
c1a6ab1d55 Update hcrypto/NTMakefile 2009-11-24 10:11:16 -08:00
Asanka Herath
ce7d784648 Avoid using 'interface' as a variable name 2009-11-24 10:11:16 -08:00
Asanka Herath
72537c1f83 Update gssapi/NTMakefile 2009-11-24 10:11:16 -08:00
Asanka Herath
041b5c6292 Update asn/NTMakefile
Be explicit about dependencies.  A subsequent invocation of the NTMakefile
should correctly deduce dependencies for generated files instead of
assuming they are always out of date.
2009-11-24 10:11:16 -08:00
Asanka Herath
69554bf181 Use explicit-width integer types in krb5_types.h 2009-11-24 10:11:16 -08:00
Asanka Herath
85e2907c1c More changes to config.h.w32
Addition of :

NO_PIDFILES : We don't create PID files
NO_SIGPIPE, NO_SIGXCPU: These signals don't exist on Windows
NO_UNIX_SOCKETS: No AF_UNIX support

Also, ignore variable defintions when we are doing a preprocessor-only
run.
2009-11-24 10:11:16 -08:00
Asanka Herath
c08c411853 Add KRB4 and DIR_hdbdir to the FEATURE_DEFS list
Add version.h and heim_threads.h to the list of include files.
2009-11-24 10:11:16 -08:00
Asanka Herath
dc0b2b8648 Missing foo_LIB_FUNCTION fixes 2009-11-24 10:11:15 -08:00
Asanka Herath
6ca5815e3d Socket functions should use SOCKET instead of int 2009-11-24 10:11:15 -08:00
Asanka Herath
59a4c6b369 Missing roken.h declarations for Visual C and Windows 2009-11-24 10:11:15 -08:00
Asanka Herath
483da4ae9b (mini_identd_addrinfo) Use closesocket() to close sockets
Also, set closed sockets to INVALID_SOCKET so that they won't be
closed again.
2009-11-24 10:11:15 -08:00
Asanka Herath
867a1533be (arg_match_long) Use UNREACHABLE() macro to mark up unreachable code 2009-11-24 10:11:15 -08:00
Asanka Herath
4332f79a82 (eread,ewrite) Remove redundant includes
<err.h> is included by <roken.h>.
2009-11-24 10:11:15 -08:00
Asanka Herath
4da69ab0be (krb5_sendto) Use IS_BAD_SOCKET() to check if the socket is bad 2009-11-24 10:11:15 -08:00
Asanka Herath
eef0943c0e (compile_et.c) Pick the last path delimiter whichever kind of slash it is 2009-11-24 10:11:15 -08:00
Asanka Herath
9d42b10027 (krb5_config_parse_file_multi) Don't leak memory when the path tokens can't be expanded 2009-11-24 10:11:15 -08:00
Asanka Herath
b1063ea8fc Initial Windows port 2009-11-24 10:11:14 -08:00
Andrew Bartlett
25a2ac726b heimdal Fix invalid format string
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-11-23 20:36:54 -08:00
Love Hornquist Astrand
41d657a159 test more 2009-11-23 17:59:50 -08:00
Love Hornquist Astrand
bfad19e74b pull in <sys/poll.h> 2009-11-23 17:56:49 -08:00
Love Hornquist Astrand
ff642c0539 move out heim_ipc_main from here, its currently not common 2009-11-23 17:56:33 -08:00
Love Hornquist Astrand
599fefcb8d make async glue for non async case work 2009-11-23 17:56:06 -08:00
Love Hornquist Astrand
42ba3389db make work with poll 2009-11-23 17:52:46 -08:00
Love Hornquist Astrand
7d1e32e6d9 timeout depends on gcd for now 2009-11-23 17:49:11 -08:00
Love Hornquist Astrand
032385d3aa remove debug printf 2009-11-23 17:31:05 -08:00
Love Hornquist Astrand
d4a562ebe6 handle gcd for sockets too 2009-11-23 17:28:56 -08:00
Love Hornquist Astrand
ca876988d7 add gcd version, less bits on pipe, run socket in non-blocking mode 2009-11-23 12:47:39 -08:00
Love Hornquist Astrand
d96a7eb2a1 start a unix service too 2009-11-23 09:51:30 -08:00
Love Hornquist Astrand
149898ec28 mkae compile 2009-11-23 09:19:49 -08:00
Love Hornquist Astrand
adb71f15ec use launch flag, move loop to here 2009-11-23 09:06:39 -08:00