NetBSD-Bugs archive

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

bin/41924: nvi: string searching broken on LP64



>Number:         41924
>Category:       bin
>Synopsis:       nvi: string searching broken on LP64
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 23 12:15:00 +0000 2009
>Originator:     Julian Coleman
>Release:        NetBSD 5.0_RC2
>Organization:
        None
>Environment:
System: NetBSD biscuit.int.coris.org.uk 5.0_RC2 NetBSD 5.0_RC2 (ULTRA-PCI) #3: 
Sun Mar 15 15:46:22 GMT 2009 
root%sirion.coris.org.uk@localhost:/usr/obj/sparc64-netbsd-5/sparc64/usr/cvs/netbsd-5/src/sys/arch/sparc64/compile/ULTRA-PCI
 sparc64
Architecture: sparc64
Machine: sparc64
>Description:
        Searching for a long string is broken on LP64 architectures (at least
        sparc64 and amd64) in nvi.  Tested on sparc64/4.99.72, sparc64/5.0RC2
        and amd64/current.  The same tests succeed on i386.  (Thanks to ober@
>How-To-Repeat:
        Edit a new file with vi.
        Enter a line containing:
          g_thread_functions_for_glib_use
        Search for the whole string.  See it display "Pattern not found".
        Note, that searching without the final 'e' will succeed.
        Note, also, that amd64 fails for the string:
          abcdabcdabcdabcdabcdabcdabcdabcd
        (it advances the cursor one char each time 'n' is pressed)
>Fix:
        Unknown.



Home | Main Index | Thread Index | Old Index