harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r587939 - in /harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port: shared/hynls.c shared/hyport.nls shared/hystr.c unix/hyipcmutex.c unix/hyshsem.c unix/hysock.c windows/hyipcmutex.c windows/hysock.c
Date Wed, 24 Oct 2007 18:00:44 GMT
Author: hindessm
Date: Wed Oct 24 11:00:42 2007
New Revision: 587939

URL: http://svn.apache.org/viewvc?rev=587939&view=rev
Log:
Spelling fixes.

Modified:
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hynls.c
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hyport.nls
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hystr.c
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyipcmutex.c
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyshsem.c
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hysock.c
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/windows/hyipcmutex.c
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/windows/hysock.c

Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hynls.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hynls.c?rev=587939&r1=587938&r2=587939&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hynls.c (original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hynls.c Wed
Oct 24 11:00:42 2007
@@ -540,7 +540,7 @@
           portLibrary->portGlobals->nls_data.catalogues[position++] = add_catalog;
           portLibrary->file_close (portLibrary, fd);
 #if defined(NLS_DEBUG)
-          portLibrary->tty_printf (portLibrary, "NLS - succesfully opened %s\n", catalog);
+          portLibrary->tty_printf (portLibrary, "NLS - successfully opened %s\n", catalog);
 #endif
           successfully_opened = 1;
           fd = -1;

Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hyport.nls
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hyport.nls?rev=587939&r1=587938&r2=587939&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hyport.nls
(original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hyport.nls
Wed Oct 24 11:00:42 2007
@@ -24,7 +24,7 @@
 # Note to translators:
 #
 # This file uses printf style substitutions. Sequences such as %s, %.*s, %10d
-# etc. will be subsituted at runtime. The special case of %% is not a substitution.
+# etc. will be substituted at runtime. The special case of %% is not a substitution.
 # It indicates a single percent sign. Please do not modify the format specifiers, or 
 # change their order. For instance, in a message like "from %d to %s", %d
 # MUST appear before %s in any translated message, or a run-time crash

Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hystr.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hystr.c?rev=587939&r1=587938&r2=587939&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hystr.c (original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hystr.c Wed
Oct 24 11:00:42 2007
@@ -110,7 +110,7 @@
                                         U_8 tag);
 
 /**
- * Write characaters to a string as specified by format.
+ * Write characters to a string as specified by format.
  *
  * @param[in] portLibrary The port library.
  * @param[in, out] buf The string buffer to be written.
@@ -137,7 +137,7 @@
 }
 
 /**
- * Write characaters to a string as specified by format.
+ * Write characters to a string as specified by format.
  *
  * @param[in] portLibrary The port library.
  * @param[in, out] buf The string buffer to be written.

Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyipcmutex.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyipcmutex.c?rev=587939&r1=587938&r2=587939&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyipcmutex.c
(original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyipcmutex.c
Wed Oct 24 11:00:42 2007
@@ -60,7 +60,7 @@
  *
  * If a Mutex with the same Name already exists, the function opens the existing 
  * Mutex and tries to lock it.
- * If another process already has the Mutex locked, the function will block indefinetely.

+ * If another process already has the Mutex locked, the function will block indefinitely.

  * If there is no Mutex with the same Name, the function will create it and lock
  * it for the calling process of this function.
  *

Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyshsem.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyshsem.c?rev=587939&r1=587938&r2=587939&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyshsem.c (original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyshsem.c Wed
Oct 24 11:00:42 2007
@@ -784,7 +784,7 @@
       return FAILED;
     }
 
-  /*sucessfully created base file, now create semaphores */
+  /*successfully created base file, now create semaphores */
 
   while (projid < HYSH_MAX_PROJ_ID)
     {
@@ -835,7 +835,7 @@
                                              findError (errno, __errno2 ()));
           return FAILED;
         }
-      /* if we get here it means that we have succes with getting a semaphore! */
+      /* if we get here it means that we have success with getting a semaphore! */
       break;
     }
 

Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hysock.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hysock.c?rev=587939&r1=587938&r2=587939&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hysock.c (original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hysock.c Wed
Oct 24 11:00:42 2007
@@ -495,7 +495,7 @@
  * entity, as known to the communications layer. The exact format of the addr parameter 
  * is determined by the address family established when the socket was created. 
  * @param[in] sockHandle A pointer to a hysocket_t  which will point to the newly created

- * socket once accept returns succesfully
+ * socket once accept returns successfully
  *
  * @return 
  * \arg 0 on success
@@ -1074,7 +1074,7 @@
   OSADDRINFO *addr;
   int i;
 
-  /* If we have the IPv6 functions then we'll cast to a OSADDRINFO othewise we have a hostent
*/
+  /* If we have the IPv6 functions then we'll cast to a OSADDRINFO otherwise we have a hostent
*/
 #if defined(IPv6_FUNCTION_SUPPORT)
   addr = (OSADDRINFO *) handle->addr_info;
   for (i = 0; i < index; i++)
@@ -3983,7 +3983,7 @@
       interfaces[counter].addresses = NULL;
     }
 #endif
