ports/85994: sysutils/most will not acept input ofr % and g commands

Kevin Oberman oberman at es.net
Sun Sep 11 23:00:28 UTC 2005


>Number:         85994
>Category:       ports
>Synopsis:       sysutils/most will not acept input ofr % and g commands
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 11 23:00:26 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Kevin Oberman
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
ESnet - The Energy Sciences Network
>Environment:
System: FreeBSD ptavv.es.net 4.11-STABLE FreeBSD 4.11-STABLE #37: Fri Jan 28 11:48:02 PST 2005 oberman at ptavv.es.net:/usr/obj/usr/src/sys/PTAVV i386


	
>Description:

sysutils/most ignores the g anbd % commands. This can be fixed by
initializing the return variable to 1.

I have sent this to the author ans I am not ocnfident that this is hte
ideal fix, but it does make those commands work again.
	
>How-To-Repeat:

Just run most(1) and enter g or % followed by an number. Itr does nothing.
	
>Fix:
--- src/window.c.orig   Sun Sep 11 15:45:14 2005
+++ src/window.c        Sun Sep 11 15:45:29 2005
@@ -238,7 +238,7 @@

 int most_read_from_minibuffer(char *prompt, char *what, unsigned int buflen)
 {
-   int i = 0;
+   int i = 1;
    char *buf;
    unsigned int len;


	


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list