• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • Projects
  • Repositories
    • View all public repositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
David Young
  1. David Young

vchoi_fork

Vailin Choi
my_hdf5_fork
Public
Actions
  • Clone
  • Download

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Graphs
  • Branches
  • Network
  • Latest Activities

Commits

Paul Harten
3dae05f72dd
Paul Harten committed 4fc2c5fb59601 Feb 1999
[svn-r1043] Purpose:
    Bug fix

Problem:
    Depending on how the string size changes, different buffers are used
    when copying from one array of strings to another array of strings.
    An ASSERTION() is set up to check the validity of the buffer being
    used for each element of the string array being copied.  This
    ASSERTION() fails for a 10 element string array of string length 42
    being copied to a 10 element string array of string length 50.

Solution:
    The overlap variable (olap) is calculated slightly differently.
    Also, since olap and nelmts are unsigned types, the conditional
    assignment:

             d = elmtno >= nelmts-olap ? dbuf : dp

    should be rewitten as:

             d = elmtno+olap >= nelmts ? dbuf : dp

    This same problem/solution may exist in H5T_conv_i_i(), and
    H5T_conv_f_f().

Platform tested:
    Solaris2.5

Changed files

  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v4.4.1
  • Documentation
  • Contact Support
  • Request a feature
  • About
  • Contact Atlassian
Atlassian