Commit Graph

22 Commits

Author SHA1 Message Date
Nicolas Williams
beae9c3c43 roken: Use ptsname_r() if we have it 2021-11-30 11:42:00 -05:00
Volker Lendecke
ba26fa5502 heimdal: Fix a format error on FreeBSD10
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2014-03-24 23:07:51 -05:00
Ken Dreyer
d0b70a463c roken: don't ignore HAVE_OPENPTY on linux
openpty() is not available on all Linux distributions. Trust autoconf's
determination for HAVE_OPENPTY instead of unconditionally using
openpty() on all Linux.
2014-02-17 14:40:33 -07: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 Hornquist Astrand
0879b9831a remove trailing whitespace 2011-05-21 11:57:31 -07:00
Asanka Herath
d00f9984a5 Make roken build on windows
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-11-24 21:42:02 -08:00
Love Hornquist Astrand
39d4a77d6a Disable this for AIX 2009-10-11 18:42:59 -07:00
Love Hornquist Astrand
f1207346f0 Fix printf argument error to errx() 2009-08-14 10:45:17 +02:00
Love Hörnquist Åstrand
55cfca74d5 Maybe include <libutil.h>. Needed for FreeBSD.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-08 20:33:43 +00:00
Love Hörnquist Åstrand
736d3d7e03 argc not use, don't increment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24912 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:22:10 +00:00
Love Hörnquist Åstrand
5e0a77e7c1 Less includes for STREAMS, and let hope it work, Add missing realm.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24740 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 19:11:09 +00:00
Love Hörnquist Åstrand
dd46728e9b include streams header
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24739 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 19:10:58 +00:00
Love Hörnquist Åstrand
355ddbc828 Streams pty code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24731 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 18:37:25 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
7576625526 More output.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23337 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-13 21:03:59 +00:00
Love Hörnquist Åstrand
96922c33db Always print output for status.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23335 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-12 20:21:57 +00:00
Love Hörnquist Åstrand
4aeb74b931 Add --version and --help.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23100 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-27 18:50:35 +00:00
Love Hörnquist Åstrand
3da0f00730 More includes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23094 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-27 18:49:55 +00:00
Love Hörnquist Åstrand
d09435c527 Add timeout, add password command, add diffrent verbosity levels.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23085 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-27 11:03:25 +00:00
Love Hörnquist Åstrand
759e5e12be drop whitespace at end of line.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23080 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-26 21:52:18 +00:00
Love Hörnquist Åstrand
0042b0c63b pty testing application
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23079 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-26 21:50:18 +00:00