/[hurd]/hurd/libstore/set.c
ViewVC logotype

Diff of /hurd/libstore/set.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by roland, Wed Aug 15 06:10:42 2001 UTC revision 1.12 by roland, Wed May 8 09:24:34 2002 UTC
# Line 1  Line 1 
1  /* Setting various store fields  /* Setting various store fields
2    
3     Copyright (C) 1995, 1996, 1997, 2001 Free Software Foundation, Inc.     Copyright (C) 1995,96,97,2001,02 Free Software Foundation, Inc.
4     Written by Miles Bader <miles@gnu.org>     Written by Miles Bader <miles@gnu.org>
5     This file is part of the GNU Hurd.     This file is part of the GNU Hurd.
6    
# Line 28  Line 28 
28  /* Set STORE's current runs list to (a copy of) RUNS and NUM_RUNS.  */  /* Set STORE's current runs list to (a copy of) RUNS and NUM_RUNS.  */
29  error_t  error_t
30  store_set_runs (struct store *store,  store_set_runs (struct store *store,
31                  const struct store_run *runs, unsigned num_runs)                  const struct store_run *runs, size_t num_runs)
32  {  {
33    unsigned size = num_runs * sizeof (struct store_run);    unsigned size = num_runs * sizeof (struct store_run);
34    struct store_run *copy = malloc (size);    struct store_run *copy = malloc (size);

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26