[Pkg-jed-commit] r802 - in jed/branches/0.99.19/debian: . patches

Jörg Sommer jo-guest at alioth.debian.org
Tue Jul 10 13:01:34 UTC 2007


Author: jo-guest
Date: 2007-07-10 13:01:34 +0000 (Tue, 10 Jul 2007)
New Revision: 802

Added:
   jed/branches/0.99.19/debian/patches/fix-read_mini.dpatch
Modified:
   jed/branches/0.99.19/debian/changelog
   jed/branches/0.99.19/debian/patches/00list
Log:
• debian/patches/fix-read_mini.dpatch
  · A new (very small) patch to fix the output of read_mini() in BATCH mode.

• debian/changelog
  · Started a new Debian version.


Modified: jed/branches/0.99.19/debian/changelog
===================================================================
--- jed/branches/0.99.19/debian/changelog	2007-07-09 08:06:06 UTC (rev 801)
+++ jed/branches/0.99.19/debian/changelog	2007-07-10 13:01:34 UTC (rev 802)
@@ -1,3 +1,11 @@
+jed (1:0.99.19~pre95-3) UNREALEASED; urgency=low
+
+  * debian/patches/fix-read_mini.dpatch: New patch to fix to prevent the
+    ouput of (default ) of read_mini() in BATCH mode, if the default
+    string is empty.
+
+ -- Jörg Sommer <joerg at alea.gnuu.de>  Tue, 10 Jul 2007 14:56:41 +0200
+
 jed (1:0.99.19~pre95-2) experimental; urgency=low
 
   * debian/patches/fix-update-before-key-hook.dpatch: The LASTKEY

Modified: jed/branches/0.99.19/debian/patches/00list
===================================================================
--- jed/branches/0.99.19/debian/patches/00list	2007-07-09 08:06:06 UTC (rev 801)
+++ jed/branches/0.99.19/debian/patches/00list	2007-07-10 13:01:34 UTC (rev 802)
@@ -24,3 +24,4 @@
 extend-jed_faq
 fix-help.sl
 extend-help.sl
+fix-read_mini

Added: jed/branches/0.99.19/debian/patches/fix-read_mini.dpatch
===================================================================
--- jed/branches/0.99.19/debian/patches/fix-read_mini.dpatch	                        (rev 0)
+++ jed/branches/0.99.19/debian/patches/fix-read_mini.dpatch	2007-07-10 13:01:34 UTC (rev 802)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix-read_mini.dpatch by Jörg Sommer <joerg at alea.gnuu.de>
+##
+## DP: In BATCH mode read_mini() should not print (default %s) if the default
+## DP: value is an empty sting. This is also the behaviour in interactive mode.
+
+ at DPATCH@
+diff -urNad 0.99.19~/src/misc.c 0.99.19/src/misc.c
+--- 0.99.19~/src/misc.c	2006-06-03 18:27:52.000000000 +0200
++++ 0.99.19/src/misc.c	2007-07-10 14:54:27.489639345 +0200
+@@ -276,7 +276,7 @@
+      {
+ 	if (prompt != NULL)
+ 	  fputs (prompt, stdout);
+-	if (deflt != NULL)
++	if ((deflt != NULL) && (*deflt != 0))
+ 	  fprintf (stdout, "(default %s)", deflt);
+ 	
+ 	fflush (stdout);


Property changes on: jed/branches/0.99.19/debian/patches/fix-read_mini.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-jed-commit mailing list