[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-cvs
Subject:    svn commit: rev 574 - trunk/subversion/libsvn_ra trunk/subversion/libsvn_wc trunk/subversion/libsvn_
From:       kfogel () tigris ! org
Date:       2001-11-30 0:04:18
[Download RAW message or body]

Author: kfogel
Date: 2001-11-30 00:04 GMT
New Revision: 574

Modified:
   trunk/subversion/clients/cmdline/props.c
   trunk/subversion/libsvn_client/prop_commands.c
   trunk/subversion/libsvn_delta/track_editor.c
   trunk/subversion/libsvn_ra/ra_loader.c
   trunk/subversion/libsvn_subr/hashdump.c
   trunk/subversion/libsvn_subr/io.c
   trunk/subversion/libsvn_subr/sorts.c
   trunk/subversion/libsvn_subr/xml.c
   trunk/subversion/libsvn_wc/adm_crawler.c
   trunk/subversion/libsvn_wc/copy.c
   trunk/subversion/libsvn_wc/entries.c
   trunk/subversion/libsvn_wc/log.c
   trunk/subversion/libsvn_wc/props.c
   trunk/subversion/libsvn_wc/status.c
   trunk/subversion/libsvn_wc/status_editor.c
   trunk/subversion/tests/libsvn_subr/hashdump-test.c
Log:
Convert apr_size_t, size_t ==> apr_ssize_t, to avoid benign compiler
warnings with certain compilers.

This change is by Max Okumoto <okumoto@ucsd.edu>, who says:

   Hi, I am using sun's compiler:
   
          % cc -V
          cc: WorkShop Compilers 4.2 30 Oct 1996 C 4.2


Modified: trunk/subversion/libsvn_ra/ra_loader.c
==============================================================================
--- OLD/trunk/subversion/libsvn_ra/ra_loader.c	Thu Nov 29 18:04:18 2001
+++ NEW/trunk/subversion/libsvn_ra/ra_loader.c	Thu Nov 29 18:04:18 2001
@@ -179,7 +179,7 @@
     {
       const void *key;
       void *val;
-      size_t keylen;
+      apr_ssize_t keylen;
       const char *keystr;
 
       /* Get key and val. */
@@ -238,7 +238,7 @@
     {
       const void *key;
       void *val;
-      size_t keylen;
+      apr_ssize_t keylen;
 
       /* Get key and val. */
       apr_hash_this (this, &key, &keylen, &val);

Modified: trunk/subversion/libsvn_wc/props.c
==============================================================================
--- OLD/trunk/subversion/libsvn_wc/props.c	Thu Nov 29 18:04:18 2001
+++ NEW/trunk/subversion/libsvn_wc/props.c	Thu Nov 29 18:04:18 2001
@@ -74,7 +74,7 @@
   for (hi = apr_hash_first (pool, baseprops); hi; hi = apr_hash_next (hi))
     {
       const void *key;
-      apr_size_t klen;
+      apr_ssize_t klen;
       void *val;
       svn_stringbuf_t *propval1, *propval2;
 
@@ -110,7 +110,7 @@
   for (hi = apr_hash_first (pool, localprops); hi; hi = apr_hash_next (hi))
     {
       const void *key;
-      apr_size_t klen;
+      apr_ssize_t klen;
       void *val;
       svn_stringbuf_t *propval1, *propval2;
 

Modified: trunk/subversion/libsvn_wc/entries.c
==============================================================================
--- OLD/trunk/subversion/libsvn_wc/entries.c	Thu Nov 29 18:04:18 2001
+++ NEW/trunk/subversion/libsvn_wc/entries.c	Thu Nov 29 18:04:18 2001
@@ -465,7 +465,7 @@
   for (hi = apr_hash_first (pool, entries); hi; hi = apr_hash_next (hi))
     {
       const void *key;
-      apr_size_t keylen;
+      apr_ssize_t keylen;
       void *val;
       svn_wc_entry_t *this_entry;
       svn_stringbuf_t *entryname;
@@ -1011,7 +1011,7 @@
   for (hi = apr_hash_first (pool, entries); hi; hi = apr_hash_next (hi))
     {
       const void *key;
-      apr_size_t keylen;
+      apr_ssize_t keylen;
       void *val;
       svn_wc_entry_t *this_entry;
 
@@ -1125,7 +1125,7 @@
       for (hi = apr_hash_first (pool, atts); hi; hi = apr_hash_next (hi))
         {
           const void *k;
-          apr_size_t klen;
+          apr_ssize_t klen;
           void *v;
           const char *key;
           svn_stringbuf_t *val;
@@ -1491,7 +1491,7 @@
        hi = apr_hash_next (hi))
     {
       const void *k;
-      apr_size_t klen;
+      apr_ssize_t klen;
       void *v;
 
       const char *key;
@@ -1546,7 +1546,7 @@
   for (hi = apr_hash_first (subpool, entries); hi; hi = apr_hash_next (hi))
     {
       const void *key;
-      apr_size_t keylen;
+      apr_ssize_t keylen;
       void *val;
       const char *name;
       svn_wc_entry_t *current_entry;

Modified: trunk/subversion/libsvn_wc/copy.c
==============================================================================
--- OLD/trunk/subversion/libsvn_wc/copy.c	Thu Nov 29 18:04:18 2001
+++ NEW/trunk/subversion/libsvn_wc/copy.c	Thu Nov 29 18:04:18 2001
@@ -61,7 +61,7 @@
   for (hi = apr_hash_first (subpool, entries); hi; hi = apr_hash_next (hi))
     {
       const void *key;
-      apr_size_t keylen;
+      apr_ssize_t keylen;
       void *val;
       const char *name;
       svn_wc_entry_t *current_entry;

Modified: trunk/subversion/libsvn_wc/adm_crawler.c
==============================================================================
--- OLD/trunk/subversion/libsvn_wc/adm_crawler.c	Thu Nov 29 18:04:18 2001
+++ NEW/trunk/subversion/libsvn_wc/adm_crawler.c	Thu Nov 29 18:04:18 2001
@@ -203,7 +203,7 @@
       svn_error_t *err;
       const void *key;
       void *val;
-      apr_size_t klen;
+      apr_ssize_t klen;
       svn_stringbuf_t *unlock_path;
       
       apr_hash_this (hi, &key, &klen, &val);
@@ -235,7 +235,7 @@
     {
       const void *key;
       void *val;
-      apr_size_t klen;
+      apr_ssize_t klen;
       svn_stringbuf_t *tmpfile_path;
       enum svn_node_kind kind;
 
@@ -555,7 +555,7 @@
   struct target_baton *tb;
   const void *key;
   void *val;
-  size_t keylen;
+  apr_ssize_t keylen;
 
   for (hi = apr_hash_first (pool, affected_targets); 
        hi; 
@@ -744,7 +744,7 @@
   for (hi = apr_hash_first (pool, entries); hi; hi = apr_hash_next (hi))
     {
       const void *key;
-      apr_size_t klen;
+      apr_ssize_t klen;
       void *val;
       svn_wc_entry_t *entry; 
       int is_this_dir;
@@ -1456,7 +1456,7 @@
     {
       const void *key;
       const char *keystring;
-      apr_size_t klen;
+      apr_ssize_t klen;
       void *val;
       svn_wc_entry_t *current_entry; 
       
@@ -1881,7 +1881,7 @@
     for (hi = apr_hash_first (subpool, dirents); hi; hi = apr_hash_next (hi))
       {
         const void *key;
-        apr_size_t klen;
+        apr_ssize_t klen;
         void *val;
         const char *keystring;
         svn_stringbuf_t *current_entry_name;
@@ -1941,7 +1941,7 @@
     {
       const void *key;
       const char *keystring;
-      apr_size_t klen;
+      apr_ssize_t klen;
       void *val;
       svn_stringbuf_t *current_entry_name;
       svn_wc_entry_t *current_entry; 

Modified: trunk/subversion/libsvn_wc/log.c
==============================================================================
--- OLD/trunk/subversion/libsvn_wc/log.c	Thu Nov 29 18:04:18 2001
+++ NEW/trunk/subversion/libsvn_wc/log.c	Thu Nov 29 18:04:18 2001
@@ -800,7 +800,7 @@
                 {
                   const void *key;
                   const char *keystring;
-                  apr_size_t klen;
+                  apr_ssize_t klen;
                   void *val;
                   svn_stringbuf_t *current_entry_name;
                   svn_wc_entry_t *current_entry; 
@@ -1232,7 +1232,7 @@
   for (hi = apr_hash_first (pool, entries); hi; hi = apr_hash_next (hi))
     {
       const void *key;
-      apr_size_t keylen;
+      apr_ssize_t keylen;
       void *val;
       svn_wc_entry_t *entry;
       svn_boolean_t is_this_dir = FALSE;

Modified: trunk/subversion/libsvn_wc/status.c
==============================================================================
--- OLD/trunk/subversion/libsvn_wc/status.c	Thu Nov 29 18:04:18 2001
+++ NEW/trunk/subversion/libsvn_wc/status.c	Thu Nov 29 18:04:18 2001
@@ -313,7 +313,7 @@
           const void *key;
           void *val;
           const char *basename;
-          apr_size_t keylen;
+          apr_ssize_t keylen;
           svn_stringbuf_t *fullpath = svn_stringbuf_dup (path, pool);
 
           /* Get the next dirent */

Modified: trunk/subversion/libsvn_wc/status_editor.c
==============================================================================
--- OLD/trunk/subversion/libsvn_wc/status_editor.c	Thu Nov 29 18:04:18 2001
+++ NEW/trunk/subversion/libsvn_wc/status_editor.c	Thu Nov 29 18:04:18 2001
@@ -650,7 +650,7 @@
     {
       const void *key;
       void *val;
-      apr_size_t klen;
+      apr_ssize_t klen;
       svn_wc_status_t *status;
       
       apr_hash_this (hi, &key, &klen, &val);

Modified: trunk/subversion/libsvn_subr/xml.c
==============================================================================
--- OLD/trunk/subversion/libsvn_subr/xml.c	Thu Nov 29 18:04:18 2001
+++ NEW/trunk/subversion/libsvn_subr/xml.c	Thu Nov 29 18:04:18 2001
@@ -448,7 +448,7 @@
     {
       const void *key;
       void *val;
-      size_t keylen;
+      apr_ssize_t keylen;
 
       apr_hash_this (hi, &key, &keylen, &val);
       assert (val != NULL);

Modified: trunk/subversion/libsvn_subr/io.c
==============================================================================
--- OLD/trunk/subversion/libsvn_subr/io.c	Thu Nov 29 18:04:18 2001
+++ NEW/trunk/subversion/libsvn_subr/io.c	Thu Nov 29 18:04:18 2001
@@ -414,7 +414,7 @@
   for (hi = apr_hash_first (subpool, dirents); hi; hi = apr_hash_next (hi))
     {
       const void *key;
-      apr_size_t klen;
+      apr_ssize_t klen;
       void *val;
       const char *entryname;
       enum svn_node_kind *entrykind;

Modified: trunk/subversion/libsvn_subr/hashdump.c
==============================================================================
--- OLD/trunk/subversion/libsvn_subr/hashdump.c	Thu Nov 29 18:04:18 2001
+++ NEW/trunk/subversion/libsvn_subr/hashdump.c	Thu Nov 29 18:04:18 2001
@@ -113,7 +113,7 @@
     {
       const void *key;
       void *val;
-      size_t keylen;
+      apr_ssize_t keylen;
       size_t vallen;
       int bytes_used;
       char *valstring;

Modified: trunk/subversion/libsvn_subr/sorts.c
==============================================================================
--- OLD/trunk/subversion/libsvn_subr/sorts.c	Thu Nov 29 18:04:18 2001
+++ NEW/trunk/subversion/libsvn_subr/sorts.c	Thu Nov 29 18:04:18 2001
@@ -103,7 +103,7 @@
   for (hi = apr_hash_first (pool, ht); hi; hi = apr_hash_next (hi))
     {
       const void *key;
-      apr_size_t klen;
+      apr_ssize_t klen;
       void *value;
       svn_item_t **receiver;
       svn_item_t *item = apr_pcalloc (pool, sizeof(*item));

Modified: trunk/subversion/libsvn_client/prop_commands.c
==============================================================================
--- OLD/trunk/subversion/libsvn_client/prop_commands.c	Thu Nov 29 18:04:18 2001
+++ NEW/trunk/subversion/libsvn_client/prop_commands.c	Thu Nov 29 18:04:18 2001
@@ -57,7 +57,7 @@
         {
           const void *key;
           const char *keystring;
-          apr_size_t klen;
+          apr_ssize_t klen;
           void * val;
           svn_stringbuf_t *current_entry_name;
           svn_stringbuf_t *full_entry_path = svn_stringbuf_dup (target, pool);
@@ -117,7 +117,7 @@
     {
       const void *key;
       const char *keystring;
-      apr_size_t klen;
+      apr_ssize_t klen;
       void * val;
       svn_stringbuf_t *current_entry_name;
       svn_stringbuf_t *full_entry_path = svn_stringbuf_dup (target, pool);
@@ -230,7 +230,7 @@
     {
       const void *key;
       const char *keystring;
-      apr_size_t klen;
+      apr_ssize_t klen;
       void * val;
       svn_stringbuf_t *current_entry_name;
       svn_stringbuf_t *full_entry_path = svn_stringbuf_dup (target, pool);

Modified: trunk/subversion/clients/cmdline/props.c
==============================================================================
--- OLD/trunk/subversion/clients/cmdline/props.c	Thu Nov 29 18:04:18 2001
+++ NEW/trunk/subversion/clients/cmdline/props.c	Thu Nov 29 18:04:18 2001
@@ -43,7 +43,7 @@
   for (hi = apr_hash_first (pool, prop_hash); hi; hi = apr_hash_next (hi))
     {
       const void *key;
-      apr_size_t klen;
+      apr_ssize_t klen;
       void *val;
       
       svn_stringbuf_t *propkey, *propval;

Modified: trunk/subversion/tests/libsvn_subr/hashdump-test.c
==============================================================================
--- OLD/trunk/subversion/tests/libsvn_subr/hashdump-test.c	Thu Nov 29 18:04:18 2001
+++ NEW/trunk/subversion/tests/libsvn_subr/hashdump-test.c	Thu Nov 29 18:04:18 2001
@@ -165,7 +165,7 @@
        this = apr_hash_next (this))
     {
       const void *key;
-      size_t keylen;
+      apr_ssize_t keylen;
       void *val;
       svn_stringbuf_t *orig_str, *new_str;
       

Modified: trunk/subversion/libsvn_delta/track_editor.c
==============================================================================
--- OLD/trunk/subversion/libsvn_delta/track_editor.c	Thu Nov 29 18:04:18 2001
+++ NEW/trunk/subversion/libsvn_delta/track_editor.c	Thu Nov 29 18:04:18 2001
@@ -302,7 +302,7 @@
     {
       char *path;
       void *val;
-      apr_size_t ignored_len;
+      apr_ssize_t ignored_len;
       svn_stringbuf_t path_str;
       enum svn_recurse_kind r;
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic