~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to strings/strmake.c

Removed DBUG symbols and fixed TRUE/FALSE

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    strmake() returns pointer to closing null
25
25
*/
26
26
 
 
27
#include <my_global.h>
27
28
#include "m_string.h"
28
29
 
29
30
char *strmake(register char *dst, register const char *src, size_t length)
40
41
    write a character rather than '\0' as this makes spotting these
41
42
    problems in the results easier.
42
43
  */
43
 
  uint32_t n= 0;
 
44
  uint n= 0;
44
45
  while (n < length && src[n++]);
45
46
  memset(dst + n, (int) 'Z', length - n + 1);
46
47
#endif