You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2010/03/22 00:26:46 UTC
svn commit: r925930 - in
/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native:
port/shared/hystr.c port/unix/hyshmem.c port/unix/hysock.c
port/windows/hysock.c thread/shared/hythread.c
Author: hindessm
Date: Sun Mar 21 23:26:46 2010
New Revision: 925930
URL: http://svn.apache.org/viewvc?rev=925930&view=rev
Log:
Trivial comment/doc fixes.
Modified:
harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hystr.c
harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyshmem.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/hysock.c
harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/thread/shared/hythread.c
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=925930&r1=925929&r2=925930&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 Sun Mar 21 23:26:46 2010
@@ -689,7 +689,7 @@ writeIntToBuffer (char *buf, U_32 bufLen
}
while (temp);
- /* zero extend to the left according the the requested precision */
+ /* zero extend to the left according the requested precision */
while (length > 0)
{
length -= 1;
Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyshmem.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyshmem.c?rev=925930&r1=925929&r2=925930&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyshmem.c (original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hyshmem.c Sun Mar 21 23:26:46 2010
@@ -688,7 +688,7 @@ createSharedMemory (HyPortLibrary * port
Trc_PRT_shmem_createSharedMemory_Exit3 ();
return RETRY;
}
- /* any other error code is is bad */
+ /* any other error code is bad */
Trc_PRT_shmem_createSharedMemory_Exit4 ();
return FAILED;
}
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=925930&r1=925929&r2=925930&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 Sun Mar 21 23:26:46 2010
@@ -574,7 +574,7 @@ hysock_accept (struct HyPortLibrary * po
* of the socket by assigning a local name to an unnamed socket.
*
* @param[in] portLibrary The port library.
- * @param[in] sock hysocket_t which will be be associated with the specified name.
+ * @param[in] sock hysocket_t which will be associated with the specified name.
* @param[in] addr Address to bind to socket.
*
* @return
@@ -945,7 +945,7 @@ hysock_getaddrinfo (struct HyPortLibrary
*
* @return
* \arg 0, if no errors occurred, otherwise the (negative) error code
- * \arg HYPORT_ERROR_SOCKET_VALUE_NULL when we have have the old IPv4 gethostbyname call and the address indexed is out
+ * \arg HYPORT_ERROR_SOCKET_VALUE_NULL when we have the old IPv4 gethostbyname call and the address indexed is out
* of range. This is because the address list and the host alias list are not the same length. Just skip this entry.
*
* @note Added for IPv6 support.
@@ -1161,7 +1161,7 @@ hysock_getaddrinfo_length (struct HyPort
*
* @return
* \arg 0, if no errors occurred, otherwise the (negative) error code.
- * \arg HYPORT_ERROR_SOCKET_VALUE_NULL when we have have the old IPv4 gethostbyname call and the name indexed is out
+ * \arg HYPORT_ERROR_SOCKET_VALUE_NULL when we have the old IPv4 gethostbyname call and the name indexed is out
* of range. This is because the address list and the host alias list are not the same length. Just skip this entry.
*
* @note Added for IPv6 support.
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=925930&r1=925929&r2=925930&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 Sun Mar 21 23:26:46 2010
@@ -579,7 +579,7 @@ hysock_accept (struct HyPortLibrary * po
* of the socket by assigning a local name to an unnamed socket.
*
* @param[in] portLibrary The port library.
- * @param[in] sock hysocket_t which will be be associated with the specified name.
+ * @param[in] sock hysocket_t which will be associated with the specified name.
* @param[in] addr Address to bind to socket.
*
* @return
@@ -1160,7 +1160,7 @@ hysock_getaddrinfo (struct HyPortLibrary
*
* @return
* \arg 0, if no errors occurred, otherwise the (negative) error code
- * \arg HYPORT_ERROR_SOCKET_VALUE_NULL when we have have the old IPv4 gethostbyname call and the address indexed is out
+ * \arg HYPORT_ERROR_SOCKET_VALUE_NULL when we have the old IPv4 gethostbyname call and the address indexed is out
* of range. This is because the address list and the host alias list are not the same length. Just skip this entry.
*
* @note Added for IPv6 support.
@@ -1381,7 +1381,7 @@ hysock_getaddrinfo_length (struct HyPort
*
* @return
* \arg 0, if no errors occurred, otherwise the (negative) error code.
- * \arg HYPORT_ERROR_SOCKET_VALUE_NULL when we have have the old IPv4 gethostbyname call and the name indexed is out
+ * \arg HYPORT_ERROR_SOCKET_VALUE_NULL when we have the old IPv4 gethostbyname call and the name indexed is out
* of range. This is because the address list and the host alias list are not the same length. Just skip this entry.
*
* @note Added for IPv6 support.
Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/thread/shared/hythread.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/thread/shared/hythread.c?rev=925930&r1=925929&r2=925930&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/thread/shared/hythread.c (original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/thread/shared/hythread.c Sun Mar 21 23:26:46 2010
@@ -1447,7 +1447,7 @@ hythread_cancel (hythread_t thread)
* Detaches the current thread from the threading library.
*
* Detach must only be called by an attached thread. The actual parameter
- * must be the the current thread's hythread_t, or NULL (in which case this
+ * must be the current thread's hythread_t, or NULL (in which case this
* function retrieves and uses the current thread's hythread_t). This
* function cannot be used to detach an arbitrary thread.
*