Index: ossp-pkg/l2/ChangeLog RCS File: /v/ossp/cvs/ossp-pkg/l2/ChangeLog,v co -q -kk -p'1.31' '/v/ossp/cvs/ossp-pkg/l2/ChangeLog,v' | diff -u /dev/null - -L'ossp-pkg/l2/ChangeLog' 2>/dev/null --- ossp-pkg/l2/ChangeLog +++ - 2024-04-26 22:31:31.181167025 +0200 @@ -0,0 +1,154 @@ + _ ___ ____ ____ ____ _ ____ + |_|_ _ / _ \/ ___/ ___|| _ \ | |___ \ + _|_||_| | | | \___ \___ \| |_) | | | __) | + |_||_|_| | |_| |___) |__) | __/ | |/ __/ + |_|_|_| \___/|____/____/|_| |_|_____| + + OSSP l2 -- Flexible Logging + + ChangeLog + ========= + + Changes between 0.9.10 and 0.9.11 (18-Feb-2005 to 03-Oct-2005) + + *) Upgraded build environment to GNU shtool 2.0.3 and + GNU libtool 1.5.20. + [Ralf S. Engelschall ] + + *) Imported OSSP sa 1.2.6 + [Ralf S. Engelschall ] + + *) Apply PCRE security fix (CAN-2005-2491, partially only) + [Ralf S. Engelschall ] + + Changes between 0.9.9 and 0.9.10 (01-Feb-2005 to 18-Feb-2005) + + *) Synchronize l2_ut_format.[ch] with OSSP cfg and especially + now use va_copy for va_list copying for better portability. + [Ralf S. Engelschall ] + + *) Resolve trunc symbol conflict; make sure configure checks for + isnan and isinf and l2_ut_format picks up the results' + [Thomas Lotterer ] + + *) Remove local getopt() declarations from l2tool.c for portability. + [Ralf S. Engelschall ] + + *) Fix compile warnings for Flex generation code by using the + %options nounput, noyy_top_state and nounistd. + [Ralf S. Engelschall ] + + *) Fix compile warnings related to sigaction()'s sa_handler. + [Ralf S. Engelschall ] + + *) Add va_copy() Autoconf checks to make va_list copying portable. + [Ralf S. Engelschall ] + + *) Accept new GNU Bison 2.0 + [Ralf S. Engelschall ] + + Changes between 0.9.8 and 0.9.9 (24-Apr-2004 to 01-Feb-2005) + + *) Import OSSP sa 1.2.4 + [Thomas Lotterer ] + + *) Upgraded build environment to GNU shtool 2.0.1 and + GNU libtool 1.5.10. + [Ralf S. Engelschall ] + + *) Adjust copyright messages for new year 2005. + [Ralf S. Engelschall ] + + Changes between 0.9.7 and 0.9.8 (22-Apr-2004 to 22-Apr-2004) + + *) Change devtool.conf %import of OSSP sa to inject a faked + HAVE_CONFIG_H. This unbreaks preprocessor conditions and fixes + building on Solaris 2.6 + [Thomas Lotterer ] + + Changes between 0.9.6 and 0.9.7 (21-Apr-2004 to 22-Apr-2004) + + *) Replace modf(3) calls in l2_ut_format.c with a hand-crafted + inlined l2_util_modf() function to avoid dependency to external + libm on systems where modf(3) is not part of libc, i.e. Tru64 and + QNX. Reported by Karl Vogel. + [Ralf S. Engelschall ] + + Changes between 0.9.5 and 0.9.6 (10-Nov-2003 to 21-Apr-2004) + + *) Create devtool.conf %import and import OSSP sa 1.2.0 + [Thomas Lotterer ] + + Changes between 0.9.4 and 0.9.5 (25-Sep-2003 to 10-Nov-2003) + + *) Remove log0...4 macros + [Thomas Lotterer ] + + *) Minor adjustments porting to OpenDarwin 6.6 + [Thomas Lotterer ] + + *) Fix Problem where l2 does not terminate a message when it + contains a \n so if previous message was longer the part between + \n and the end of the previous message is repeated in the current + message. + http://cvs.ossp.org/tktview?tn=23 + [Thomas Lotterer ] + + *) Added bison-locations option to scanner, fixing the missing + reentrant yylloc with flex-2.5.31. + [Michael Schloh ] + + Changes between 0.9.3 and 0.9.4 (15-Sep-2003 to 25-Sep-2003) + + *) Change jitter option in file channel from flag to count. + [Thomas Lotterer ] + + *) Add monitor option to file channel. + [Thomas Lotterer ] + + Changes between 0.9.2 and 0.9.3 (30-Jun-2003 to 15-Sep-2003) + + *) Make sure prefix channel does atomar downstream writes + [Ralf S. Engelschall ] + + Changes between 0.9.1 and 0.9.2 (11-Oct-2002 to 30-Jun-2003) + + *) Introduce "trunc=" option for file channel; keep support for + obsolete "append" option. + [Thomas Lotterer ] + + *) Change default mode for file channel to "append". + [Thomas Lotterer ] + + *) Fix array too small by one element bug in fd and file channels. + [Thomas Lotterer ] + + *) Add jitter option to file channel. + [Thomas Lotterer ] + + Changes between 0.9.0 and 0.9.1 (30-Jul-2002 to 11-Oct-2003) + + *) Changed "filedescriptor" to "fs" in file descriptor channel + configuration. + [Thomas Lotterer ] + + *) Upgraded to GNU autoconf 2.54. + [Ralf S. Engelschall ] + + *) Simplify install/uninstall Makefile targets + [Ralf S. Engelschall ] + + *) Fixed uname(3) usage in prefix channel. + [Ralf S. Engelschall ] + + *) Fixed memory leak in l2_util_vasprintf(). + [Ralf S. Engelschall ] + + *) Upgraded to latest OSSP sa. + [Ralf S. Engelschall ] + + Changes between *GENESIS* and 0.9.0 (30-Jul-2002 to 30-Jul-2002) + + *) Initial release. + [Ralf S. Engelschall ] + Index: ossp-pkg/l2/l2_ut_sa.c RCS File: /v/ossp/cvs/ossp-pkg/l2/l2_ut_sa.c,v rcsdiff -q -kk '-r1.28' '-r1.29' -u '/v/ossp/cvs/ossp-pkg/l2/l2_ut_sa.c,v' 2>/dev/null --- l2_ut_sa.c 2005/10/03 08:00:16 1.28 +++ l2_ut_sa.c 2005/10/03 08:20:18 1.29 @@ -217,7 +217,6 @@ SA_SC_DECLARE_3(ssize_t, write, int, const void *, size_t) SA_SC_DECLARE_6(ssize_t, recvfrom, int, void *, size_t, int, struct sockaddr *, socklen_t *) SA_SC_DECLARE_6(ssize_t, sendto, int, const void *, size_t, int, const struct sockaddr *, socklen_t) - SA_SC_DECLARE_1(struct hostent *, gethostbyname, const char *name) } sa_syscall_tab_t; /* socket option information */ @@ -655,7 +654,7 @@ sf = AF_INET6; } #endif - else if ((he = SA_SC_CALL_1(sa, gethostbyname, cpHost)) != NULL) { + else if ((he = gethostbyname(cpHost)) != NULL) { if (he->h_addrtype == AF_INET) { sa4.sin_family = AF_INET; sa4.sin_port = htons(nPort); @@ -1185,7 +1184,6 @@ SA_SC_ASSIGN(sa, write, write, NULL); SA_SC_ASSIGN(sa, recvfrom, recvfrom, NULL); SA_SC_ASSIGN(sa, sendto, sendto, NULL); - SA_SC_ASSIGN(sa, gethostbyname, gethostbyname, NULL); /* pass object to caller */ *sap = sa; @@ -1415,7 +1413,6 @@ case SA_SYSCALL_WRITE: SA_SC_ASSIGN(sa, write, fptr, fctx); break; case SA_SYSCALL_RECVFROM: SA_SC_ASSIGN(sa, recvfrom, fptr, fctx); break; case SA_SYSCALL_SENDTO: SA_SC_ASSIGN(sa, sendto, fptr, fctx); break; - case SA_SYSCALL_GETHOSTBYNAME: SA_SC_ASSIGN(sa, gethostbyname, fptr, fctx); break; default: rv = SA_ERR_ARG; } @@ -1659,7 +1656,6 @@ SA_SC_COPY((*csa), sa, write); SA_SC_COPY((*csa), sa, recvfrom); SA_SC_COPY((*csa), sa, sendto); - SA_SC_COPY((*csa), sa, gethostbyname); /* copy-over original timeout values */ for (i = 0; i < (int)(sizeof(sa->tvTimeout)/sizeof(sa->tvTimeout[0])); i++) { Index: ossp-pkg/l2/l2_ut_sa.h RCS File: /v/ossp/cvs/ossp-pkg/l2/l2_ut_sa.h,v rcsdiff -q -kk '-r1.25' '-r1.26' -u '/v/ossp/cvs/ossp-pkg/l2/l2_ut_sa.h,v' 2>/dev/null --- l2_ut_sa.h 2005/10/03 08:00:16 1.25 +++ l2_ut_sa.h 2005/10/03 08:20:18 1.26 @@ -157,8 +157,7 @@ SA_SYSCALL_READ, SA_SYSCALL_WRITE, SA_SYSCALL_RECVFROM, - SA_SYSCALL_SENDTO, - SA_SYSCALL_GETHOSTBYNAME + SA_SYSCALL_SENDTO } sa_syscall_t; /* unique library identifier */