Source-Changes-HG archive

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

[src/trunk]: src/libexec/ld.elf_so A line whose length is 0 always begins wit...



details:   https://anonhg.NetBSD.org/src/rev/5218081d0619
branches:  trunk
changeset: 537763:5218081d0619
user:      junyoung <junyoung%NetBSD.org@localhost>
date:      Sat Oct 05 16:26:37 2002 +0000

description:
A line whose length is 0 always begins with '#'.

diffstat:

 libexec/ld.elf_so/paths.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 1536896e9fac -r 5218081d0619 libexec/ld.elf_so/paths.c
--- a/libexec/ld.elf_so/paths.c Sat Oct 05 16:25:34 2002 +0000
+++ b/libexec/ld.elf_so/paths.c Sat Oct 05 16:26:37 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: paths.c,v 1.23 2002/10/05 16:13:31 junyoung Exp $       */
+/*     $NetBSD: paths.c,v 1.24 2002/10/05 16:26:37 junyoung Exp $       */
 
 /*
  * Copyright 1996 Matt Thomas <matt%3am-software.com@localhost>
@@ -358,8 +358,7 @@
 
                len = strcspn(b, "\n#");
                if (len == 0) {
-                       if (*b == '#')
-                               b += strcspn(b, "\n");                  
+                       b += strcspn(b, "\n");                  
                        continue;
                }
 



Home | Main Index | Thread Index | Old Index