Your message dated Fri, 09 Oct 2009 17:17:09 +0000
with message-id <[email protected]>
and subject line Bug#550373: fixed in cdecl 2.5-11
has caused the Debian Bug report #550373,
regarding cdecl: getline conflicts with POSIX:2008
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
550373: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550373
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cdecl
Version: 2.5-9
Severity: important
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch karmic
POSIX:2008 defines a getline function, so cdecl fails to build with
recent (e)glibc because it defines its own. This patch renames the
function to get_line.
* Rename getline to get_line to avoid conflict with POSIX:2008.
diff -u cdecl-2.5/cdecl.c cdecl-2.5/cdecl.c
--- cdecl-2.5/cdecl.c
+++ cdecl-2.5/cdecl.c
@@ -91,7 +91,7 @@
#ifdef USE_READLINE
# include <readline/readline.h>
/* prototypes for functions related to readline() */
- char * getline();
+ char * get_line();
char ** attempt_completion(char *, int, int);
char * keyword_completion(char *, int);
char * command_completion(char *, int);
@@ -375,7 +375,7 @@
static char *line_read = NULL;
/* Read a string, and return a pointer to it. Returns NULL on EOF. */
-char * getline ()
+char * get_line ()
{
/* If the buffer has already been allocated, return the memory
to the free pool. */
@@ -887,7 +887,7 @@
if (!quiet) (void) printf("Type `help' or `?' for help\n");
ret = 0;
- while ((line = getline())) {
+ while ((line = get_line())) {
if (!strcmp(line, "quit") || !strcmp(line, "exit")) {
free(line);
return ret;
Thanks,
--
Colin Watson [[email protected]]
--- End Message ---
--- Begin Message ---
Source: cdecl
Source-Version: 2.5-11
We believe that the bug you reported is fixed in the latest version of
cdecl, which is due to be installed in the Debian FTP archive:
cdecl_2.5-11.diff.gz
to pool/main/c/cdecl/cdecl_2.5-11.diff.gz
cdecl_2.5-11.dsc
to pool/main/c/cdecl/cdecl_2.5-11.dsc
cdecl_2.5-11_i386.deb
to pool/main/c/cdecl/cdecl_2.5-11_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Fredrik Hallenberg <[email protected]> (supplier of updated cdecl package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Fri, 09 Oct 2009 18:57:29 +0200
Source: cdecl
Binary: cdecl
Architecture: source i386
Version: 2.5-11
Distribution: unstable
Urgency: low
Maintainer: Fredrik Hallenberg <[email protected]>
Changed-By: Fredrik Hallenberg <[email protected]>
Description:
cdecl - Turn English phrases to C or C++ declarations
Closes: 550373
Changes:
cdecl (2.5-11) unstable; urgency=low
.
* Applied patch from Colin Watson <[email protected]>:
Rename getline to get_line to avoid conflict with POSIX:2008.
(closes: #550373)
Checksums-Sha1:
2791f35ee92d57fbda2ee75143f15ca224c3febe 942 cdecl_2.5-11.dsc
2c0391b5f6aee9bcb3fb344b97a63f4c31ddfa86 3222 cdecl_2.5-11.diff.gz
670f3ae2225a5b560e49120f1b6d26b5f7d83a10 26282 cdecl_2.5-11_i386.deb
Checksums-Sha256:
bb6dc4bca93127efe06180bd5f43a25004bef9d33fd87bd1221a14f6c7c98a2a 942
cdecl_2.5-11.dsc
1a9e5f75e725817e94a55fb423305196459e87e52249e623f37b8b0540689c28 3222
cdecl_2.5-11.diff.gz
7fc609329c70282217c0b156ed172d5219a5a86571585a1a1e3b3565c0f1c898 26282
cdecl_2.5-11_i386.deb
Files:
83861609db9fd04d66126286b6310145 942 devel optional cdecl_2.5-11.dsc
70a0efe29695a65b7d6e6aa622ea7aa9 3222 devel optional cdecl_2.5-11.diff.gz
34d5128266fb015076220e4a9511e732 26282 devel optional cdecl_2.5-11_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iD8DBQFKz2yQ0RXQZ6pf16wRAhjrAJ42ZD1eT1bCVc542diFGiwvd+4eXwCcCEgF
zNJttyHgdp2EfKRPavTud3Q=
=T+sJ
-----END PGP SIGNATURE-----
--- End Message ---