diff --git a/.gitattributes b/.gitattributes index 9cf3c5b34a1f495f1a66bb9f9d862b256235fbd8..7aa166254673419c1aa537e46aaddd870a1b358f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -59,7 +59,9 @@ testfont binary /lib/modules/Sql.pmod/sql.pike foreign_ident /lib/modules/Sql.pmod/sql_result.pike foreign_ident /lib/modules/Standards.pmod/ASN1.pmod/decode.pike foreign_ident +/src/Makefile.in foreign_ident /src/backend.c foreign_ident +/src/block_alloc.h foreign_ident /src/builtin_functions.c foreign_ident /src/configure.in foreign_ident /src/docode.c foreign_ident @@ -103,6 +105,7 @@ testfont binary /src/modules/Image/x.c foreign_ident /src/modules/MIME/mime.c foreign_ident /src/modules/MIME/module.pmod.in foreign_ident +/src/modules/Makefile.in foreign_ident /src/modules/Msql/configure.in foreign_ident /src/modules/Msql/msql_config.h.in foreign_ident /src/modules/Msql/msqlmod.c foreign_ident @@ -145,6 +148,8 @@ testfont binary /src/modules/_Crypto/idea.pike foreign_ident /src/modules/_Crypto/include/des.h foreign_ident /src/modules/_Crypto/invert.c foreign_ident +/src/modules/_Crypto/lib/Makefile.in foreign_ident +/src/modules/_Crypto/lib/configure.in foreign_ident /src/modules/_Crypto/lib/desCode.h foreign_ident /src/modules/_Crypto/lib/desKerb.c foreign_ident /src/modules/_Crypto/lib/desQuick.c foreign_ident @@ -153,32 +158,65 @@ testfont binary /src/modules/_Crypto/lib/descore.README foreign_ident /src/modules/_Crypto/lib/desdata.c foreign_ident /src/modules/_Crypto/lib/desinfo.h foreign_ident +/src/modules/_Crypto/lib/idea.c foreign_ident +/src/modules/_Crypto/lib/install-sh foreign_ident +/src/modules/_Crypto/lib/md5.c foreign_ident /src/modules/_Crypto/lib/rc4.c foreign_ident +/src/modules/_Crypto/lib/sha.c foreign_ident /src/modules/_Crypto/md2.c foreign_ident /src/modules/_Crypto/md5.c foreign_ident /src/modules/_Crypto/md5.pike foreign_ident /src/modules/_Crypto/pipe.c foreign_ident /src/modules/_Crypto/rc4.c foreign_ident /src/modules/_Crypto/test_crypto.pike foreign_ident +/src/modules/_Image_JPEG/Makefile.in foreign_ident /src/modules/_Image_JPEG/acconfig.h foreign_ident +/src/modules/_Image_JPEG/configure.in foreign_ident +/src/modules/_Image_JPEG/image_jpeg.c foreign_ident /src/modules/_Image_PNG/acconfig.h foreign_ident /src/modules/_Image_PNG/image_png.c foreign_ident /src/modules/_Image_XFace/acconfig.h foreign_ident /src/modules/_Image_XFace/image_xface.c foreign_ident +/src/modules/call_out/Makefile.in foreign_ident /src/modules/call_out/call_out.c foreign_ident +/src/modules/call_out/configure.in foreign_ident /src/modules/call_out/test_co.pike foreign_ident /src/modules/dynamic_module_makefile.in foreign_ident +/src/modules/files/Makefile.in foreign_ident /src/modules/files/acconfig.h foreign_ident +/src/modules/files/configure.in foreign_ident /src/modules/files/datagram.c foreign_ident +/src/modules/files/efuns.c foreign_ident /src/modules/files/file.c foreign_ident +/src/modules/files/file.h foreign_ident +/src/modules/files/socket.c foreign_ident /src/modules/files/socktest.pike foreign_ident +/src/modules/math/Makefile.in foreign_ident +/src/modules/math/configure.in foreign_ident +/src/modules/math/math.c foreign_ident +/src/modules/readline/Makefile.in foreign_ident /src/modules/readline/acconfig.h foreign_ident +/src/modules/readline/configure.in foreign_ident +/src/modules/readline/readlinemod.c foreign_ident +/src/modules/spider/Makefile.in foreign_ident +/src/modules/spider/accesseddb.c foreign_ident /src/modules/spider/accesseddb.h foreign_ident +/src/modules/spider/acconfig.h foreign_ident +/src/modules/spider/configure.in foreign_ident +/src/modules/spider/defs.h foreign_ident +/src/modules/spider/discdate.c foreign_ident /src/modules/spider/dumudp.c foreign_ident /src/modules/spider/spider.c foreign_ident +/src/modules/spider/stardate.c foreign_ident +/src/modules/spider/streamed_parser.c foreign_ident +/src/modules/spider/streamed_parser.h foreign_ident +/src/modules/sprintf/Makefile.in foreign_ident +/src/modules/sprintf/configure.in foreign_ident /src/modules/sprintf/sprintf.c foreign_ident /src/modules/static_module_makefile.in foreign_ident +/src/modules/system/Makefile.in foreign_ident /src/modules/system/acconfig.h foreign_ident +/src/modules/system/configure.in foreign_ident /src/modules/system/passwords.c foreign_ident /src/modules/system/syslog.c foreign_ident /src/modules/system/system.c foreign_ident @@ -187,5 +225,7 @@ testfont binary /src/operators.c foreign_ident /src/pike_types.c foreign_ident /src/program.c foreign_ident +/src/program_areas.h foreign_ident +/src/test/create_testsuite foreign_ident /src/testsuite.in foreign_ident /src/threads.c foreign_ident diff --git a/src/Makefile.in b/src/Makefile.in index 033629ee68f9f13fa862fc1c07a15cfc62782197..66c3cf9c93e7d107700768b09e91975abeef886d 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -1,3 +1,7 @@ +# +# $Id: Makefile.in,v 1.65 1998/03/28 13:39:52 grubba Exp $ +# + # This line is needed on some machines. @SET_MAKE@ @@ -67,7 +71,7 @@ AR=@AR@ LD=@LD@ LDFLAGS=$(CFLAGS) @LDFLAGS@ @LINKFORSHARED@ -RUNPIKE=$(TMP_BUILDDIR)/pike -m $(TMP_LIBDIR)/master.pike $(PIKEOPTS) +RUNPIKE=$(TMP_BUILDDIR)/pike -m $(TMP_LIBDIR)/master.pike -M$(LIBDIR_SRC)/modules -I$(LIBDIR_SRC)/include $(PIKEOPTS) MOST_MAKE_FLAGS = "prefix=$(prefix)" "exec_prefix=$(exec_prefix)" "CC=$(CC)" "TMP_BINDIR=$(TMP_BINDIR)" "DEFINES=$(DEFINES)" "TMP_LIBDIR=$(TMP_LIBDIR)" "RUNPIKE=$(RUNPIKE)" "INSTALL=$(INSTALL)" "NOOPTFLAGS=$(NOOPTFLAGS)" "AR=$(AR)" MAKE_FLAGS = $(MOST_MAKE_FLAGS) "OTHERFLAGS=$(OTHERFLAGS)" @@ -122,7 +126,7 @@ OBJ= \ # -all: module_objects +all: module_objects hilfe $(MAKE) $(MAKE_FLAGS) pike pike: $(OBJ) compile_interpret modules/linker_options @@ -144,6 +148,19 @@ quant: $(OBJ) compile_interpret module_objects -@mv pike pike.old 2>/dev/null || true $(SMARTLINK) quantify $(REALCC) $(LDFLAGS) $(OBJ) interpret.o `cat modules/linker_options` $(LIBS) -o pike + +hilfe: $(TMP_BINDIR)/hilfe Makefile + @echo "Creating ./hilfe..."; \ + if [ "$(exec_prefix)" != "/usr/local/bin" -a \ + "$(exec_prefix)" != "/usr/local/bin/" ]; then \ + ( sed -e 's!/usr/local/bin!$(exec_prefix)!' <$(TMP_BINDIR)/hilfe \ + >./hilfe && chmod 755 ./hilfe) || exit 1 ; \ + else \ + $(INSTALL) $(TMP_BINDIR)/hilfe . || exit 1; \ + fi + @echo "Done." + + # Several optimizers have problems with interpret.c # First try compiling with optimization and if that doesn't work, without. compile_interpret : force @@ -181,24 +198,27 @@ install: else \ if [ -f "$(exec_prefix)/pike" ]; then \ echo Renaming old "$(exec_prefix)/pike" to "$(exec_prefix)/pike.old"; \ - mv -f "$(exec_prefix)/pike" "$(exec_prefix)/pike.old"; \ + mv -f "$(exec_prefix)/pike" "$(exec_prefix)/pike.old" || exit 1; \ else : ; fi ; \ - echo "$(exec_prefix)/pike"; $(INSTALL) ./pike $(exec_prefix) ; \ + echo "$(exec_prefix)/pike"; \ + $(INSTALL) ./pike $(exec_prefix) || exit 1; \ + chmod a+rx $(exec_prefix)/pike; \ + chmod u+w $(exec_prefix)/pike; \ fi - @if [ -f $(SRCDIR)/../bin/hilfe ]; then \ - echo ; echo "Installing $(exec_prefix)/hilfe..."; \ - if [ "$(exec_prefix)" != "/usr/local/bin" -a \ - "$(exec_prefix)" != "/usr/local/bin/" ]; then \ + @if [ -f ./hilfe ]; then \ + echo ; echo "Installing hilfe..."; \ + if cmp "$(exec_prefix)/hilfe" $(TMP_BINDIR)/hilfe >/dev/null 2>&1 ; \ + then + echo "$(exec_prefix)/hilfe already installed." ; \ + else if [ -f $(exec_prefix)/hilfe ]; then \ - mv $(exec_prefix)/hilfe $(exec_prefix)/hilfe.old; \ - else : ; fi && \ - ( sed -e 's!/usr/local/bin!$(exec_prefix)!' <$(TMP_BINDIR)/hilfe \ - >./hilfe && chmod 755 ./hilfe && $(INSTALL) ./hilfe $(exec_prefix) ) || exit 1\ - else \ + mv $(exec_prefix)/hilfe $(exec_prefix)/hilfe.old || exit 1; \ + else : ; fi; \ + echo "$(exec_prefix)/hilfe"; \ $(INSTALL) $(TMP_BINDIR)/hilfe $(exec_prefix) || exit 1; \ + chmod a+rx $(exec_prefix)/hilfe; \ + chmod u+w $(exec_prefix)/hilfe; \ fi; \ - chmod a+rx $(exec_prefix)/hilfe; \ - chmod u+w $(exec_prefix)/hilfe; \ else : ; fi @echo ; echo "Installing header-files..."; \ for a in $(SRCDIR)/*.h *.h ; do \ @@ -287,11 +307,26 @@ run_hilfe: feature_list: $(RUNPIKE) $(TMP_BINDIR)/feature_list -lib: $(LIBDIR_SRC) $(LIBDIR_SRC)/master.pike $(LIBDIR_SRC)/modules $(LIBDIR_SRC)/include - cp -r $(LIBDIR_SRC) . - -cvs_dirs="`find lib -type d -name CVS`"; if test "x$$cvs_dirs" = "x" ; then : ; else rm -r $$cvs_dirs; fi - -for f in `find lib -type f -name '*~'` `find lib -type f -name '.#*'` `find lib -type f -name '#*#'`; do rm $$f; done - -touch ./lib 2>/dev/null || (touch lib/.broken_gnu_touch && rm lib/.broken_gnu_touch) +lib: $(LIBDIR_SRC)/master.pike.in Makefile + @for d in lib lib/modules lib/include; do \ + if [ -d $$d/. ]; then : ; else \ + echo "Creating $$d/."; \ + (mkdir $$d && chmod u+rwx $$d) || exit 1; \ + fi ; \ + done + @if [ -d share/. ]; then : ; else \ + echo "Creating symlink ./share"; \ + if ls share >/dev/null 2>&1; then \ + echo "Renaming share to share.old"; \ + mv share share.old || exit 1; \ + else : ; fi; \ + ln -s "$(LIBDIR_SRC)" ./share || exit 1; \ + fi + @echo "Creating lib/master.pike"; \ + ( sed -e 's!¤exec_prefix¤!$(exec_prefix)!' <$(LIBDIR_SRC)/master.pike.in \ + >./lib/master.pike && chmod 644 ./lib/master.pike) || exit 1 + @echo "Done." + -@touch ./lib 2>/dev/null || (touch lib/.broken_gnu_touch && rm lib/.broken_gnu_touch) # make export archive (requires compiled Pike) # Do not compile in source tree if you want to use this! diff --git a/src/block_alloc.h b/src/block_alloc.h index 0b38f66fdfce47b3bae10ca0305a295d7b28dbbd..5a6ebfd498d1f35d0697cc41b707176bedee0367 100644 --- a/src/block_alloc.h +++ b/src/block_alloc.h @@ -1,3 +1,4 @@ +/* $Id: block_alloc.h,v 1.4 1998/03/28 13:38:09 grubba Exp $ */ #define PRE_INIT_BLOCK(X) #define INIT_BLOCK(X) #define EXIT_BLOCK(X) diff --git a/src/modules/Makefile.in b/src/modules/Makefile.in index 2de628b58b5825fd991d4cbb918de1b301cf18b3..58211e0576717ee986f56324e1ba42bdd4e6732d 100644 --- a/src/modules/Makefile.in +++ b/src/modules/Makefile.in @@ -1,3 +1,5 @@ +# $Id: Makefile.in,v 1.16 1998/03/28 13:43:42 grubba Exp $ + @SET_MAKE@ CC=@CC@ diff --git a/src/modules/_Crypto/lib/Makefile.in b/src/modules/_Crypto/lib/Makefile.in index b5584ab7804fd9e0c807c2c194bc39a1bd3fc606..1e22c606e8b3b6434b42516182b926a640d149da 100644 --- a/src/modules/_Crypto/lib/Makefile.in +++ b/src/modules/_Crypto/lib/Makefile.in @@ -1,3 +1,5 @@ +# $Id: Makefile.in,v 1.18 1998/03/28 14:01:44 grubba Exp $ +# # Makefile for low-level crypto library CC=@CC@ diff --git a/src/modules/_Crypto/lib/configure.in b/src/modules/_Crypto/lib/configure.in index a4a00fdf94ed987613819c20840487e53087235c..38e172ecd43134fe4ce1b9422d2681437535ff6f 100755 --- a/src/modules/_Crypto/lib/configure.in +++ b/src/modules/_Crypto/lib/configure.in @@ -1,3 +1,4 @@ +# $Id: configure.in,v 1.5 1998/03/28 14:04:12 grubba Exp $ AC_INIT(sha.c) AC_PROG_CC diff --git a/src/modules/_Crypto/lib/idea.c b/src/modules/_Crypto/lib/idea.c index 097168eea6c0e7cf7a18f62296ae386e899a7988..9c3dda4e326af90d5e544800cfff3b98fd625020 100644 --- a/src/modules/_Crypto/lib/idea.c +++ b/src/modules/_Crypto/lib/idea.c @@ -1,4 +1,6 @@ -/* The basic IDEA transformation +/* $Id: idea.c,v 1.5 1998/03/28 14:03:53 grubba Exp $ + * + * The basic IDEA transformation * * This implementation is taken from pgp, see note below. * diff --git a/src/modules/_Crypto/lib/install-sh b/src/modules/_Crypto/lib/install-sh index 501e709861a614ee60e057c99eb4c72786fb0ff1..a86d801bbe63d9b7599bfbd21025da7ddaa9b46e 100755 --- a/src/modules/_Crypto/lib/install-sh +++ b/src/modules/_Crypto/lib/install-sh @@ -1,5 +1,7 @@ #! /bin/sh # +# $Id: install-sh,v 1.2 1998/03/28 14:02:58 grubba Exp $ +# # install - install a program, script, or datafile # This comes from X11R5. # diff --git a/src/modules/_Crypto/lib/md5.c b/src/modules/_Crypto/lib/md5.c index efded6db6bff2cbfa8fd4ca0754e561ef0929247..4586cacb34ea8658cd6dc3340f17be7afce22d35 100644 --- a/src/modules/_Crypto/lib/md5.c +++ b/src/modules/_Crypto/lib/md5.c @@ -1,4 +1,6 @@ /* + * $Id: md5.c,v 1.3 1998/03/28 14:03:24 grubba Exp $ + * * md5.c : Implementation of the MD5 hash function * * Part of the Python Cryptography Toolkit, version 1.0.1 diff --git a/src/modules/_Crypto/lib/sha.c b/src/modules/_Crypto/lib/sha.c index 56834ef9c411bff815a02b23912777cafbee9587..829d12c97e2573b2ef2a9435fac3af84628bacfc 100644 --- a/src/modules/_Crypto/lib/sha.c +++ b/src/modules/_Crypto/lib/sha.c @@ -9,6 +9,8 @@ * Adapted to pike and some cleanup by Niels Möller. */ +/* $Id: sha.c,v 1.7 1998/03/28 14:02:09 grubba Exp $ */ + /* SHA: NIST's Secure Hash Algorithm */ /* Based on SHA code originally posted to sci.crypt by Peter Gutmann diff --git a/src/modules/_Image_JPEG/Makefile.in b/src/modules/_Image_JPEG/Makefile.in index 0442dfeec34299e23ca01f349a4ee9171357b921..3dd8e4730cd57089876b620b5d3b7b0a945cbcb3 100644 --- a/src/modules/_Image_JPEG/Makefile.in +++ b/src/modules/_Image_JPEG/Makefile.in @@ -1,3 +1,4 @@ +# $Id: Makefile.in,v 1.2 1998/03/28 13:46:20 grubba Exp $ SRCDIR=@srcdir@ VPATH=@srcdir@:@srcdir@/../..:../.. OBJS=image_jpeg.o diff --git a/src/modules/_Image_JPEG/configure.in b/src/modules/_Image_JPEG/configure.in index 3e85347158db2e725ba99f83d57236fd121452bf..2d5a5c502b3548aa43d00e0840fe9ad20e528a28 100644 --- a/src/modules/_Image_JPEG/configure.in +++ b/src/modules/_Image_JPEG/configure.in @@ -1,3 +1,6 @@ +# +# $Id: configure.in,v 1.3 1998/03/28 13:44:57 grubba Exp $ +# AC_INIT(image_jpeg.c) AC_CONFIG_HEADER(config.h) AC_ARG_WITH(jpeglib, [ --with(out)-jpeglib Support JPEG (Image.JPEG)],[],[with_jpeglib=yes]) diff --git a/src/modules/_Image_JPEG/image_jpeg.c b/src/modules/_Image_JPEG/image_jpeg.c index fcff7b887dd90141a810fe18c98aef4438741e37..e62179479027dc1498c32813b291f40e78995159 100644 --- a/src/modules/_Image_JPEG/image_jpeg.c +++ b/src/modules/_Image_JPEG/image_jpeg.c @@ -1,3 +1,7 @@ +/* + * $Id: image_jpeg.c,v 1.12 1998/03/28 13:44:34 grubba Exp $ + */ + #include "config.h" #if !defined(HAVE_LIBJPEG) diff --git a/src/modules/call_out/Makefile.in b/src/modules/call_out/Makefile.in index 4a6d70ec6928f8ccab4c76a5b289ea20c94f1afc..eac5c7bc71398f85f315f49ff2b12da83de22509 100644 --- a/src/modules/call_out/Makefile.in +++ b/src/modules/call_out/Makefile.in @@ -1,3 +1,4 @@ +# $Id: Makefile.in,v 1.6 1998/03/28 14:01:17 grubba Exp $ SRCDIR=@srcdir@ VPATH=@srcdir@:@srcdir@/../..:../.. OBJS=call_out.o diff --git a/src/modules/call_out/configure.in b/src/modules/call_out/configure.in index 1f61a2b1f2160a5c900317ef3a85a3f240860756..ac84937bd9e0691de748760befa370d0dd6ff487 100644 --- a/src/modules/call_out/configure.in +++ b/src/modules/call_out/configure.in @@ -1,3 +1,4 @@ +# $Id: configure.in,v 1.5 1998/03/28 14:01:02 grubba Exp $ AC_INIT(call_out.c) sinclude(../module_configure.in) diff --git a/src/modules/files/Makefile.in b/src/modules/files/Makefile.in index 66913b89b26b81e5f5db4875def8ea674e0c8bf8..ead1c056d90e3ed0ee080e250e7f2aa5292df039 100644 --- a/src/modules/files/Makefile.in +++ b/src/modules/files/Makefile.in @@ -1,3 +1,4 @@ +# $Id: Makefile.in,v 1.6 1998/03/28 14:00:45 grubba Exp $ SRCDIR=@srcdir@ VPATH=@srcdir@:@srcdir@/../..:../.. OBJS=file.o efuns.o socket.o diff --git a/src/modules/files/configure.in b/src/modules/files/configure.in index 9b50cef7bf4237c8c0d66b3040630600f0feddfe..e585d7ca4e6f476da7e6978217c5bd3f217d57d8 100644 --- a/src/modules/files/configure.in +++ b/src/modules/files/configure.in @@ -1,3 +1,4 @@ +# $Id: configure.in,v 1.43 1998/03/28 13:59:09 grubba Exp $ AC_INIT(file.c) AC_CONFIG_HEADER(file_machine.h) diff --git a/src/modules/files/efuns.c b/src/modules/files/efuns.c index 5bcbf5b2c8e2603ef98552037bae31f22ef9af03..b89ea31a8f093e8926a0eca3854e26b4fadc0834 100644 --- a/src/modules/files/efuns.c +++ b/src/modules/files/efuns.c @@ -22,6 +22,8 @@ #include "file_machine.h" #include "file.h" +RCSID("$Id: efuns.c,v 1.48 1998/03/28 13:58:53 grubba Exp $"); + #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> #endif diff --git a/src/modules/files/file.h b/src/modules/files/file.h index 967cd6c74e4f44b9fc65602fa6d96ed8d61bffec..35cab7dfaa1a67d9c9b43ca9afdc63a08fc00623 100644 --- a/src/modules/files/file.h +++ b/src/modules/files/file.h @@ -3,6 +3,11 @@ ||| Pike is distributed as GPL (General Public License) ||| See the files COPYING and DISCLAIMER for more information. \*/ + +/* + * $Id: file.h,v 1.9 1998/03/28 13:58:04 grubba Exp $ + */ + #ifndef FILE_H #define FILE_H diff --git a/src/modules/files/socket.c b/src/modules/files/socket.c index 8b103fc6e692f65c819330fcb67a7591ec752e1c..b84a8e2345db3aa25c9309e46055c372763e6bf3 100644 --- a/src/modules/files/socket.c +++ b/src/modules/files/socket.c @@ -18,6 +18,8 @@ #include "file_machine.h" #include "file.h" +RCSID("$Id: socket.c,v 1.31 1998/03/28 13:58:31 grubba Exp $"); + #ifdef HAVE_SYS_TYPE_H #include <sys/types.h> #endif diff --git a/src/modules/math/Makefile.in b/src/modules/math/Makefile.in index 71853f100c9e20ffb739b909e007d0de4c59151c..97e431445942eecba5097d943aeb55c6399164d5 100644 --- a/src/modules/math/Makefile.in +++ b/src/modules/math/Makefile.in @@ -1,3 +1,4 @@ +# $Id: Makefile.in,v 1.5 1998/03/28 13:57:26 grubba Exp $ SRCDIR=@srcdir@ VPATH=@srcdir@:@srcdir@/../..:../.. MODULE_LDFLAGS=@LIBS@ diff --git a/src/modules/math/configure.in b/src/modules/math/configure.in index 3795e0c145795474a692f8ceb9088acf2fcf425a..9b71f616bd3a648c9693d85ad2c3b088a90c57a4 100644 --- a/src/modules/math/configure.in +++ b/src/modules/math/configure.in @@ -1,3 +1,4 @@ +# $Id: configure.in,v 1.4 1998/03/28 13:57:09 grubba Exp $ AC_INIT(math.c) sinclude(../module_configure.in) diff --git a/src/modules/math/math.c b/src/modules/math/math.c index 28fef483b9c8ef394da52a1a5aaa44f68b297331..9eb2c79546d2fbb2f7797eaacd9a0852533cb68e 100644 --- a/src/modules/math/math.c +++ b/src/modules/math/math.c @@ -4,6 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include <math.h> +#include "global.h" #include "interpret.h" #include "constants.h" #include "svalue.h" @@ -11,10 +12,23 @@ #include "module_support.h" #include "operators.h" +RCSID("$Id: math.c,v 1.10 1998/03/28 13:56:48 grubba Exp $"); + #ifndef M_PI #define M_PI 3.1415926535897932384626433832795080 #endif +#ifndef NO_MATHERR +#ifdef HAVE_STRUCT_EXCEPTION + +int matherr(struct exception *exc) +{ + return 1; /* No error */ +} + +#endif /* HAVE_STRUCT_EXCEPTION */ +#endif /* !NO_MATHERR */ + void f_sin(INT32 args) { if(args<1) error("Too few arguments to sin()\n"); diff --git a/src/modules/readline/Makefile.in b/src/modules/readline/Makefile.in index d16c08f3ad4f3ceeb4f81f7becad5a073452eff9..866445a47d980e498ddedbdf7b654a698ab7a277 100644 --- a/src/modules/readline/Makefile.in +++ b/src/modules/readline/Makefile.in @@ -1,3 +1,4 @@ +# $Id: Makefile.in,v 1.2 1998/03/28 13:56:02 grubba Exp $ SRCDIR=@srcdir@ VPATH=@srcdir@:@srcdir@/../..:../.. MODULE_CPPFLAGS=@CPPFLAGS@ diff --git a/src/modules/readline/configure.in b/src/modules/readline/configure.in index 2d27610c9c5ff16709debbe3e480da6bd5f4ae60..b6c827e4514e0d963744b2074eff1fe181fafa03 100644 --- a/src/modules/readline/configure.in +++ b/src/modules/readline/configure.in @@ -1,3 +1,4 @@ +# $Id: configure.in,v 1.2 1998/03/28 13:55:46 grubba Exp $ AC_INIT(readlinemod.c) AC_CONFIG_HEADER(readline_machine.h) AC_ARG_WITH(readline,[ --with(out)-readline support command line editing],[],[with_readline=yes]) diff --git a/src/modules/readline/readlinemod.c b/src/modules/readline/readlinemod.c index d8bbb0716987f3be1315516751b18afef4c7792f..a8355ff67d4d08643015af24f1d469f0061b5e4b 100644 --- a/src/modules/readline/readlinemod.c +++ b/src/modules/readline/readlinemod.c @@ -13,6 +13,8 @@ #include "pike_macros.h" #include "threads.h" +RCSID("$Id: readlinemod.c,v 1.8 1998/03/28 13:54:12 grubba Exp $"); + #include <errno.h> #ifndef HAVE_LIBTERMCAP diff --git a/src/modules/spider/Makefile.in b/src/modules/spider/Makefile.in index 7d1fbad8221e44c978876581dcda4550adf00e91..0d17fd7dcbe2f77c387e71af942b52e2495b67a8 100644 --- a/src/modules/spider/Makefile.in +++ b/src/modules/spider/Makefile.in @@ -1,3 +1,4 @@ +# $Id: Makefile.in,v 1.14 1998/03/28 13:53:45 grubba Exp $ SRCDIR=@srcdir@ VPATH=@srcdir@:@srcdir@/../..:../.. OBJS=spider.o discdate.o stardate.o dumudp.o accesseddb.o diff --git a/src/modules/spider/accesseddb.c b/src/modules/spider/accesseddb.c index 98695a64128358243cab7c5179cbb1d73f5ba7ed..e9633fa9b1792b36be0e7599cff8ed215e5f2ee0 100644 --- a/src/modules/spider/accesseddb.c +++ b/src/modules/spider/accesseddb.c @@ -13,6 +13,8 @@ #include "error.h" #include "builtin_functions.h" +RCSID("$Id: accesseddb.c,v 1.14 1998/03/28 13:53:27 grubba Exp $"); + #include <stdio.h> #ifdef HAVE_SYS_UIO_H diff --git a/src/modules/spider/acconfig.h b/src/modules/spider/acconfig.h index 3010b217f87a3e725ae0ac0e3e8c8bd65e3885b7..57e749be6a0997605217e6246ea0b149b8c098fb 100644 --- a/src/modules/spider/acconfig.h +++ b/src/modules/spider/acconfig.h @@ -1,3 +1,4 @@ +/* $Id: acconfig.h,v 1.3 1998/03/28 13:53:03 grubba Exp $ */ /* Define this if you have an integer timezone. */ #undef HAVE_INT_TIMEZONE diff --git a/src/modules/spider/configure.in b/src/modules/spider/configure.in index 3d32656977e924b7c194b05307afa85ed976d314..847767dadb6024a01ac57686df26ce5035248468 100644 --- a/src/modules/spider/configure.in +++ b/src/modules/spider/configure.in @@ -1,3 +1,4 @@ +# $Id: configure.in,v 1.23 1998/03/28 13:52:29 grubba Exp $ AC_INIT(spider.c) AC_CONFIG_HEADER(config.h) diff --git a/src/modules/spider/defs.h b/src/modules/spider/defs.h index 888fa989fa0aef5e87cb3624764112decb582848..5294e6e625de5478204bff7ea438365d865946aa 100644 --- a/src/modules/spider/defs.h +++ b/src/modules/spider/defs.h @@ -1,2 +1,3 @@ +/* $Id: defs.h,v 1.4 1998/03/28 13:52:11 grubba Exp $ */ extern void f_discdate(INT32 argc); extern void f_stardate (INT32 args); diff --git a/src/modules/spider/discdate.c b/src/modules/spider/discdate.c index 022c757033d2eef270b8a1c9aaaff2e46b439135..df8905cd38b627ac1e115dc21f9077e08c3cc9f8 100644 --- a/src/modules/spider/discdate.c +++ b/src/modules/spider/discdate.c @@ -23,6 +23,8 @@ #include <string.h> #include <stdio.h> +RCSID("$Id: discdate.c,v 1.6 1998/03/28 13:51:48 grubba Exp $"); + struct disc_time { int season; /* 0-4 */ diff --git a/src/modules/spider/stardate.c b/src/modules/spider/stardate.c index cf05831fcdfb1e0676b72089eb30fd3818ff828b..cc529989fa486d982c1d858f202b99d03d21d30c 100644 --- a/src/modules/spider/stardate.c +++ b/src/modules/spider/stardate.c @@ -12,6 +12,8 @@ #include "builtin_functions.h" #include "error.h" +RCSID("$Id: stardate.c,v 1.7 1998/03/28 13:51:18 grubba Exp $"); + #ifdef HAVE_SYS_TIME_H #include <sys/time.h> #endif diff --git a/src/modules/spider/streamed_parser.c b/src/modules/spider/streamed_parser.c index 3f4bb47014971b00d7384e26d723777888057daa..7f8dc49781b4b0e7fe3cdc81d76d4464ee866d0b 100644 --- a/src/modules/spider/streamed_parser.c +++ b/src/modules/spider/streamed_parser.c @@ -19,6 +19,8 @@ #include "streamed_parser.h" +RCSID("$Id: streamed_parser.c,v 1.9 1998/03/28 13:50:37 grubba Exp $"); + #ifdef ENABLE_STREAMED_PARSER /* streamed SGML parser, by wing */ diff --git a/src/modules/spider/streamed_parser.h b/src/modules/spider/streamed_parser.h index de04daa6af7112a65a17ddbf2a670f346b01c4e7..a59ec4b8263fa0428f89017396eb1ae375848e99 100644 --- a/src/modules/spider/streamed_parser.h +++ b/src/modules/spider/streamed_parser.h @@ -1,3 +1,4 @@ +/* $Id: streamed_parser.h,v 1.3 1998/03/28 13:49:44 grubba Exp $ */ #ifndef STREAMED_PARSER_H #define STREAMED_PARSER_H diff --git a/src/modules/sprintf/Makefile.in b/src/modules/sprintf/Makefile.in index 1f1d823dbf058690279aa8b7e621cc7c1dd99520..767d1aae6eacc00478d20a897d0fd8e468525908 100644 --- a/src/modules/sprintf/Makefile.in +++ b/src/modules/sprintf/Makefile.in @@ -1,3 +1,4 @@ +# $Id: Makefile.in,v 1.6 1998/03/28 13:49:00 grubba Exp $ SRCDIR=@srcdir@ VPATH=@srcdir@:@srcdir@/../..:../.. OBJS=sprintf.o diff --git a/src/modules/sprintf/configure.in b/src/modules/sprintf/configure.in index a1593a9c61187726adce4e8064ae6c156d4c9e38..73f335cab1ef4197c022ed335de6a652501aa14f 100644 --- a/src/modules/sprintf/configure.in +++ b/src/modules/sprintf/configure.in @@ -1,3 +1,4 @@ +# $Id: configure.in,v 1.4 1998/03/28 13:48:43 grubba Exp $ AC_INIT(sprintf.c) sinclude(../module_configure.in) diff --git a/src/modules/system/Makefile.in b/src/modules/system/Makefile.in index d1c6888a9ce9c7e3e81a3ed418eeab0da3ff8bb5..2f257ac08571398c255930a103ff41b96204832a 100644 --- a/src/modules/system/Makefile.in +++ b/src/modules/system/Makefile.in @@ -1,3 +1,4 @@ +# $Id: Makefile.in,v 1.5 1998/03/28 13:48:22 grubba Exp $ SRCDIR=@srcdir@ VPATH=@srcdir@:@srcdir@/../..:../.. OBJS=system.o syslog.o passwords.o diff --git a/src/modules/system/configure.in b/src/modules/system/configure.in index 2430ac69c9c32ed21a11c7bea6621caba5148746..f25c52f78411950d2ce9dd7468da10efd0d23174 100644 --- a/src/modules/system/configure.in +++ b/src/modules/system/configure.in @@ -1,3 +1,4 @@ +# $Id: configure.in,v 1.20 1998/03/28 13:46:49 grubba Exp $ AC_INIT(system.c) AC_CONFIG_HEADER(system_machine.h) diff --git a/src/program_areas.h b/src/program_areas.h index e932bf85bd10c69565581681fd8927e605370700..fa70f82832166370b159ac57b42e42d7d7875505 100644 --- a/src/program_areas.h +++ b/src/program_areas.h @@ -1,3 +1,4 @@ +/* $Id: program_areas.h,v 1.3 1998/03/28 13:38:43 grubba Exp $ */ /* Who needs templates anyway? / Hubbe */ /* Program *must* be first! */ diff --git a/src/test/create_testsuite b/src/test/create_testsuite index bfd27e06e516216049e8ecfe129089a28e5432e7..c7febc16cc27c10ab192ef2bbbc267deec9fe0ce 100644 --- a/src/test/create_testsuite +++ b/src/test/create_testsuite @@ -1,5 +1,7 @@ divert(-1) +dnl $Id: create_testsuite,v 1.2 1998/03/28 13:43:12 grubba Exp $ +dnl dnl generates a script that is supposed to test Pike dnl note that not everything is tested yet, you are welcome to dnl submit more tests.