Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2008 19:05:36 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libdisk disk.c
Message-ID:  <200803171905.m2HJ5a6m092337@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
antoine     2008-03-17 19:05:36 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    lib/libdisk          disk.c 
  Log:
  MFC to RELENG_7
    - Make Disk_Names() behave as documented in libdisk(3): return an array
    of disk names, where you must free each pointer, as well as the array
    by hand. [1]
    - Destaticize "disks" in Disk_Names, it has no reasons to be static.
  
    PR:             kern/96077 [1]
    PR:             kern/114110 [1]
    MFC after:      1 month
    Approved by:    rwatson (mentor)
  
  Revision   Changes    Path
  1.127.2.1  +14 -5     src/lib/libdisk/disk.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803171905.m2HJ5a6m092337>