develooper Front page | perl.cvs.parrot | Postings from December 2008

[svn:parrot] r34275 - trunk/src

From:
Whiteknight
Date:
December 23, 2008 06:26
Subject:
[svn:parrot] r34275 - trunk/src
Message ID:
20081223142647.D778FCBA12@x12.develooper.com
Author: Whiteknight
Date: Tue Dec 23 06:26:47 2008
New Revision: 34275

Modified:
   trunk/src/inter_run.c

Log:
[Patch] remove a little bit of logic redundancy. A smart compiler probably ignored this already, but I don't count on all compilers being smart. jimmy++

Modified: trunk/src/inter_run.c
==============================================================================
--- trunk/src/inter_run.c	(original)
+++ trunk/src/inter_run.c	Tue Dec 23 06:26:47 2008
@@ -217,7 +217,7 @@
 
         new_sig[0] = 'O';
         /* -1 from the end, +1 for the nul at the end */
-        memcpy(new_sig+1, sig+1, len-1+1);
+        memcpy(new_sig+1, sig+1, len);
         sig_p = new_sig;
     }
 



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About