Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: m-labs/flickernoise
base: 6cd45f7
Choose a base ref
...
head repository: m-labs/flickernoise
compare: 86c7ca6
Choose a head ref
  • 3 commits
  • 1 file changed
  • 1 contributor

Commits on Jan 14, 2012

  1. gui/performance.c (compile_patch): don't use "fd"; malloc buffer for …

    …patch file
    
    This patch makes the following changes to compile_patch:
    
    - rename "fd" to "file": "fd" is customarily used for numeric file
      descriptors, the kind returned by open(), not streams.
    
    - instead of assuming a fixed maximum patch file size of 32 kB
      (which is reasonably generous for current use), fstat() the
      file, then allocate a buffer
    wpwrak committed Jan 14, 2012
    Copy the full SHA
    4e3d18c View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    76e829a View commit details
    Browse the repository at this point in the history
  3. gui/performance.c: share skipping of unsuitable patches

    simple_mode_next and refresh_callback did pretty much the same thing.
    Now the skipping is done only once, in skip_unsuitable.
    wpwrak committed Jan 14, 2012
    Copy the full SHA
    86c7ca6 View commit details
    Browse the repository at this point in the history