OSSP CVS Repository

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

Check-in Number: 665
Date: 2001-Aug-13 21:48:02 (local)
2001-Aug-13 19:48:02 (UTC)
User:rse
Branch:
Comment: Remove trailing whitespaces on all non-generated files.
Tickets:
Inspections:
Files:
ossp-pkg/xds/Makefile.in      1.31 -> 1.32     3 inserted, 3 deleted
ossp-pkg/xds/README      1.3 -> 1.4     1 inserted, 1 deleted
ossp-pkg/xds/aclocal.m4      1.3 -> 1.4     6 inserted, 6 deleted
ossp-pkg/xds/autogen.sh      1.1 -> 1.2     4 inserted, 4 deleted
ossp-pkg/xds/configure.ac      1.21 -> 1.22     3 inserted, 3 deleted
ossp-pkg/xds/libtool.m4      1.1 -> 1.2     1 inserted, 1 deleted
ossp-pkg/xds/xds-config.in      1.2 -> 1.3     4 inserted, 4 deleted
ossp-pkg/xds/xds-config.pod      1.2 -> 1.3     3 inserted, 3 deleted
ossp-pkg/xds/xds-xml.dtd      1.2 -> 1.3     4 inserted, 4 deleted
ossp-pkg/xds/xds.c      1.6 -> 1.7     5 inserted, 5 deleted
ossp-pkg/xds/xds.m4      1.2 -> 1.3     3 inserted, 3 deleted
ossp-pkg/xds/xds_engine_xdr.c      1.5 -> 1.6     3 inserted, 3 deleted
ossp-pkg/xds/xds_engine_xml.c      1.6 -> 1.7     12 inserted, 12 deleted
ossp-pkg/xds/xds_test.sh      1.4 -> 1.5     3 inserted, 3 deleted
ossp-pkg/xds/xds_test_xdr.c      1.4 -> 1.5     1 inserted, 1 deleted

ossp-pkg/xds/Makefile.in 1.31 -> 1.32

--- Makefile.in  2001/08/13 19:40:39     1.31
+++ Makefile.in  2001/08/13 19:48:02     1.32
@@ -2,15 +2,15 @@
 ##  XDS - OSSP Extensible Data Serialization Library
 ##  Copyright (c) 2001 The OSSP Project (http://www.ossp.org/)
 ##  Copyright (c) 2001 Cable & Wireless Deutschland (http://www.cw.com/de/)
-##  
+##
 ##  This file is part of OSSP XDS, an extensible data serialization
 ##  library which can be found at http://www.ossp.org/pkg/xds/.
-##  
+##
 ##  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.


ossp-pkg/xds/README 1.3 -> 1.4

--- README       2001/08/12 11:31:45     1.3
+++ README       2001/08/13 19:48:02     1.4
@@ -1,4 +1,4 @@
-               
+ 
   OSSP XDS - eXtensible Data Serialization
   Version 0.9.0 (11-Aug-2001)
 


ossp-pkg/xds/aclocal.m4 1.3 -> 1.4

--- aclocal.m4   2001/08/13 19:39:42     1.3
+++ aclocal.m4   2001/08/13 19:48:02     1.4
@@ -2,15 +2,15 @@
 dnl ##  XDS - OSSP Extensible Data Serialization Library
 dnl ##  Copyright (c) 2001 The OSSP Project (http://www.ossp.org/)
 dnl ##  Copyright (c) 2001 Cable & Wireless Deutschland (http://www.cw.com/de/)
-dnl ##  
+dnl ##
 dnl ##  This file is part of OSSP XDS, an extensible data serialization
 dnl ##  library which can be found at http://www.ossp.org/pkg/xds/.
-dnl ##  
+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 ##
 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.
@@ -31,8 +31,8 @@
 dnl ##  Support for Configuration Headers
 dnl ##
 dnl ##  configure.in:
-dnl ##    AC_HEADLINE(<short-name>, <long-name>, 
-dnl ##                <vers-var>, <vers-file>, 
+dnl ##    AC_HEADLINE(<short-name>, <long-name>,
+dnl ##                <vers-var>, <vers-file>,
 dnl ##                <copyright>)
 dnl ##
 
@@ -55,7 +55,7 @@
     #   find out package version
     $3_STR="`$ac_shtool version -l c -d long $ac_srcdir/$4`"
     AC_SUBST($3_STR)
- 
+
     #   friendly header ;)
     echo "Configuring ${TB}$1${TN} ($2), Version ${TB}${$3_STR}${TN}"
     echo "$5"


ossp-pkg/xds/autogen.sh 1.1 -> 1.2

