Skip to content

Instantly share code, notes, and snippets.

@michilu
Created September 22, 2011 07:22
Show Gist options
  • Save michilu/1234235 to your computer and use it in GitHub Desktop.
Save michilu/1234235 to your computer and use it in GitHub Desktop.
Install gettext on Mac OS lion
diff --git a/gettext-tools/gnulib-lib/stpncpy.c b/gettext-tools/gnulib-lib/stpncpy.c
index ca53ebb..5a97b84 100644
--- a/gettext-tools/gnulib-lib/stpncpy.c
+++ b/gettext-tools/gnulib-lib/stpncpy.c
@@ -31,7 +31,7 @@
/* Copy no more than N bytes of SRC to DST, returning a pointer past the
last non-NUL byte written into DST. */
char *
-__stpncpy (char *dest, const char *src, size_t n)
+__stncpy (char *dest, const char *src, size_t n)
{
char c;
char *s = dest;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment