diff options
author | Oleg O. Chukaev <oleg.chukaev@mail.ru> | 2010-09-09 08:56:37 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2010-09-09 08:56:37 -0400 |
commit | 02b4114b04e11015de2189a0b80751efdf53a48b (patch) | |
tree | 48c98555bbc0f956ef4b8a822e5d38b03edd63ba /misc/uni2ascii/01_getline_posix2008_fix.diff | |
parent | 27e45fd9b6affeb4032de7b3108a19bbadf9fe9a (diff) | |
download | slackbuilds-02b4114b04e11015de2189a0b80751efdf53a48b.tar.gz |
misc/uni2ascii: Updated for version 4.15.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'misc/uni2ascii/01_getline_posix2008_fix.diff')
-rw-r--r-- | misc/uni2ascii/01_getline_posix2008_fix.diff | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/misc/uni2ascii/01_getline_posix2008_fix.diff b/misc/uni2ascii/01_getline_posix2008_fix.diff deleted file mode 100644 index 347063dfcc..0000000000 --- a/misc/uni2ascii/01_getline_posix2008_fix.diff +++ /dev/null @@ -1,28 +0,0 @@ -Description: -In eglibc <= 2.9, getline was only defined if _GNU_SOURCE was defined. In -eglibc 2.10, getline is always defined (since it became a standard in -POSIX2008). The uni2ascii already has a function named getline(), which now -conflicts with glibc's. Patch will rename getline() to get_line() to fix the -problem. -Author: Kartik Mistry <kartik@debian.org> -Debian bug: http://bugs.debian.org/552870 ---- a/ascii2uni.c -+++ b/ascii2uni.c -@@ -463,7 +463,7 @@ - fprintf(stderr,"Failed to allocate buffer for input line.\n"); - exit(2); - } -- while ((read = getline(&lbuf, &len, infp)) != -1) { -+ while ((read = get_line(&lbuf, &len, infp)) != -1) { - AddNewlineP = 1; - LineNo++; - last = read - 1; -@@ -848,7 +848,7 @@ - } - - int --getline (lineptr, n, stream) -+get_line (lineptr, n, stream) - char **lineptr; - size_t *n; - FILE *stream; |