--- autogen.sh   2001/08/13 19:23:32     1.1
+++ autogen.sh   2001/08/13 19:48:02     1.2
@@ -3,15 +3,15 @@
 ##  XDS - OSSP Extensible Data Serialization Library
 ##  Copyright (c) 2001 The OSSP Project (http://www.ossp.org/)
 ##  Copyright (c) 2001 Cable & Wireless Deutschland (http://www.cw.com/de/)
-##  
+##
 ##  This file is part of OSSP XDS, an extensible data serialization
 ##  library which can be found at http://www.ossp.org/pkg/xds/.
-##  
+##
 ##  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.
@@ -49,7 +49,7 @@
     case "$v" in
         $e )
             ;;
-        $a ) 
+        $a )
             echo "$0:WARNING: $t version $v still accepted, although expected $e." 1>&2
             ;;
         * )


ossp-pkg/xds/configure.ac 1.21 -> 1.22

--- configure.ac 2001/08/12 11:31:45     1.21
+++ configure.ac 2001/08/13 19:48:02     1.22
@@ -2,15 +2,15 @@
 dnl ##  XDS - OSSP Extensible Data Serialization Library
 dnl ##  Copyright (c) 2001 The OSSP Project (http://www.ossp.org/)
 dnl ##  Copyright (c) 2001 Cable & Wireless Deutschland (http://www.cw.com/de/)
-dnl ##  
+dnl ##
 dnl ##  This file is part of OSSP XDS, an extensible data serialization
 dnl ##  library which can be found at http://www.ossp.org/pkg/xds/.
-dnl ##  
+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 ##
 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.


ossp-pkg/xds/libtool.m4 1.1 -> 1.2

--- libtool.m4   2001/08/11 15:23:09     1.1
+++ libtool.m4   2001/08/13 19:48:02     1.2
@@ -785,7 +785,7 @@
 
 ## FIXME: this should be a separate macro
 ##
