Love Hörnquist Åstrand
6294c36526
avoid -Wshadow
2012-11-22 17:27:21 -08:00
Love Hörnquist Åstrand
25e533421a
wrap SOL_SOCKET, SO_PEERCRED in ifdef __linux__
2012-03-11 10:18:43 -07:00
Roland C. Dowdeswell
e8779d5d4a
Add -Wshadow and deal with the warnings.
2012-02-21 11:17:55 +00:00
Roland C. Dowdeswell
cc47c8fa7b
Turn on -Wextra -Wno-sign-compare -Wno-unused-paramter and fix issues.
...
We turn on a few extra warnings and fix the fallout that occurs
when building with --enable-developer. Note that we get different
warnings on different machines and so this will be a work in
progress. So far, we have built on NetBSD/amd64 5.99.64 (which
uses gcc 4.5.3) and Ubuntu 10.04.3 LTS (which uses gcc 4.4.3).
Notably, we fixed
1. a lot of missing structure initialisers,
2. unchecked return values for functions that glibc
marks as __attribute__((warn-unused-result)),
3. made minor modifications to slc and asn1_compile
which can generate code which generates warnings,
and
4. a few stragglers here and there.
We turned off the extended warnings for many programs in appl/ as
they are nearing the end of their useful lifetime, e.g. rsh, rcp,
popper, ftp and telnet.
Interestingly, glibc's strncmp() macro needed to be worked around
whereas the function calls did not.
We have not yet tried this on 32 bit platforms, so there will be
a few more warnings when we do.
2012-02-20 19:45:41 +00:00
Love Hörnquist Åstrand
5829bfe476
add LIB_heimbase
2011-05-22 17:28:24 -07:00
Love Hornquist Astrand
0879b9831a
remove trailing whitespace
2011-05-21 11:57:31 -07:00
Love Hornquist Astrand
f5f9014c90
Warning fixes from Christos Zoulas
...
- shadowed variables
- signed/unsigned confusion
- const lossage
- incomplete structure initializations
- unused code
2011-04-29 20:25:05 -07:00
Love Hornquist Astrand
46444695f6
include <sys/socket.h> and fix ifdef wrapping for <sys/un.h>
2011-03-21 22:23:21 -07:00
Love Hornquist Astrand
ef045438c9
no support for semaphores w/o pthreads
2011-03-12 11:37:13 -08:00
Love Hornquist Astrand
cb2aa28c7d
Include <heimbase.h>
2011-03-12 11:37:12 -08:00
Love Hornquist Astrand
b50919b853
Include <ucred.h> if we have getpeerucred()
2010-11-26 11:37:17 -08:00
Love Hornquist Astrand
88d0a76209
wrap older mach code with __MAC_OS_X_VERSION_MIN_REQUIRED
2010-11-25 10:29:32 -08:00
Love Hornquist Astrand
3789b1111e
stop if there is not enough data
2010-10-07 00:01:06 -07:00
Love Hornquist Astrand
a3746c9f07
handle unix credentials
2010-10-06 23:32:36 -07:00
Love Hornquist Astrand
b5bc5c1d84
add PTHREAD_LIBADD
2010-09-19 00:55:36 -07:00
Love Hornquist Astrand
1205b35297
remove extra b
2010-09-12 23:22:41 -07:00
Love Hornquist Astrand
3af3dd2673
add heim_ipc_types.h
2010-09-12 23:18:02 -07:00
Love Hornquist Astrand
e80ef86fe4
include hi_locl.h
2010-09-12 23:11:47 -07:00
Love Hornquist Astrand
da24828d50
add heim_ipc_reply.defs
2010-09-12 23:05:51 -07:00
Love Hornquist Astrand
615257472b
add heim_ipc_async.defs
2010-09-12 23:02:01 -07:00
Love Hornquist Astrand
d1943f6860
add heim_ipc.defs
2010-09-12 22:53:33 -07:00
Love Hornquist Astrand
63b6dd1943
make work w/o gcd
2010-09-08 09:49:03 -07:00
Love Hornquist Astrand
bac0598ce6
cancel sources
2010-09-08 09:45:40 -07:00
Love Hornquist Astrand
d615f77834
condition gcd on HAVE_GCD
2010-09-08 09:18:03 -07:00
Love Hornquist Astrand
e297702f78
split dist and nodisk source for heim_ipc[cs]
...
So that the generated files doesn't have to be built on host w/o mig,
reported by Jelmer Vernooij on heimdal-discuss
2010-02-20 11:22:07 -08:00
Love Hornquist Astrand
3cc8e8bfc7
listen for http requests
2010-01-06 12:54:54 +01:00
Love Hornquist Astrand
8857c285e8
build ts-http
2010-01-06 12:54:27 +01:00
Love Hornquist Astrand
dad3296f64
expose SIPC_TYPE flags
2010-01-06 12:54:09 +01:00
Love Hornquist Astrand
0f5267b97f
Make http connections work
2010-01-06 12:53:52 +01:00
Love Hornquist Astrand
1354b6650b
clean up http support
2010-01-06 10:42:28 +01:00
Love Hornquist Astrand
68d2f52ad4
fixup prototype
2010-01-06 10:42:16 +01:00
Love Hornquist Astrand
6847593406
Include <base64.h>.
2010-01-06 10:40:53 +01:00
Love Hornquist Astrand
eab88ad791
Include <ctype.h>.
2010-01-06 10:36:12 +01:00
Love Hornquist Astrand
2711882f3f
Add bits to support HTTP in server
2010-01-04 16:11:18 +01:00
Love Hornquist Astrand
b0feb58f32
remove invalid $Id$
2009-12-13 15:43:02 -08:00
Love Hornquist Astrand
2613e3c973
x
2009-12-13 15:10:52 -08:00
Love Hornquist Astrand
baf83f0b3d
unix -> u
2009-12-13 13:24:44 -08:00
Love Hornquist Astrand
659868bf1b
drop -version-info
2009-12-13 12:24:09 -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
e849f2302b
simplify
2009-11-23 08:31:06 -08:00