Skip to content

Commit

Permalink
Prepare PECL release 1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardok committed Feb 11, 2021
1 parent ac57c57 commit 44f4f18
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 6 deletions.
24 changes: 20 additions & 4 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
<email>[email protected]</email>
<active>yes</active>
</contributor>
<date>2021-01-21</date>
<time>18:00:00</time>
<date>2021-02-11</date>
<time>05:00:00</time>
<version>
<release>1.0.4</release>
<release>1.0.5</release>
<api>0.8.0</api>
</version>
<stability>
Expand All @@ -34,7 +34,7 @@
</stability>
<license uri="http://opensource.org/licenses/BSD-2-Clause">BSD 2-clause</license>
<notes>
Check if smbc_setOptionProtocols is available, as at least one distro might have a libsmbclient that is too old.
Fixes possible segfault in php_smb_ops_close.
</notes>
<contents>
<dir name="/">
Expand Down Expand Up @@ -82,6 +82,22 @@
<providesextension>smbclient</providesextension>
<extsrcrelease/>
<changelog>
<release>
<date>2021-02-11</date>
<version>
<release>1.0.5</release>
<api>0.8.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://opensource.org/licenses/BSD-2-Clause">BSD 2-clause</license>
<notes>
- Remi fixed a possible segfault.
- Minor documentation update.
</notes>
</release>
<release>
<date>2021-01-21</date>
<version>
Expand Down
2 changes: 1 addition & 1 deletion php_smbclient.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

#include <libsmbclient.h>

#define PHP_SMBCLIENT_VERSION "1.0.4"
#define PHP_SMBCLIENT_VERSION "1.0.5"

extern zend_module_entry smbclient_module_entry;
#define phpext_smbclient_ptr &smbclient_module_entry
Expand Down
2 changes: 1 addition & 1 deletion smb_streams.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ static php_smbclient_state *php_smb_pool_get(php_stream_context *context, const
}
}

/* Crate a new state and save it in the pool */
/* Create a new state and save it in the pool */
pool = emalloc(sizeof(*pool));
memcpy(pool->hash, hash, 20);
pool->nb = 1;
Expand Down

0 comments on commit 44f4f18

Please sign in to comment.