[gs-cvs] rev 7959 - trunk/gs/src
alexcher at ghostscript.com
alexcher at ghostscript.com
Sat May 12 08:46:45 PDT 2007
Author: alexcher
Date: 2007-05-12 08:46:44 -0700 (Sat, 12 May 2007)
New Revision: 7959
Modified:
trunk/gs/src/gxhintn.c
Log:
Avoid a Valgrind warning about overlapping argumemts of memcpy().
Don't assign a structure to itself.
DIFFERENCES:
None
Modified: trunk/gs/src/gxhintn.c
===================================================================
--- trunk/gs/src/gxhintn.c 2007-05-12 14:55:02 UTC (rev 7958)
+++ trunk/gs/src/gxhintn.c 2007-05-12 15:46:44 UTC (rev 7959)
@@ -1748,7 +1748,7 @@
this->primary_hint_count--;
continue; /* skip it. */
} else {
- if (i != j)
+ if (i != j) /* for Valgrind */
this->hint[j] = this->hint[i];
j++;
}
More information about the gs-cvs
mailing list