• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Scot Breitenfeld
  1. Scot Breitenfeld

hdf5_msb

HDF5
hdf5
Public
Actions
  • Clone
  • Download

Learn more about cloning repositories

You have read-only access

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

Commits

Albert Cheng
7d55aa03a29
Participant
    Watch this commit
    Tag this commit
    Albert Cheng committed 37906de73c021 Apr 2009
    [svn-r16829] Bug fix.
    In Up (AIX system), the insert_libhdf5_settings() infinite looped because
    it never found EOF.  Man getc in another system said:
       "If  the  integer  value returned by getc() is stored into a variable of
       type char and then compared against the integer constant EOF, the  com-
       parison may never succeed, because sign-extension of a variable of type
       char on widening to integer is implementation-defined."
    
    Solution:
    Changed inchar from type char to int fixed the problem.
    Morale of the story: RTFM or HTCW (heed the compiler warnings).
    
    Tested:
    Up (AIX 5.3).
    • 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
    ยป