~ubuntu-branches/ubuntu/trusty/scotch/trusty-proposed

« back to all changes in this revision

Viewing changes to src/libscotch/graph_list.c

  • Committer: Bazaar Package Importer
  • Author(s): "Adam C. Powell, IV", Christophe Trophime, Adam C. Powell, IV
  • Date: 2010-12-29 13:07:19 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20101229130719-jwalolw5d6av6wqx
Tags: 5.1.11.dfsg-1
[Christophe Trophime]
* New upstream release
* Forward-ported patches to version 5.1.10b.
* Install scotch headers properly.
* Fix chrpath commands in debian/rules.
* Fix (pt)scotch library install paths.
* Fix lintian errors and warnings.

[Adam C. Powell, IV]
* Forward-ported patches to version 5.1.11.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright 2004,2007 ENSEIRB, INRIA & CNRS
 
1
/* Copyright 2004,2007,2010 ENSEIRB, INRIA & CNRS
2
2
**
3
3
** This file is part of the Scotch software package for static mapping,
4
4
** graph partitioning and sparse matrix ordering.
52
52
/**                                 to     15 sep 1998     **/
53
53
/**                # Version 4.0  : from : 10 dec 2001     **/
54
54
/**                                 to     10 dec 2001     **/
 
55
/**                # Version 5.1  : from : 11 aug 2010     **/
 
56
/**                                 to     11 aug 2010     **/
55
57
/**                                                        **/
56
58
/************************************************************/
57
59
 
225
227
 
226
228
  o = (intSave (stream, listptr->vnumnbr) == 0);  /* Write number of vertices */
227
229
  for (vnumnum = 0; (o == 0) && (vnumnum < listptr->vnumnbr); vnumnum ++) {
228
 
    o = (fprintf (stream, "%c%ld",
 
230
    o = (fprintf (stream, "%c" GNUMSTRING,
229
231
                  ((vnumnum % 8) == 0) ? '\n' : '\t',
230
 
                  (long) listptr->vnumtab[vnumnum]) == EOF);
 
232
                  (Gnum) listptr->vnumtab[vnumnum]) == EOF);
231
233
  }
232
234
  o |= (fprintf (stream, "\n") == EOF);
233
235