Commit 5b757b9f authored by Per Cederqvist's avatar Per Cederqvist

Imported ISC 1.01.

parent 218ed486
2000-09-03 Per Cederqvist <ceder@moria>
2001-09-23 Per Cederqvist <ceder@moria>
Get rid of false compiler warnings.
* configure.in: Removed the -Wpointer-arith flag, which only gives
lots of false warnings from glibc-2.1.3/gcc-2.95.2.
* Re-applied a couple of lyskomd modifications.
Removed an unused attribute in IscSession. Handle
isc_getraddress() failures properly.
* src/isc_tcp.c (isc_tcp_accept_fn): Don't set scb->mode. Fail
properly if isc_getraddress() fails.
* src/isc.h (IscSession): Delete the "mode" attribute, which was
only set in some cases and never used.
* src/isc_session.c (isc_openfile): Don't set scb->mode.
1999-07-05 Per Cederqvist <ceder@gratia>
1999-07-05 Per Cederqvist <ceder@gratia>
Delay problems with sessions that are deconnected until we can
do a proper fix.
* src/isc.h (ISC_DEFAULT_MAX_QUEUED_SIZE): Double to 600.
1999-05-21 Per Cederqvist <ceder@lysator.liu.se>
1999-05-21 Per Cederqvist <ceder@lysator.liu.se>
Remove all gcov files in "make mostlyclean".
* src/Makefile.am (MOSTLYCLEANFILES): Added "*.da", "*.bb",
"*.gcov" and "*.bbg".
1999-05-17 Per Cederqvist <ceder@lysator.liu.se>
1999-05-17 Per Cederqvist <ceder@lysator.liu.se>
Don't needlessly call time().
* src/isc.h (IscSession): Comment out idlesince.
* src/isc_event.c (isc_getnextevent): Don't waste time setting
idlesince, which lyskomd doesn't use.
1999-05-01 Per Cederqvist <ceder@lysator.liu.se>
1999-05-01 Per Cederqvist <ceder@lysator.liu.se>
The LysKOM server should not install isc thingies.
* src/Makefile.am (noinst_LIBRARIES, noinst_HEADERS): Use instead
......@@ -40,6 +30,33 @@
* man/Makefile.am (noinst_MANS): Use noinst_MANS instead of
man_MANS so that nothing from isc gets installed by lyskomd.
2001-09-23 Per Cederqvist <ceder@lysator.liu.se>
* Version 1.01 released.
Release preparations.
* configure.in: Release 1.01.
* NEWS: Entry for 1.01 written.
Port to Autoconf 2.52 and Automake 1.5.
* RELEASING: Updated for automake 1.5.
* configure.in: Adjusted to autoconf 2.52: AC_INIT Now takes
package name and version as arguments. Use AC_CONFIG_SRCDIR. Use
AC_HELP_STRING to format help strings. Use CMOD_CHECK_CC_OPT
instead of CMOD_COMPILER_CC_ACCEPTS. Don't use -Wpointer-arith.
Use AC_CONFIG_FILES.
* acinclude.m4 (CMOD_COMPILER_CC_ACCEPTS): Removed.
(CMOD_CHECK_CC_OPT): New macro.
* README.DEVO: Updated for autoconf 2.52 and automake 1.5.
Removed an unused attribute in IscSession. Handle
isc_getraddress() failures properly.
* src/isc_tcp.c (isc_tcp_accept_fn): Don't set scb->mode. Fail
properly if isc_getraddress() fails.
* src/isc.h (IscSession): Delete the "mode" attribute, which was
only set in some cases and never used.
* src/isc_session.c (isc_openfile): Don't set scb->mode.
1999-05-01 Per Cederqvist <ceder@lysator.liu.se>
* Version 1.00 released.
......
dnl ISC - networking library
dnl Copyright (C) 1998-1999 by Peter Eriksson and Per Cederqvist of the
dnl Copyright (C) 1998-1999, 2001 by Peter Eriksson and Per Cederqvist of the
dnl Lysator Academic Computer Association.
dnl
dnl
......@@ -19,23 +19,25 @@ dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
dnl Process this file with autoconf to produce a configure script.
AC_REVISION($Revision: 1.5 $)dnl
AC_INIT(src/isc_master.c)
AM_INIT_AUTOMAKE(isc, 1.00)
AC_REVISION($Revision: 1.6 $)dnl
AC_INIT(isc, 1.01)
AC_CONFIG_SRCDIR([src/isc_master.c])
AM_INIT_AUTOMAKE(isc, 1.01)
AC_ARG_WITH([checker],
[ --with-checker compile with Gnu Checker],
AC_HELP_STRING([--with-checker], [compile with Gnu Checker]),
[use_checker=$withval],
[use_checker=no])
AC_ARG_WITH([gcov],
[ --with-gcov instrument for gcov (requires gcc)],
AC_HELP_STRING([--with-gcov], [instrument for gcov (requires gcc)]),
[use_gcov=$withval],
[use_gcov=no])
AC_ARG_WITH([optimization],
[ --without-optimization turn off optimization
--with-optimization[=N] select level of optimization (default on)],
AC_HELP_STRING([--without-optimization],
[turn off optimization (default on)])
AC_HELP_STRING([--with-optimization@<:@=N@:>@],[specify level of optimization]),
[opt_level=$withval],
[opt_level=""])
......@@ -66,22 +68,22 @@ CMOD_C_ATTRIBUTE_UNUSED
dnl "-Wtraditional" isn't really useful: we don't support
dnl pre-c89-compilers.
[CFLAGS="$CFLAGS -Wall -W -Wshadow"]
CMOD_COMPILER_CC_ACCEPTS([-Wbad-function-cast])
CMOD_COMPILER_CC_ACCEPTS([-Wcast-qual])
CMOD_COMPILER_CC_ACCEPTS([-Wcast-align])
CMOD_COMPILER_CC_ACCEPTS([-Wwrite-strings])
CMOD_COMPILER_CC_ACCEPTS([-Waggregate-return])
CMOD_COMPILER_CC_ACCEPTS([-Wstrict-prototypes])
CMOD_COMPILER_CC_ACCEPTS([-Wmissing-prototypes])
CMOD_COMPILER_CC_ACCEPTS([-Wmissing-declarations])
CMOD_COMPILER_CC_ACCEPTS([-Wnested-externs])
CMOD_COMPILER_CC_ACCEPTS([-pipe])
CMOD_CHECK_CC_OPT([-Wbad-function-cast], [bad_function_cast])
CMOD_CHECK_CC_OPT([-Wcast-qual], [cast_qual])
CMOD_CHECK_CC_OPT([-Wcast-align], [cast_align])
CMOD_CHECK_CC_OPT([-Wwrite-strings], [write_strings])
CMOD_CHECK_CC_OPT([-Waggregate-return], [aggregate_return])
CMOD_CHECK_CC_OPT([-Wstrict-prototypes], [strict_prototypes])
CMOD_CHECK_CC_OPT([-Wmissing-prototypes], [missing_prototypes])
CMOD_CHECK_CC_OPT([-Wmissing-declarations], [missing_declarations])
CMOD_CHECK_CC_OPT([-Wnested-externs], [nested_externs])
CMOD_CHECK_CC_OPT([-pipe], [pipe])
[fi]
[if test "$use_gcov" = "yes" -a -n "$GCC"; then]
CMOD_COMPILER_CC_ACCEPTS([-ftest-coverage])
CMOD_COMPILER_CC_ACCEPTS([-fprofile-arcs])
CMOD_CHECK_CC_OPT([-ftest-coverage], [test_coverage])
CMOD_CHECK_CC_OPT([-fprofile-arcs], [profile_arcs])
[fi]
......@@ -101,4 +103,12 @@ then]
LIBS="-lchkr_m $LIBS" ]
[fi]
AC_OUTPUT(Makefile src/Makefile man/Makefile doc/Makefile demo/Makefile)
AC_CONFIG_FILES([
Makefile
src/Makefile
man/Makefile
doc/Makefile
demo/Makefile
])
AC_OUTPUT
/*
** isc.h structures and defines used in a ISC server
**
** Copyright (C) 1991, 1996, 1998-1999 by Peter Eriksson and
** Copyright (C) 1991, 1996, 1998-1999, 2001 by Peter Eriksson and
** Per Cederqvist of the Lysator Academic Computer Association.
**
**
......
/*
** isc_session.c Routines to handle ISC sessions
**
** Copyright (C) 1991-1993, 1998-1999 by Peter Eriksson and
** Copyright (C) 1991-1993, 1998-1999, 2001 by Peter Eriksson and
** Per Cederqvist of the Lysator Academic Computer Association.
**
**
......
/*
** isc_tcp.c Routines to handle TCP ISC sessions
**
** Copyright (C) 1992, 1998-1999 by Peter Eriksson and
** Copyright (C) 1992, 1998-1999, 2001 by Peter Eriksson and
** Per Cederqvist of the Lysator Academic Computer Association.
**
**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment