[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-cvs
Subject:    Re: [PHP-CVS] com php-src: Merge from GitHub: ext/opcache/ZendAccelerator.c ext/opcache/ZendAccelera
From:       Dmitry Stogov <dmitry () zend ! com>
Date:       2013-07-31 8:26:48
Message-ID: CA+9eiLuBqmvUUxx1HEUj67L-gXvqARN210jbamwcYw+BaS2ALw () mail ! gmail ! com
[Download RAW message or body]


Something like the following? (it wasn't tested)


#define ACCELERATOR_VERSION_BASE "7.0.3"
#define ACCELERATOR_VERSION_SUFFIX "-dev"

#iif PHP_EXTRA_VERSION
# define ACCELERATOR_VERSION ACCELERATOR_VERSION_BASE
ACCELERATOR_VERSION_SUFFIX
#else
# define ACCELERATOR_VERSION ACCELERATOR_VERSION_BASE " (" PHP_VERSION ")"
#endif


On Wed, Jul 31, 2013 at 12:27 AM, Stas Malyshev <smalyshev@sugarcrm.com>wrote:

> Hi!
>
> > I agree, this "-dev" suffix is annoying in PHP releases.
> > However, I don't see a simple way to avoid it.
>
> Can we reuse PHP_EXTRA_VERSION from php_version.h? This was dev code
> will keep -dev, but releases would have no suffix. RCs would be marked
> as RC but that shouldn't be a big problem I think.
>
> --
> Stanislav Malyshev, Software Architect
> SugarCRM: http://www.sugarcrm.com/
> (408)454-6900 ext. 227
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic