[Bug 204252] usr/src/lib/libdpv/dprompt.c:92: possible bad if ?

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jun 20 05:45:53 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204252

--- Comment #2 from commit-hook at freebsd.org ---
A commit references this bug:

Author: dteske
Date: Wed Jun 20 05:45:41 UTC 2018
New revision: 335406
URL: https://svnweb.freebsd.org/changeset/base/335406

Log:
  dpv(3): MFC r330943, r335264

  r330943:
  Fix bad error messages from dpv(3)

  Before = dpv: <__func__>: posix_spawnp(3): No such file or directory
   After = dpv: <path/cmd>: No such file or directory

  Most notably, show the 2nd argument being passed to posix_spawnp(3)
  so we know what path/cmd failed.

  Also, we don't need to have "posix_spawnp(3)" in the error message
  nor the function because that can [a] change and [b] traversed using
  a debugger if necessary.

  r335264:
  Fix comparison between pointer and char literal

  PR:           misc/204252
  Reported by:  David Binderman <dcb314 at hotmail.com>
  Sponsored by: Smule, Inc.

Changes:
_U  stable/11/
  stable/11/lib/libdpv/dialog_util.c
  stable/11/lib/libdpv/dprompt.c
  stable/11/lib/libdpv/util.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list