[svn:parrot] r37729 - trunk/src/pmc

jkeenan at svn.parrot.org jkeenan at svn.parrot.org
Thu Mar 26 02:03:46 UTC 2009


Author: jkeenan
Date: Thu Mar 26 02:03:45 2009
New Revision: 37729
URL: https://trac.parrot.org/parrot/changeset/37729

Log:
C++-style comments are forbidden.

Modified:
   trunk/src/pmc/socket.pmc

Modified: trunk/src/pmc/socket.pmc
==============================================================================
--- trunk/src/pmc/socket.pmc	Thu Mar 26 02:01:48 2009	(r37728)
+++ trunk/src/pmc/socket.pmc	Thu Mar 26 02:03:45 2009	(r37729)
@@ -21,8 +21,6 @@
 #include "parrot/parrot.h"
 #include "../src/io/io_private.h"
 
-//#include <sys/socket.h>
-
 pmclass Socket extends FileHandle need_ext {
     ATTR PMC *local;           /* Local addr                   */
     ATTR PMC *remote;          /* Remote addr                  */
@@ -75,8 +73,6 @@
         Parrot_Socket_attributes * const data_struct = PARROT_SOCKET(copy);
 
         data_struct->os_handle    = Parrot_dup(old_struct->os_handle);
-        //memcpy(data_struct->local, old_struct->local, sizeof(struct sockaddr_in));
-        //memcpy(data_struct->remote, old_struct->remote, sizeof(struct sockaddr_in));
 
         return SELF;
     }


More information about the parrot-commits mailing list