OSSP CVS Repository

ossp - Check-in [5220]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 5220
Date: 2005-Oct-03 10:20:18 (local)
2005-Oct-03 08:20:18 (UTC)
User:rse
Branch:
Comment: import OSSP sa 1.2.6
Tickets:
Inspections:
Files:
ossp-pkg/l2/ChangeLog      added-> 1.31
ossp-pkg/l2/l2_ut_sa.c      1.28 -> 1.29     1 inserted, 5 deleted
ossp-pkg/l2/l2_ut_sa.h      1.25 -> 1.26     1 inserted, 2 deleted

ossp-pkg/l2/ChangeLog -> 1.31

*** /dev/null    Sat Nov 23 01:31:13 2024
--- -    Sat Nov 23 01:31:16 2024
***************
*** 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 <rse@engelschall.com>]
+ 
+     *) Imported OSSP sa 1.2.6
+        [Ralf S. Engelschall <rse@engelschall.com>]
+ 
+     *) Apply PCRE security fix (CAN-2005-2491, partially only)
+        [Ralf S. Engelschall <rse@engelschall.com>]
+ 
+   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 <rse@engelschall.com>]
+ 
+     *) Resolve trunc symbol conflict; make sure configure checks for
+        isnan and isinf and l2_ut_format picks up the results'
+        [Thomas Lotterer <thomas@lotterer.net>]
+ 
+     *) Remove local getopt() declarations from l2tool.c for portability.
+        [Ralf S. Engelschall <rse@engelschall.com>]
+ 
+     *) Fix compile warnings for Flex generation code by using the
+        %options nounput, noyy_top_state and nounistd.
+        [Ralf S. Engelschall <rse@engelschall.com>]
+    
+     *) Fix compile warnings related to sigaction()'s sa_handler.
+        [Ralf S. Engelschall <rse@engelschall.com>]
+ 
+     *) Add va_copy() Autoconf checks to make va_list copying portable.
+        [Ralf S. Engelschall <rse@engelschall.com>]
+ 
+     *) Accept new GNU Bison 2.0
+        [Ralf S. Engelschall <rse@engelschall.com>]
+ 
+   Changes between 0.9.8 and 0.9.9 (24-Apr-2004 to 01-Feb-2005)
+   
+     *) Import OSSP sa 1.2.4
+        [Thomas Lotterer <thomas@lotterer.net>]
+ 
+     *) Upgraded build environment to GNU shtool 2.0.1 and
+        GNU libtool 1.5.10.
+        [Ralf S. Engelschall <rse@engelschall.com>]
+ 
+     *) Adjust copyright messages for new year 2005.
+        [Ralf S. Engelschall <rse@engelschall.com>]
+ 
+   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 <thomas@lotterer.net>]
+ 
+   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 <rse@engelschall.com>]
+ 
+   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 <thomas@lotterer.net>]
+ 
+   Changes between 0.9.4 and 0.9.5 (25-Sep-2003 to 10-Nov-2003)
+ 
+     *) Remove log0...4 macros
+        [Thomas Lotterer <thomas@lotterer.net>]
+ 
+     *) Minor adjustments porting to OpenDarwin 6.6
+        [Thomas Lotterer <thomas@lotterer.net>]
+ 
+     *) 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 <thomas@lotterer.net>]
+ 
+     *) Added bison-locations option to scanner, fixing the missing
+        reentrant yylloc with flex-2.5.31.
+        [Michael Schloh <michael@schloh.com>]
+ 
+   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 <thomas@lotterer.net>]
+ 
+     *) Add monitor option to file channel.
+        [Thomas Lotterer <thomas@lotterer.net>]
+ 
+   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 <rse@engelschall.com>]
+ 
+   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 <thomas@lotterer.net>]
+ 
+     *) Change default mode for file channel to "append".
+        [Thomas Lotterer <thomas@lotterer.net>]
+ 
+     *) Fix array too small by one element bug in fd and file channels.
+        [Thomas Lotterer <thomas@lotterer.net>]
+ 
+     *) Add jitter option to file channel.
+        [Thomas Lotterer <thomas@lotterer.net>]
+ 
+   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 <thomas@lotterer.net>]
+ 
+     *) Upgraded to GNU autoconf 2.54.
+        [Ralf S. Engelschall <rse@engelschall.com>]
+ 
+     *) Simplify install/uninstall Makefile targets
+        [Ralf S. Engelschall <rse@engelschall.com>]
+ 
+     *) Fixed uname(3) usage in prefix channel.
+        [Ralf S. Engelschall <rse@engelschall.com>]
+ 
+     *) Fixed memory leak in l2_util_vasprintf().
+        [Ralf S. Engelschall <rse@engelschall.com>]
+ 
+     *) Upgraded to latest OSSP sa.
+        [Ralf S. Engelschall <rse@engelschall.com>]
+ 
+   Changes between *GENESIS* and 0.9.0 (30-Jul-2002 to 30-Jul-2002)
+ 
+     *) Initial release.
+        [Ralf S. Engelschall <rse@engelschall.com>]
+ 


ossp-pkg/l2/l2_ut_sa.c 1.28 -> 1.29

--- 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++) {


ossp-pkg/l2/l2_ut_sa.h 1.25 -> 1.26

--- 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 */

CVSTrac 2.0.1