emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master ac59d53: Fix a typo in last commit


From: Eli Zaretskii
Subject: [Emacs-diffs] master ac59d53: Fix a typo in last commit
Date: Mon, 25 May 2015 15:09:28 +0000

branch: master
commit ac59d538982d040c215ef7689f253abbbfe3921a
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix a typo in last commit
    
    * lib-src/etags.c (C_entries): Fix a typo.
    
    * test/etags/ETAGS.good_1:
    * test/etags/ETAGS.good_2:
    * test/etags/ETAGS.good_3:
    * test/etags/ETAGS.good_4:
    * test/etags/ETAGS.good_5:
    * test/etags/CTAGS.good: Update due to the change in etags.c.
---
 lib-src/etags.c         |    2 +-
 test/etags/CTAGS.good   |    2 +-
 test/etags/ETAGS.good_1 |    4 ++--
 test/etags/ETAGS.good_2 |    4 ++--
 test/etags/ETAGS.good_3 |    4 ++--
 test/etags/ETAGS.good_4 |    4 ++--
 test/etags/ETAGS.good_5 |    4 ++--
 7 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/lib-src/etags.c b/lib-src/etags.c
index 73dd5a8..f124d29 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -3355,7 +3355,7 @@ C_entries (int c_ext, FILE *inf)
                                {
                                  linebuffer_setlen (&token_name, toklen);
                                  sprintf (token_name.buffer, "%.*s",
-                                          newlb.buffer + tokoff);
+                                          toklen, newlb.buffer + tokoff);
                                }
                              token.named = true;
                            }
diff --git a/test/etags/CTAGS.good b/test/etags/CTAGS.good
index 045c52a..2cfadb9 100644
--- a/test/etags/CTAGS.good
+++ b/test/etags/CTAGS.good
@@ -1,4 +1,3 @@
-       objc-src/Subprocess.m   /address@hidden Subprocess(Private)$/
 #a-defer-word  forth-src/test-forth.fth        /^defer #a-defer-word$/
 #some-storage  forth-src/test-forth.fth        /^2000 buffer: #some-storage$/
 $      make-src/Makefile       /^      @-$(MAKE) OPTIONS='--no-members' 
${LATEST}ediff$/
@@ -1061,6 +1060,7 @@ Pkg1_Proc2/p      ada-src/waroquiers.ada  /^  procedure 
Pkg1_Proc2 (I : Integer);$/
 Pkg1_Proc2/p   ada-src/waroquiers.ada  /^  procedure Pkg1_Proc2 (I : Integer) 
is$/
 PostControls   pyt-src/server.py       /^    def PostControls(self):$/
 Pre_Call_State/t       ada-src/2ataspri.ads    /^   type Pre_Call_State is new 
System.Address;$/
+Private        objc-src/Subprocess.m   /address@hidden Subprocess(Private)$/
 Private_T/b    ada-src/etags-test-for.ada      /^    task body Private_T is$/
 Private_T/b    ada-src/waroquiers.ada  /^    task body Private_T is$/
 Private_T/k    ada-src/etags-test-for.ada      /^    task Private_T;$/
diff --git a/test/etags/ETAGS.good_1 b/test/etags/ETAGS.good_1
index dfaa5e1..ebd079f 100644
--- a/test/etags/ETAGS.good_1
+++ b/test/etags/ETAGS.good_1
@@ -2366,10 +2366,10 @@ objc-src/Subprocess.h,98
 #define BUFFERSIZE 43,1267
 @interface Subprocess:Subprocess45,1292
 
-objc-src/Subprocess.m,447
+objc-src/Subprocess.m,446
 #define        PTY_TEMPLATE 20,494
 #define        PTY_LENGTH 21,528
address@hidden Subprocess(Private)32,737
address@hidden Subprocess(Private)32,737
 - childDidExit39,851
 - fdHandler:fdHandler67,1589
 showError 98,2360
diff --git a/test/etags/ETAGS.good_2 b/test/etags/ETAGS.good_2
index b0b08b1..12554bd 100644
--- a/test/etags/ETAGS.good_2
+++ b/test/etags/ETAGS.good_2
@@ -2934,11 +2934,11 @@ objc-src/Subprocess.h,98
 #define BUFFERSIZE 43,1267
 @interface Subprocess:Subprocess45,1292
 
-objc-src/Subprocess.m,477
+objc-src/Subprocess.m,476
 #define        PTY_TEMPLATE 20,494
 #define        PTY_LENGTH 21,528
 static void showError(23,551
address@hidden Subprocess(Private)32,737
address@hidden Subprocess(Private)32,737
 - childDidExit39,851
 - fdHandler:fdHandler67,1589
 showError 98,2360
diff --git a/test/etags/ETAGS.good_3 b/test/etags/ETAGS.good_3
index a8839e6..714903c 100644
--- a/test/etags/ETAGS.good_3
+++ b/test/etags/ETAGS.good_3
@@ -2683,10 +2683,10 @@ objc-src/Subprocess.h,98
 #define BUFFERSIZE 43,1267
 @interface Subprocess:Subprocess45,1292
 
-objc-src/Subprocess.m,447
+objc-src/Subprocess.m,446
 #define        PTY_TEMPLATE 20,494
 #define        PTY_LENGTH 21,528
address@hidden Subprocess(Private)32,737
address@hidden Subprocess(Private)32,737
 - childDidExit39,851
 - fdHandler:fdHandler67,1589
 showError 98,2360
diff --git a/test/etags/ETAGS.good_4 b/test/etags/ETAGS.good_4
index 6fb92f0..5dd8d55 100644
--- a/test/etags/ETAGS.good_4
+++ b/test/etags/ETAGS.good_4
@@ -2530,10 +2530,10 @@ objc-src/Subprocess.h,98
 #define BUFFERSIZE 43,1267
 @interface Subprocess:Subprocess45,1292
 
-objc-src/Subprocess.m,447
+objc-src/Subprocess.m,446
 #define        PTY_TEMPLATE 20,494
 #define        PTY_LENGTH 21,528
address@hidden Subprocess(Private)32,737
address@hidden Subprocess(Private)32,737
 - childDidExit39,851
 - fdHandler:fdHandler67,1589
 showError 98,2360
diff --git a/test/etags/ETAGS.good_5 b/test/etags/ETAGS.good_5
index 8055c59..526ad40 100644
--- a/test/etags/ETAGS.good_5
+++ b/test/etags/ETAGS.good_5
@@ -3415,11 +3415,11 @@ objc-src/Subprocess.h,98
 #define BUFFERSIZE 43,1267
 @interface Subprocess:Subprocess45,1292
 
-objc-src/Subprocess.m,477
+objc-src/Subprocess.m,476
 #define        PTY_TEMPLATE 20,494
 #define        PTY_LENGTH 21,528
 static void showError(23,551
address@hidden Subprocess(Private)32,737
address@hidden Subprocess(Private)32,737
 - childDidExit39,851
 - fdHandler:fdHandler67,1589
 showError 98,2360



reply via email to

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