zoukankan      html  css  js  c++  java
  • port php to android—Fix "undefined reference to zm_startup_password"

    https://github.com/thekid/php-src/commit/4c2b86ef006c71523ca2a8a613cc779773a2bcc6

    /opt/cBPM-android/php-5.6.14/ext/standard/basic_functions.c

    @@ -1821,6 +1821,7 @@ ZEND_BEGIN_ARG_INFO(arginfo_getlastmod, 0)
     ZEND_END_ARG_INFO()
     /* }}} */
     /* {{{ password.c */
    +#if HAVE_CRYPT
     ZEND_BEGIN_ARG_INFO_EX(arginfo_password_hash, 0, 0, 2)
         ZEND_ARG_INFO(0, password)
         ZEND_ARG_INFO(0, algo)
    @@ -1838,6 +1839,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_password_verify, 0, 0, 2)
         ZEND_ARG_INFO(0, password)
         ZEND_ARG_INFO(0, hash)
     ZEND_END_ARG_INFO()
    +#endif
     /* }}} */
     /* {{{ proc_open.c */
     #ifdef PHP_CAN_SUPPORT_PROC_OPEN
    @@ -2846,10 +2848,12 @@ const zend_function_entry basic_functions[] = { /* {{{ */
         PHP_FE(base64_decode,                                                    arginfo_base64_decode)
         PHP_FE(base64_encode,                                                    arginfo_base64_encode)
     
    +#if HAVE_CRYPT
         PHP_FE(password_hash,                                                    arginfo_password_hash)
         PHP_FE(password_get_info,                                                arginfo_password_get_info)
         PHP_FE(password_needs_rehash,                                            arginfo_password_needs_rehash)
         PHP_FE(password_verify,                                                    arginfo_password_verify)
    +#endif
         PHP_FE(convert_uuencode,                                                arginfo_convert_uuencode)
         PHP_FE(convert_uudecode,                                                arginfo_convert_uudecode)
     
    @@ -3600,7 +3604,10 @@ PHP_MINIT_FUNCTION(basic) /* {{{ */
         BASIC_MINIT_SUBMODULE(browscap)
         BASIC_MINIT_SUBMODULE(standard_filters)
         BASIC_MINIT_SUBMODULE(user_filters)
    +
    +#if HAVE_CRYPT
         BASIC_MINIT_SUBMODULE(password)
    +#endif
     
     #if defined(HAVE_LOCALECONV) && defined(ZTS)
         BASIC_MINIT_SUBMODULE(localeconv)


    <script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
    阅读(95) | 评论(0) | 转发(0) |
    给主人留下些什么吧!~~
    评论热议
  • 相关阅读:
    tensorflow 学习
    join-semi and join-anti
    深入拆解Tomcat_Jetty 笔记
    Set化
    DDD实战-笔记
    高并发系统设计-笔记
    技术管理
    性能调优-笔记
    程序员是如何思考的-笔记
    LeetCode
  • 原文地址:https://www.cnblogs.com/ztguang/p/12649077.html
Copyright © 2011-2022 走看看