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: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 601d8c3f0972
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dc4e2cd70fd0
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on May 24, 2017

  1. Copy the full SHA
    5677ce2 View commit details
  2. Merge pull request #26062 from cleverca22/libredirect

    libredirect: allow null paths
    edolstra authored May 24, 2017
    Copy the full SHA
    dc4e2cd View commit details
Showing with 1 addition and 0 deletions.
  1. +1 −0 pkgs/build-support/libredirect/libredirect.c
1 change: 1 addition & 0 deletions pkgs/build-support/libredirect/libredirect.c
Original file line number Diff line number Diff line change
@@ -47,6 +47,7 @@ static void init()

static const char * rewrite(const char * path, char * buf)
{
if (path == NULL) return path;
for (int n = 0; n < nrRedirects; ++n) {
int len = strlen(from[n]);
if (strncmp(path, from[n], len) != 0) continue;