-AC_ARG_WITH(pic, 
+AC_ARG_WITH(pic,
 [  --with-pic              try to use only PIC/non-PIC objects [default=use both]],
 pic_mode="$withval", pic_mode=default)
 test -z "$pic_mode" && pic_mode=default


ossp-pkg/xds/xds-config.in 1.2 -> 1.3

--- xds-config.in        2001/08/12 11:31:45     1.2
+++ xds-config.in        2001/08/13 19:48:02     1.3
@@ -3,15 +3,15 @@
 ##  XDS - OSSP Extensible Data Serialization Library
 ##  Copyright (c) 2001 The OSSP Project (http://www.ossp.org/)
 ##  Copyright (c) 2001 Cable & Wireless Deutschland (http://www.cw.com/de/)
-##  
+##
 ##  This file is part of OSSP XDS, an extensible data serialization
 ##  library which can be found at http://www.ossp.org/pkg/xds/.
-##  
+##
 ##  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.
@@ -28,7 +28,7 @@
 ##  xds-config.in: XDS library build utility
 ##
 
-DIFS='  
+DIFS=' 
 '
 
 prefix="@prefix@"


ossp-pkg/xds/xds-config.pod 1.2 -> 1.3

--- xds-config.pod       2001/08/12 11:31:45     1.2
+++ xds-config.pod       2001/08/13 19:48:02     1.3
@@ -2,15 +2,15 @@
 ##  XDS - OSSP Extensible Data Serialization Library
 ##  Copyright (c) 2001 The OSSP Project (http://www.ossp.org/)
 ##  Copyright (c) 2001 Cable & Wireless Deutschland (http://www.cw.com/de/)
-##  
+##
 ##  This file is part of OSSP XDS, an extensible data serialization
 ##  library which can be found at http://www.ossp.org/pkg/xds/.
-##  
+##
 ##  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.


ossp-pkg/xds/xds-xml.dtd 1.2 -> 1.3

--- xds-xml.dtd  2001/08/12 11:31:45     1.2
+++ xds-xml.dtd  2001/08/13 19:48:02     1.3
@@ -1,16 +1,16 @@
-<!-- =========================================================== 
+<!-- ===========================================================
      XDS - OSSP Extensible Data Serialization Library
      Copyright (c) 2001 The OSSP Project (http://www.ossp.org/)
      Copyright (c) 2001 Cable & Wireless Deutschland (http://www.cw.com/de/)
- 
+
      This file is part of OSSP XDS, an extensible data serialization
      library which can be found at http://www.ossp.org/pkg/xds/.
- 
+
      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.


ossp-pkg/xds/xds.c 1.6 -> 1.7

--- xds.c        2001/08/12 11:31:45     1.6
+++ xds.c        2001/08/13 19:48:02     1.7
@@ -164,7 +164,7 @@
         return XDS_OK;
 
     /* Find the correct capacity. */
-    size = (*array_capacity != 0) ? (*array_capacity * 2) : initial_capacity; 
+    size = (*array_capacity != 0) ? (*array_capacity * 2) : initial_capacity;
     while (size < new_capacity)
         size *= 2;
 
@@ -226,7 +226,7 @@
         return XDS_ERR_NO_MEM;
 
     /* Search engines for the entry. */
-    if (xds_find_engine(xds->engines, xds->engines_len, name, &pos)) { 
+    if (xds_find_engine(xds->engines, xds->engines_len, name, &pos)) {
         /* overwrite existing entry */
         free(xds->engines[pos].name);
     }
@@ -322,10 +322,10 @@
         return XDS_ERR_INVALID_MODE;
 
     /* Ensure we have a buffer allocated ready for use. */
-    if (xds->buffer == NULL) { 
+    if (xds->buffer == NULL) {
         /* allocate a new buffer */
         rc = xds_set_capacity((void **)&xds->buffer, &xds->buffer_capacity,
-                              XDS_INITIAL_BUFFER_CAPACITY, sizeof (char), 
+                              XDS_INITIAL_BUFFER_CAPACITY, sizeof (char),
                               XDS_INITIAL_BUFFER_CAPACITY);
         assert(rc == XDS_OK || rc == XDS_ERR_NO_MEM);
         if (rc != XDS_OK)
@@ -352,7 +352,7 @@
             size_t used_buffer_size;
             size_t pos;
 
-            if (xds_find_engine(xds->engines, xds->engines_len, name, &pos) 
+            if (xds_find_engine(xds->engines, xds->engines_len, name, &pos)
                 == XDS_FALSE) {
                 rc = XDS_ERR_UNKNOWN_ENGINE;
                 goto leave;


ossp-pkg/xds/xds.m4 1.2 -> 1.3

--- xds.m4       2001/08/12 11:31:45     1.2
+++ xds.m4       2001/08/13 19:48:02     1.3
@@ -2,15 +2,15 @@
 dnl ##  XDS - OSSP Extensible Data Serialization Library
 dnl ##  Copyright (c) 2001 The OSSP Project (http://www.ossp.org/)
 dnl ##  Copyright (c) 2001 Cable & Wireless Deutschland (http://www.cw.com/de/)
-dnl ##  
+dnl ##
 dnl ##  This file is part of OSSP XDS, an extensible data serialization
 dnl ##  library which can be found at http://www.ossp.org/pkg/xds/.
-dnl ##  
+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 ##
 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.


ossp-pkg/xds/xds_engine_xdr.c 1.5 -> 1.6

--- xds_engine_xdr.c     2001/08/12 11:31:45     1.5
+++ xds_engine_xdr.c     2001/08/13 19:48:02     1.6
@@ -73,7 +73,7 @@
     value = va_arg(*args, xds_int32_t *);
     xds_check_parameter(value != NULL);
 
-    if (((xds_uint8_t *) buffer)[0] & 0x80) {   
+    if (((xds_uint8_t *) buffer)[0] & 0x80) {
         /* negative number */
         tmp =  ((xds_uint8_t *)buffer)[0];
         tmp = tmp << 8;
@@ -85,7 +85,7 @@
         tmp = 0 - tmp;
         *value = 0 - (int32_t)tmp;
     }
-    else {                             
+    else {
         /* positive number */
         *value =  ((xds_uint8_t *)buffer)[0];
         *value = *value << 8;
@@ -192,7 +192,7 @@
     value = va_arg(*args, xds_int64_t *);
     xds_check_parameter(value != NULL);
 
-    if (((xds_uint8_t *)buffer)[0] & 0x80) {  
+    if (((xds_uint8_t *)buffer)[0] & 0x80) {
         /* negative number */
         tmp =  ((xds_uint8_t *)buffer)[0];
         tmp = tmp << 8;


ossp-pkg/xds/xds_engine_xml.c 1.6 -> 1.7

--- xds_engine_xml.c     2001/08/12 11:31:45     1.6
+++ xds_engine_xml.c     2001/08/13 19:48:02     1.7
@@ -42,7 +42,7 @@
     "<!DOCTYPE xds SYSTEM \"http://www.ossp.org/pkg/xds/xds-xml.dtd\">\n"
     "<xds>\n";
 
-static const char xds_xml_end_text[] = 
+static const char xds_xml_end_text[] =
     "</xds>\n";
 
 int xml_encode_begin(xds_t *xds, void *engine_context,
@@ -59,7 +59,7 @@
                      size_t *used_buffer_size, va_list *args)
 {
     xds_init_encoding_engine(strlen(xds_xml_begin_text));
-    if (strncasecmp(buffer, xds_xml_begin_text, 
+    if (strncasecmp(buffer, xds_xml_begin_text,
                     strlen(xds_xml_begin_text)) != 0)
         return XDS_ERR_TYPE_MISMATCH;
     return XDS_OK;
@@ -79,7 +79,7 @@
                    size_t *used_buffer_size, va_list *args)
 {
     xds_init_decoding_engine(strlen(xds_xml_end_text));
-    if (strncasecmp(buffer, xds_xml_end_text, 
+    if (strncasecmp(buffer, xds_xml_end_text,
                     strlen(xds_xml_end_text)) != 0)
         return XDS_ERR_TYPE_MISMATCH;
     return XDS_OK;
@@ -527,7 +527,7 @@
 
     /* Format the data into the buffer. */
     while (src_len > 0 && dst_size > 0) {
-        if (*((xds_uint8_t *) src) >= 0x80) { 
+        if (*((xds_uint8_t *) src) >= 0x80) {
             /* UTF-8ify it. */
             if (dst_size >= 7) {
                 tmp = sputu8((xds_uint32_t) * ((xds_uint8_t *) src), dst);
@@ -539,7 +539,7 @@
             else
                 dst_size = 0;
         }
-        else if (*src == '<') { 
+        else if (*src == '<') {
             /* Turn into "&lt;". */
             if (dst_size >= 4) {
                 *dst++ = '&';
@@ -592,7 +592,7 @@
             else
                 dst_size = 0;
         }
-        else {  
+        else {
             /* No special character; just copy it. */
             *dst++ = *src++;
             src_len--;
@@ -760,7 +760,7 @@
     "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
 static const char xds_pad64 = '=';
 
-static int base64_encode(char *dst, size_t dstlen, 
+static int base64_encode(char *dst, size_t dstlen,
                          unsigned char const *src, size_t srclen)
 {
     size_t dstpos;
@@ -863,7 +863,7 @@
     return XDS_OK;
 }
 
-static int base64_decode(unsigned char *dst, size_t dstlen, 
+static int base64_decode(unsigned char *dst, size_t dstlen,
                          char const *src, size_t srclen)
 {
     int dstidx, state, ch = 0;
@@ -927,7 +927,7 @@
         }
     }
 
-    /* 
+    /*
      * We are done decoding Base-64 chars.  Let's see if we ended
      * on a byte boundary, and/or with erroneous trailing characters.
      */
@@ -949,7 +949,7 @@
                     return -1;
                 /* FALLTHROUGH */
             case 3:                /* Valid, means two bytes of info */
-                /* 
+                /*
                  * We know this char is an =.  Is there anything but
                  * whitespace after it?
                  */
@@ -959,7 +959,7 @@
                     if (!(isascii(ch) && isspace(ch)))
                         return -1;
                 }
-                /* 
+                /*
                  * Now make sure for cases 2 and 3 that the "extra"
                  * bits that slopped past the last full byte were
                  * zeros.  If we don't check them, they become a
@@ -972,7 +972,7 @@
         }
     }
     else {
-        /* 
+        /*
          * We ended by seeing the end of the string.  Make sure we
          * have no partial bytes lying around.
          */


ossp-pkg/xds/xds_test.sh 1.4 -> 1.5

--- xds_test.sh  2001/08/12 11:31:45     1.4
+++ xds_test.sh  2001/08/13 19:48:02     1.5
@@ -3,15 +3,15 @@
 ##  XDS - OSSP Extensible Data Serialization Library
 ##  Copyright (c) 2001 The OSSP Project (http://www.ossp.org/)
 ##  Copyright (c) 2001 Cable & Wireless Deutschland (http://www.cw.com/de/)
-##  
+##
 ##  This file is part of OSSP XDS, an extensible data serialization
 ##  library which can be found at http://www.ossp.org/pkg/xds/.
-##  
+##
 ##  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.


ossp-pkg/xds/xds_test_xdr.c 1.4 -> 1.5

--- xds_test_xdr.c       2001/08/12 11:31:45     1.4
+++ xds_test_xdr.c       2001/08/13 19:48:02     1.5
@@ -344,7 +344,7 @@
 
 #ifdef XDS_TEST_XDR_UINT64
 
-#ifdef XDS_HAVE_64_BIT_SUPPORT 
+#ifdef XDS_HAVE_64_BIT_SUPPORT
 
 #ifdef __FreeBSD__
 static int xdr_uint64_t(XDR *xdrs, uint64_t *val)

CVSTrac 2.0.1