aboutsummaryrefslogtreecommitdiffstats
path: root/plugin_file.c
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2007-04-05 15:25:19 +0200
committerReinhard Tartler <siretart@tauware.de>2007-04-05 15:25:19 +0200
commitd0c7529cb9833ede3595051df5599a11fe03be48 (patch)
tree4e63b581f10aa58e714cbf5f08f8c4ade0c09fff /plugin_file.c
parent3811bca55e79006fb5c3dc8f25d8ef29ccdda758 (diff)
downloadlcd4linux-d0c7529cb9833ede3595051df5599a11fe03be48.tar.gz
import new upstream
Diffstat (limited to 'plugin_file.c')
-rw-r--r--plugin_file.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/plugin_file.c b/plugin_file.c
index 368eec9..ed9faa8 100644
--- a/plugin_file.c
+++ b/plugin_file.c
@@ -1,4 +1,5 @@
-/* $Id: plugin_file.c,v 1.2 2006/07/19 01:57:01 cmay Exp $
+/* $Id: plugin_file.c 728 2007-01-14 11:14:38Z michael $
+ * $URL: https://ssl.bulix.org/svn/lcd4linux/branches/0.10.1/plugin_file.c $
*
* plugin to perform simple file operations
*
@@ -21,14 +22,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- *
- * $Log: plugin_file.c,v $
- * Revision 1.2 2006/07/19 01:57:01 cmay
- * fixed double read of last line in file
- *
- * Revision 1.1 2006/02/19 15:42:19 reinelt
- * file plugin from Chris Maj
- *
*/
/*
@@ -70,6 +63,7 @@ static void my_readline(RESULT * result, RESULT * arg1, RESULT * arg2)
fp = fopen(R2S(arg1), "r");
if (!fp) {
error("readline couldn't open file '%s'", R2S(arg1));
+ value[0] = '\0';
} else {
i = 0;
while (!feof(fp) && i++ < reqline) {