[ltrace-commits] 01/02: Don't skip over "import" statements twice

Petr Machata pmachata-guest at moszumanska.debian.org
Tue Apr 21 15:05:43 UTC 2015


This is an automated email from the git hooks/post-receive script.

pmachata-guest pushed a commit to branch master
in repository ltrace.

commit 1c32cd412b3ce87a323c0e95459517666d96b779
Author: Petr Machata <pmachata at redhat.com>
Date:   Tue Apr 21 16:59:24 2015 +0200

    Don't skip over "import" statements twice
    
    - This bug was brought in by my on-the-fly edits to adapt Roman's
      patchset to the latest changes.
---
 read_config_file.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/read_config_file.c b/read_config_file.c
index 45daa9c..dabe8be 100644
--- a/read_config_file.c
+++ b/read_config_file.c
@@ -1079,7 +1079,6 @@ static void
 parse_import(struct protolib_cache *cache, struct protolib *plib,
              struct locus *loc, char **str)
 {
-	(*str) += strlen("import");
 	eat_spaces(str);
 
 	char *file_name = parse_string_literal(loc, str);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/ltrace.git



More information about the ltrace-commits mailing list