[Debian-med-packaging] Bug#700088: boxshade: fails finding the alignment file

giorgio maccari giorgio.maccari at gmail.com
Mon Feb 11 09:36:47 UTC 2013


Dear Maintainer,

The patch that I have submitted on Friday seems to works well just as a
temporary fix to bug 700088 but, as Charles Plessy said, there are still
problems concerning the selection of the default options. Also this is due
to the Gets function declared in bx_read.c. Please consider the new version
of the patch that you will found attached to this mail, as a fix for both
bug 700088 and for the selection of default options.

All my best,
Giorgio Maccari.

####################PATCH#########################
Description: Removes trailing newlines from standard inputs.
Author: Giorgio Maccari <giorgio.maccari at gmail.com>
Bug-Debian: http://bugs.debian.org/700088
--- boxshade-3.3.1.old/bx_read.c 2013-02-08 15:20:14.000000000 +0100
+++ boxshade-3.3.1/bx_read.c 2013-02-11 10:21:04.575015837 +0100
@@ -4,7 +4,11 @@

 char *Gets(char *s, size_t length) {
   fflush(stdout);
-  return fgets(s,length,stdin);
+  fgets(s,length,stdin);
+  char *pos;
+  if ((pos=strchr(s, '\n')) != NULL)
+    *pos = '\0';
+  return s;
 }

 /*
####################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20130211/57461476/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove-newlines.patch
Type: application/octet-stream
Size: 517 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20130211/57461476/attachment.obj>


More information about the Debian-med-packaging mailing list