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

Liviu Chircu liviu at opensips.org
Fri Jan 5 10:25:34 EST 2018


  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d8a7a15d7034b89abb462c676001b32d3287e2b7
      https://github.com/OpenSIPS/opensips/commit/d8a7a15d7034b89abb462c676001b32d3287e2b7
  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