Skip to content
Browse files

[codingstd] tabs.t and trailing_space.t

git-svn-id: https://svn.parrot.org/parrot/trunk@36087 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
1 parent 1eb9073 commit 7a96a2180c6e85a3e04aa6fca10b0309d91d16b5 @bschmalhofer bschmalhofer committed Jan 28, 2009
Showing with 5 additions and 5 deletions.
  1. +2 −2 src/pmc/fixedintegerarray.pmc
  2. +3 −3 src/string/api.c
View
4 src/pmc/fixedintegerarray.pmc
@@ -1,5 +1,5 @@
/*
-Copyright (C) 2001-2008, The Perl Foundation.
+Copyright (C) 2001-2009, The Perl Foundation.
$Id$
=head1 NAME
@@ -417,7 +417,7 @@ Resizes the array to C<size> elements.
SET_ATTR_size(INTERP, SELF, size);
GET_ATTR_int_array(INTERP, SELF, int_array);
- SET_ATTR_int_array(INTERP, SELF,
+ SET_ATTR_int_array(INTERP, SELF,
mem_realloc_n_typed(int_array, size, INTVAL));
PObj_active_destroy_SET(SELF);
}
View
6 src/string/api.c
@@ -1143,11 +1143,11 @@ Parrot_str_repeat(PARROT_INTERP, ARGIN(const STRING *s), UINTVAL num)
/* copy s into dest num times */
UINTVAL length = s->bufused;
UINTVAL i;
- char * destpos = dest->strstart;
- const char * const srcpos = s->strstart;
+ char * destpos = dest->strstart;
+ const char * const srcpos = s->strstart;
for (i = 0; i < num; i++) {
mem_sys_memcopy(destpos, srcpos, length);
- destpos+= length;
+ destpos += length;
}
dest->bufused = s->bufused * num;

0 comments on commit 7a96a21

Please sign in to comment.
Something went wrong with that request. Please try again.