Changeset 10672


Ignore:
Timestamp:
Sep 9, 2008, 11:05:50 PM (11 years ago)
Author:
gb
Message:

Use #_memset, not #_bzero (no #_bzero on Windows.)

Location:
trunk/source/level-1
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/level-1/l1-aprims.lisp

    r10459 r10672  
    11691169    (%setf-macptr p (malloc size))
    11701170    (if clear-p
    1171       (#_bzero p size))
     1171      (#_memset p 0 size))
    11721172    p))
    11731173
  • trunk/source/level-1/l1-init.lisp

    r10135 r10672  
    290290                                               :timeval :bytes))
    291291                                           (p (malloc (* 5 timeval-size))))
    292                                       (#_bzero p (* 5 timeval-size))
     292                                      (#_memset p 0 (* 5 timeval-size))
    293293                                      p))
    294294
  • trunk/source/level-1/l1-io.lisp

    r10426 r10672  
    2222  (let* ((p (malloc size)))
    2323    (if (and clear-p (not (%null-ptr-p p)))
    24       (#_bzero p size))
     24      (#_memset p 0 size))
    2525    p))
    2626
Note: See TracChangeset for help on using the changeset viewer.