Use bcopy' if there is no memmove'
				
					
				
			git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1740 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -152,7 +152,11 @@ append_number (struct state *state, | |||||||
|     if ((*state->reserve) (state, width - len)) |     if ((*state->reserve) (state, width - len)) | ||||||
|       return 1; |       return 1; | ||||||
|  |  | ||||||
|  | #ifdef HAVE_MEMMOVE | ||||||
|     memmove (state->s + width - 2 * len, state->s - len, len); |     memmove (state->s + width - 2 * len, state->s - len, len); | ||||||
|  | #else | ||||||
|  |     bcopy (state->s - len, state->s + width - 2 * len, len); | ||||||
|  | #endif | ||||||
|     for (i = 0; i < width - len; ++i) |     for (i = 0; i < width - len; ++i) | ||||||
|       state->s[-len+i] = (zerop ? '0' : ' '); |       state->s[-len+i] = (zerop ? '0' : ' '); | ||||||
|     state->s += width - len; |     state->s += width - len; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Assar Westerlund
					Assar Westerlund