gnokii-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-36


From: Daniele Forsi
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-36-g1a909b3
Date: Mon, 12 Jul 2010 14:11:47 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libgnokii and core programs".

The branch, master has been updated
       via  1a909b335139670f4f8662d4fc5eb85a7a83b388 (commit)
      from  87e25c847d9fe078832b69584db97101f89b6ee0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=1a909b335139670f4f8662d4fc5eb85a7a83b388


commit 1a909b335139670f4f8662d4fc5eb85a7a83b388
Author: Daniele Forsi <address@hidden>
Date:   Mon Jul 12 16:06:34 2010 +0200

    Don't throw an error when --writephonebook reaches end of file after 
reading a complete entry

diff --git a/ChangeLog b/ChangeLog
index 55e0cb7..8f01c9d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -27,6 +27,9 @@
       and it prevents the use of direct dialling from phonebooks;
       see gnokii man page and GSM 07.07             (Daniele Forsi)
     o for GetSMSStatus sum messages from ME and SM      (Paweł Kot)
+ * gnokii updates
+    o don't throw an error when --writephonebook reaches end of
+      file after reading a complete entry           (Daniele Forsi)
 
 0.6.29
 ======
diff --git a/gnokii/gnokii-phonebook.c b/gnokii/gnokii-phonebook.c
index 0b17b27..3b7510b 100644
--- a/gnokii/gnokii-phonebook.c
+++ b/gnokii/gnokii-phonebook.c
@@ -371,6 +371,11 @@ gn_error writephonebook(int argc, char *argv[], gn_data 
*data, struct gn_statema
                        break;
                }
 
+               if (feof(stdin)) {
+                       error = GN_ERR_NONE;
+                       goto out;
+               }
+
                if (error != GN_ERR_NONE)
                        goto out;
 

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                 |    3 +++
 gnokii/gnokii-phonebook.c |    5 +++++
 2 files changed, 8 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]