[OpenSIPS-Devel] [OpenSIPS/opensips] 6954ff: menuconfig: Fix a PREFIX handling bug

Liviu Chircu liviu at opensips.org
Fri Jan 5 10:24:20 EST 2018


  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6954ffdbd27d1db38bb53f12bf37104d6f65f92a
      https://github.com/OpenSIPS/opensips/commit/6954ffdbd27d1db38bb53f12bf37104d6f65f92a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-01-05 (Fri, 05 Jan 2018)

  Changed paths:
    M menuconfig/parser.c

  Log Message:
  -----------
  menuconfig: Fix a PREFIX handling bug

This patch fixes a bug where menuconfig corrupts the Makefile.conf
PREFIX variable value by incorrectly trimming the last char in an
attempt to ensure that the value has a trailing '/' char. This would
happen each time the user launches menuconfig and chooses
"Exit & Save All Changes".

Reported by @Jeffrey2019 on GitHub.
Fixes #1248.

(cherry picked from commit aab1ec7e0dcefdef173e327cd35a857895ad3a75)




More information about the Devel mailing list