Index: ossp-pkg/ex/.cvsignore RCS File: /v/ossp/cvs/ossp-pkg/ex/.cvsignore,v rcsdiff -q -kk '-r1.1' '-r1.2' -u '/v/ossp/cvs/ossp-pkg/ex/.cvsignore,v' 2>/dev/null --- .cvsignore 2002/01/25 15:44:09 1.1 +++ .cvsignore 2002/01/26 20:12:19 1.2 @@ -1 +1,10 @@ +shtool +config.guess +config.sub +ltmain.sh +libtool.m4 +configure +config.h.in +ex-config +config.h ex_test Index: ossp-pkg/ex/Makefile RCS File: /v/ossp/cvs/ossp-pkg/ex/Attic/Makefile,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/ex/Attic/Makefile,v' | diff -u - /dev/null -L'ossp-pkg/ex/Makefile' 2>/dev/null --- ossp-pkg/ex/Makefile +++ /dev/null 2024-05-09 00:30:42.000000000 +0200 @@ -1,23 +0,0 @@ - -CC = /usr/opkg/bin/gcc -CFLAGS = -Wall -O2 -I. -LDFLAGS = -AR = ar -RANLIB = ranlib - -all: libex.a ex_test - -ex_test: ex_test.o libex.a - $(CC) $(LDFLAGS) -o ex_test ex_test.o libex.a - -libex.a: ex.o - rm -f $@ - $(AR) cr $@ ex.o - $(RANLIB) $@ - -clean: - rm -f ex_test *.a *.o *.core - -check: ex_test - ./ex_test - Index: ossp-pkg/ex/Makefile.in RCS File: /v/ossp/cvs/ossp-pkg/ex/Makefile.in,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/ex/Makefile.in,v' | diff -u /dev/null - -L'ossp-pkg/ex/Makefile.in' 2>/dev/null --- ossp-pkg/ex/Makefile.in +++ - 2024-05-09 00:31:10.150142921 +0200 @@ -0,0 +1,109 @@ +## +## OSSP ex - Exception Handling Library +## Copyright (c) 2002 Ralf S. Engelschall +## Copyright (c) 2002 The OSSP Project +## Copyright (c) 2002 Cable & Wireless Deutschland +## +## This file is part of OSSP ex, an exception handling library +## which can be found at http://www.ossp.org/pkg/ex/. +## +## This program is free software; you can redistribute it and/or +## modify it under the terms of the GNU General Public License +## as published by the Free Software Foundation; either version +## 2.0 of the License, or (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this file; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +## USA, or contact the OSSP project . +## +## Makefile.in: make(1) build procedure +## + +@SET_MAKE@ + +DESTDIR = +prefix = @prefix@ +exec_prefix = @exec_prefix@ +bindir = @bindir@ +libdir = @libdir@ +includedir = @includedir@ +mandir = @mandir@ + +CC = @CC@ +CPPFLAGS = @CPPFLAGS@ +CFLAGS = @DEFS@ @CFLAGS@ +LDFLAGS = @LDFLAGS@ +LIBS = @LIBS@ +RM = rm -f +RMDIR = rmdir +SHTOOL = ./shtool +LIBTOOL = ./libtool +TRUE = true + +LIB_NAME = libex.la +LIB_OBJS = ex.lo + +TST_NAME = ex_test +TST_OBJS = ex_test.o ts.o + +.SUFFIXES: +.SUFFIXES: .c .o .lo + +all: $(LIB_NAME) $(TST_NAME) + +.c.o: + $(CC) $(CPPFLAGS) $(CFLAGS) -c $< + +.c.lo: + @$(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS) -c $< + +$(LIB_NAME): $(LIB_OBJS) + @$(LIBTOOL) --mode=link $(CC) -o $(LIB_NAME) $(LIB_OBJS) -rpath $(libdir) \ + -version-info `$(SHTOOL) version -l txt -d libtool VERSION` + +$(TST_NAME): $(TST_OBJS) $(LIB_NAME) + @$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $(TST_NAME) $(TST_OBJS) $(LIB_NAME) $(LIBS) + +check: $(TST_NAME) + @$(LIBTOOL) --mode=execute ./$(TST_NAME) + +install: + $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(prefix) + $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir) + $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(includedir) + $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(libdir) + $(SHTOOL) install -c -m 755 ex-config $(DESTDIR)$(bindir)/ + $(SHTOOL) install -c -m 644 ex.h $(DESTDIR)$(includedir)/ + @$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 libex.la $(DESTDIR)$(libdir)/ + +uninstall: + @$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/libex.la + -$(RM) $(DESTDIR)$(includedir)/ex.h + -$(RM) $(DESTDIR)$(bindir)/ex-config + -$(RMDIR) $(DESTDIR)$(libdir) >/dev/null 2>&1 || $(TRUE) + -$(RMDIR) $(DESTDIR)$(includedir) >/dev/null 2>&1 || $(TRUE) + -$(RMDIR) $(DESTDIR)$(bindir) >/dev/null 2>&1 || $(TRUE) + -$(RMDIR) $(DESTDIR)$(prefix) >/dev/null 2>&1 || $(TRUE) + +clean: + -$(RM) $(LIB_NAME) $(LIB_OBJS) + -$(RM) $(TST_NAME) $(TST_OBJS) + -$(RM) -r .libs >/dev/null 2>&1 || $(TRUE) + -$(RM) *.o *.lo + +distclean: clean + -$(RM) config.log config.status config.cache + -$(RM) Makefile config.h ex-config + -$(RM) libtool + +realclean: distclean + -$(RM) configure config.h.in + -$(RM) shtool + -$(RM) ltmain.sh libtool.m4 config.guess config.sub + Index: ossp-pkg/ex/README RCS File: /v/ossp/cvs/ossp-pkg/ex/README,v rcsdiff -q -kk '-r1.1' '-r1.2' -u '/v/ossp/cvs/ossp-pkg/ex/README,v' 2>/dev/null --- README 2002/01/25 15:25:51 1.1 +++ README 2002/01/26 20:12:19 1.2 @@ -1 +1,56 @@ + _____ __ + / _ \ \/ / + | __/> < + \___/_/\_\ + + OSSP ex - Exception Handling Library + Version 0.1.0 (26-Jan-2002) + + ABSTRACT + + The OSSP ex library is a small ISO-C++ style exception handling + library for use in the ISO-C language. It allows you to use the + paradigm of throwing and catching exceptions in order to reduce the + amount of error handling code in without making your program less + robust. This is achieved by directly transferring exceptional return + codes (and the program control flow) from the location where it was + raised (throw point) to the location where it is handled (catch point) + - usually from a deeply nested sub-routine to a parent routine. All + intermediate routines no longer have to make sure that the exceptional + return codes from sub-routines are correctly passed back to the + parent. + + COPYRIGHT AND LICENSE + + Copyright (c) 2002 Ralf S. Engelschall + Copyright (c) 2002 The OSSP Project + Copyright (c) 2002 Cable & Wireless Deutschland + + This file is part of OSSP ex, an exception handling library which + can be found at http://www.ossp.org/pkg/ex/. + + Permission to use, copy, modify, and distribute this software for + any purpose with or without fee is hereby granted, provided that + the above copyright notice and this permission notice appear in all + copies. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF + USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + + HOME AND DOCUMENTATION + + The documentation and latest release can be found on + + o http://www.ossp.org/pkg/ex/ + o ftp://ftp.ossp.org/pkg/ex/ Index: ossp-pkg/ex/TODO RCS File: /v/ossp/cvs/ossp-pkg/ex/Attic/TODO,v rcsdiff -q -kk '-r1.3' '-r1.4' -u '/v/ossp/cvs/ossp-pkg/ex/Attic/TODO,v' 2>/dev/null --- TODO 2002/01/25 22:23:17 1.3 +++ TODO 2002/01/26 20:12:19 1.4 @@ -1,3 +1,2 @@ -- devtool environment - test thread examples - overhault ex_text.c Index: ossp-pkg/ex/VERSION RCS File: /v/ossp/cvs/ossp-pkg/ex/VERSION,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/ex/VERSION,v' | diff -u /dev/null - -L'ossp-pkg/ex/VERSION' 2>/dev/null --- ossp-pkg/ex/VERSION +++ - 2024-05-09 00:31:10.160403140 +0200 @@ -0,0 +1,6 @@ + + VERSION -- Version Information for OSSP ex (syntax: Text) + [automatically generated and maintained by GNU shtool] + + This is OSSP ex, Version 0.1.0 (26-Jan-2002) + Index: ossp-pkg/ex/aclocal.m4 RCS File: /v/ossp/cvs/ossp-pkg/ex/aclocal.m4,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/ex/aclocal.m4,v' | diff -u /dev/null - -L'ossp-pkg/ex/aclocal.m4' 2>/dev/null --- ossp-pkg/ex/aclocal.m4 +++ - 2024-05-09 00:31:10.162960819 +0200 @@ -0,0 +1,117 @@ +dnl ## +dnl ## SA - OSSP Socket Abstraction Library +dnl ## Copyright (c) 2001-2002 Ralf S. Engelschall +dnl ## Copyright (c) 2001-2002 The OSSP Project +dnl ## Copyright (c) 2001-2002 Cable & Wireless Deutschland +dnl ## +dnl ## This file is part of OSSP SA, a socket abstraction library which +dnl ## can be found at http://www.ossp.org/pkg/sa/. +dnl ## +dnl ## Permission to use, copy, modify, and distribute this software for +dnl ## any purpose with or without fee is hereby granted, provided that +dnl ## the above copyright notice and this permission notice appear in all +dnl ## copies. +dnl ## +dnl ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED +dnl ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +dnl ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +dnl ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR +dnl ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +dnl ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +dnl ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +dnl ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +dnl ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +dnl ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +dnl ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +dnl ## SUCH DAMAGE. +dnl ## +dnl ## aclocal.m4: GNU Autoconf local macro definitions +dnl ## + +dnl ## +dnl ## Check whether compiler option works +dnl ## +dnl ## configure.in: +dnl ## AC_COMPILER_OPTION(, ,