[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-mailutils] Build patch for failure on a few arches
From: |
Jordi Mallach |
Subject: |
[bug-mailutils] Build patch for failure on a few arches |
Date: |
Sun, 2 Jan 2005 14:06:52 +0100 |
User-agent: |
Mutt/1.5.6+20040907i |
A type missmatch in getline() and getdelim() was causing a build
failure on a few architectures.
--- ./mailbox/getline.h.old 2005-01-01 16:39:25.619823831 +0100
+++ ./mailbox/getline.h 2005-01-01 16:28:47.798840941 +0100
@@ -18,6 +18,7 @@
#ifndef _GETLINE_H_
# define _GETLINE_H_ 1
+# include <sys/types.h>
# include <stdio.h>
# ifndef PARAMS
@@ -28,8 +29,8 @@
# endif
# endif
-extern int getline PARAMS ((char **_lineptr, size_t *_n, FILE *_stream));
+extern ssize_t getline PARAMS ((char **_lineptr, size_t *_n, FILE *_stream));
-extern int getdelim PARAMS ((char **_lineptr, size_t *_n, int _delimiter, FILE
*_stream));
+extern ssize_t getdelim PARAMS ((char **_lineptr, size_t *_n, int _delimiter,
FILE *_stream));
#endif /* ! _GETLINE_H_ */
--
Jordi Mallach Pérez -- Debian developer http://www.debian.org/
address@hidden address@hidden http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/~jordi/
signature.asc
Description: Digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-mailutils] Build patch for failure on a few arches,
Jordi Mallach <=