-/* set up the return stucture */
+/* set up the return structure */
   array->elements = interfaces;
   array->length = numAdapters;
   /* now get the adapter information */
@@ -4406,7 +4406,7 @@
       interfaces[counter].addresses = NULL;
     }
 #endif
-/* set up the return stucture */
+/* set up the return structure */
   array->elements = interfaces;
   array->length = numAdapters;
   lastName = NULL;
@@ -4663,7 +4663,7 @@
       interfaces[counter].addresses = NULL;
     }
 #endif
-/* set up the return stucture */
+/* set up the return structure */
   array->elements = interfaces;
   array->length = numAdapters;
   lastName = NULL;

Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/windows/hyipcmutex.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/windows/hyipcmutex.c?rev=587939&r1=587938&r2=587939&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/windows/hyipcmutex.c
(original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/windows/hyipcmutex.c
Wed Oct 24 11:00:42 2007
@@ -41,7 +41,7 @@
  * Acquires a named mutex for the calling process.
  *
  * If a Mutex with the same Name already exists, the function opens the existing Mutex and
tries
- * to lock it. If another process already has the Mutex locked, the function will block indefinetely.

+ * to lock it. If another process already has the Mutex locked, the function will block indefinitely.

  * If there is no Mutex with the same Name, the function will create it and lock it for the
calling
  * process of this function.
  *
@@ -77,7 +77,7 @@
     {
       /* Wait until mutex is released by other process */
       dwResult = WaitForSingleObject (hMutex,	/* Handle to mutex */
-				      INFINITE);	/* Block indefinetely */
+				      INFINITE);	/* Block indefinitely */
 
       /* if state of mutex was signaled within wait interval or mutex was abandoned, return
true */
       /* otherwise function timeout, so return false */

Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/windows/hysock.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/windows/hysock.c?rev=587939&r1=587938&r2=587939&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/windows/hysock.c
(original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/windows/hysock.c
Wed Oct 24 11:00:42 2007
@@ -499,7 +499,7 @@
  * entity, as known to the communications layer. The exact format of the addr parameter 
  * is determined by the address family established when the socket was created. 
  * @param[in] sockHandle A pointer to a hysocket_t  which will point to the newly created

- * socket once accept returns succesfully
+ * socket once accept returns successfully
  *
  * @return 
  * \arg 0 on success
@@ -1311,7 +1311,7 @@
   OSADDRINFO *addr;
   int i;
 
-  /* If we have the IPv6 functions then we'll cast to a OSADDRINFO othewise we have a hostent
*/
+  /* If we have the IPv6 functions then we'll cast to a OSADDRINFO otherwise we have a hostent
*/
   if (PPG_sock_IPv6_FUNCTION_SUPPORT)
     {
       addr = (OSADDRINFO *) handle->addr_info;
@@ -2034,7 +2034,7 @@
 	}
     }
 
-  /* if both sockets are open we cannot retun the address for either one as whichever one
we return it is wrong in some 
+  /* if both sockets are open we cannot return the address for either one as whichever one
we return it is wrong in some 
      cases. Therefore,  we reset the address to the ANY address and leave the port as is
as it should be the same
      for both sockets (bind makes sure that when we open the two sockets we use the same
port */
   if ((handle->flags & SOCKET_IPV4_OPEN_MASK)
@@ -4206,7 +4206,7 @@
 	    }
 #endif
 
-	  /* set up the return stucture */
+	  /* set up the return structure */
 	  array->elements = interfaces;
 	  array->length = numAdapters;
 
@@ -4631,7 +4631,7 @@
 	}
 #endif
 
-      // set up the return stucture
+      // set up the return structure
       array->elements = interfaces;
       array->length = numAdapters + 1;
       currentAdapter = adaptersList;



Mime
View raw message