Your message dated Thu, 17 Dec 2015 19:36:52 +0000
with message-id <[email protected]>
and subject line Bug#808061: Removed package(s) from unstable
has caused the Debian Bug report #672831,
regarding rats: FTBFS on hurd-i386.
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.)
--
672831: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672831
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rats
Severity: important
Tags: patch
Dear Maintainer,
rats currently FTBFS on hurd-i386 because of the use of the PATH_MAX macro,
which is not defined on Hurd. The attached patch should fix this issue.
WBR,
Cyril Roelandt.
-- System Information:
Debian Release: wheezy/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hurd-i386 (i686-AT386)
Kernel: GNU-Mach 1.3.99/Hurd-0.3
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- rats-2.3.orig/engine.c 2009-06-29 21:08:26.000000000 +0000
+++ rats-2.3/engine.c 2012-05-13 21:15:33.000000000 +0000
@@ -1051,11 +1051,9 @@
!strcmp(dirdata->d_name,"..")) {
continue;
}
- buf=calloc(PATH_MAX,1);
- sprintf(buf,
- "%s/%s",
- filename,
- dirdata->d_name);
+ size_t len = snprintf(NULL, 0, "%s/%s", filename, dirdata->d_name) + 1;
+ buf = calloc(len, 1);
+ snprintf(buf, len, "%s/%s", filename, dirdata->d_name);
process_file(buf,forcelang);
}
#endif
@@ -1093,11 +1091,15 @@
/* Symbolic link check */
if(S_ISLNK(fstat.st_mode)) {
if(flags & FOLLOW_SYMLINK) {
- char *symname;
- symname=calloc(PATH_MAX,1);
- if(readlink(filename,symname,PATH_MAX)==-1) {
- return;
- }
+ char *symname;
+ struct stat buf;
+ if(lstat(filename, &buf)==-1) {
+ return;
+ }
+ symname=calloc(buf.st_size, 1);
+ if(readlink(filename,symname,buf.st_size)==-1) {
+ return;
+ }
process_file(symname,forcelang);
}
return;
--- End Message ---
--- Begin Message ---
Version: 2.3-1+rm
Dear submitter,
as the package rats has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/808061
The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].
Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)
--- End Message ---