fix glib-log test
This commit is contained in:
parent
dad9995f56
commit
bfce3ba665
|
@ -54,7 +54,8 @@
|
||||||
|
|
||||||
(define (make s)
|
(define (make s)
|
||||||
(define p (malloc (add1 (bytes-length s)) 'raw))
|
(define p (malloc (add1 (bytes-length s)) 'raw))
|
||||||
(memcpy p s (add1 (bytes-length s)))
|
(memcpy p s (bytes-length s))
|
||||||
|
(ptr-set! p _byte (bytes-length s) 0)
|
||||||
p)
|
p)
|
||||||
|
|
||||||
(define hello (make #"hello"))
|
(define hello (make #"hello"))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user