[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:52:00 UTC 2018


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

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

Author: dteske
Date: Wed Jun 20 05:50:55 UTC 2018
New revision: 335407
URL: https://svnweb.freebsd.org/changeset/base/335407

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/10/
  stable/10/lib/libdpv/dialog_util.c
  stable/10/lib/libdpv/dprompt.c
  stable/10/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