~ubuntu-branches/ubuntu/hardy/openmpi/hardy-updates

« back to all changes in this revision

Viewing changes to ompi/datatype/dt_sndrcv.c

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel, Dirk Eddelbuettel, Manuel Prinz
  • Date: 2008-01-09 16:30:33 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080109163033-036cl7b8lpxrero4
Tags: 1.2.5-1
[ Dirk Eddelbuettel ]

* New upstream version
* debian/patches/00list: Disabled man page patches 20*, 30* and 31* which 
  have been included upstream
* debian/patches/60_fix_manpage_name_section.dpatch: Applied small correction
* Debian build and upload

[ Manuel Prinz ]
* debian/*.lintian-override: Deleted, all issues are fixed
  - debian/libopenmpi{1,-dev}.links, debian/libopenmpi1.install:
    Moved *.so.0 links from /usr/lib/openmpi/lib to /usr/lib. Created
    *.so.0.0.0 symlinks in /usr/lib, pointing to /usr/lib/openmpi/lib.
    This fixes postinst-has-useless-call-to-ldconfig, postrm-has-useless-
    call-to-ldconfig and package-name-doesnt-match-sonames warnings.
  - debian/rules, debian/control: Added chrpath to Build-Depends and
    deleting all rpath info with chrpath in install-arch target. This
    fixes all binary-or-shlib-defines-rpath warnings.
* debian/rules: Adjusted target dependencies to be more sane. Renamed
  "test" target to "check".
* Applied a patch by Adam Powell IV that adds /usr/lib/libmpi++.so via
  update-alternatives for compatibility with LAM/MPI and MPICH. Thanks to
  Adam for the patch! (Closes: #459642)

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
   uint32_t iov_count;
48
48
   size_t max_data;
49
49
 
50
 
   /* First check if we really have something to do */
51
 
   if (0 == rcount) {
52
 
       if (0 == scount) {
53
 
           return MPI_SUCCESS;
54
 
       } else {
55
 
           return MPI_ERR_TRUNCATE;
56
 
       }
57
 
   }
 
50
    /* First check if we really have something to do */
 
51
    if (0 == rcount) {
 
52
        return ((0 == scount) ? MPI_SUCCESS : MPI_ERR_TRUNCATE);
 
53
    }
58
54
 
59
55
   /* If same datatypes used, just copy. */
60
56
   if (sdtype == rdtype) {