1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

libidn2: Correct a broken darwin patch

This commit is contained in:
John Wiegley 2017-05-02 10:45:31 -07:00
parent a74632f6c2
commit b88296818d
No known key found for this signature in database
GPG key ID: C144D8F4F19FE630

View file

@ -10,17 +10,6 @@ index 6abbc72..804f0f2 100644
#include "gettext.h"
#define _(String) dgettext (PACKAGE, String)
#include "progname.h"
@@ -161,9 +160,7 @@ process_input (char *readbuf, int flags)
free (output);
}
else
- error (EXIT_FAILURE, 0, "%s: %s",
- args_info.register_given ? "register" : "lookup",
- idn2_strerror (rc));
+ perror (idn2_strerror (rc));
}
int
@@ -222,7 +219,7 @@ main (int argc, char *argv[])
}