commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hurd/libstore zero.c set.c


From: Roland McGrath
Subject: hurd/libstore zero.c set.c
Date: Tue, 14 Aug 2001 23:10:42 -0700

CVSROOT:        /cvs
Module name:    hurd
Changes by:     Roland McGrath <address@hidden> 01/08/14 23:10:42

Modified files:
        libstore       : zero.c set.c 

Log message:
        2001-08-12  Neal H Walfield  <address@hidden>
        
        * set.c: Do not include <malloc.h>.
        Include <stdlib.h>, <errno.h> and <mach.h>.
        (store_set_runs): Use memcpy, not bcopy.
        (store_set_name): Use strdup, not a strlen, malloc and strcpy.
        * zero.c (zero_read): When checking if mmap failed, compare
        against MAP_FAILED, not -1.
        Use memset, not bzero.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/libstore/zero.c.diff?cvsroot=OldCVS&tr1=1.11&tr2=1.12&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/libstore/set.c.diff?cvsroot=OldCVS&tr1=1.10&tr2=1.11&r1=text&r2=text




reply via email to

[Prev in Thread] Current Thread [Next in Thread]