Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2002 07:55:53 -0700 (PDT)
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/bin/ps ps.c
Message-ID:  <200206201455.g5KEtst98000@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
sobomax     2002/06/20 07:55:53 PDT

  Modified files:
    bin/ps               ps.c 
  Log:
  Don't try to decode old-style options if the argv[1] begins with `-' and the
  second character represents some option taking an argument. This fixes
  problem when ps(1) is invoked for examply as follows:
  
  $ ps -Ufoobar1234
  
  the above example results in option string being interpreted as
  -U foobarp1234 - note extra `p'.
  
  Reported by:    Vladimir Sotnikov <vovan@kyivstar.net>
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.55      +28 -10    src/bin/ps/ps.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206201455.g5KEtst98000>