]> Shamusworld >> Repos - rln/commitdiff
Fix for stupid bug that truncated -i symbols to 7 chars instead of 8.
authorShamus Hammons <jlhamm@acm.org>
Sat, 28 Nov 2015 20:01:27 +0000 (14:01 -0600)
committerShamus Hammons <jlhamm@acm.org>
Sat, 28 Nov 2015 20:01:27 +0000 (14:01 -0600)
rln.c

diff --git a/rln.c b/rln.c
index 1dd7520a77f5489966c7030a8cf8b229c9ac3da7..8778d8f245a9b4702be919524f418ec5a499ae12 100644 (file)
--- a/rln.c
+++ b/rln.c
@@ -2952,8 +2952,8 @@ int doargs(int argc, char * argv[])
                                // handle -i (Truncation)
                                else
                                {
-                                       if (strlen(isym) > 7)
-                                               isym[7] = '\0';
+                                       if (strlen(isym) > 8)
+                                               isym[8] = '\0';
                                }
 
                                // Place include files in the DATA segment only