Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
ec826c5a
Commit
ec826c5a
authored
Jan 03, 2018
by
Jisi Liu
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/3.5.x' into master
parents
383a4941
39f577c3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
protobuf_optimized_pip.sh
python/release/wheel/protobuf_optimized_pip.sh
+3
-6
io_win32.cc
src/google/protobuf/stubs/io_win32.cc
+1
-1
No files found.
python/release/wheel/protobuf_optimized_pip.sh
View file @
ec826c5a
...
...
@@ -6,7 +6,7 @@ set -ex
# Print usage and fail.
function
usage
()
{
echo
"Usage: protobuf_optimized_pip.sh PROTOBUF_VERSION
PYPI_USERNAME PYPI_PASSWORD
"
>
&2
echo
"Usage: protobuf_optimized_pip.sh PROTOBUF_VERSION"
>
&2
exit
1
# Causes caller to exit because we use -e.
}
...
...
@@ -25,7 +25,7 @@ if [ $0 != ./protobuf_optimized_pip.sh ]; then
exit
1
fi
if
[
$#
-lt
3
]
;
then
if
[
$#
-lt
1
]
;
then
usage
exit
1
fi
...
...
@@ -63,7 +63,4 @@ do
build_wheel
$PYTHON_VERSION
done
/opt/python/cp27-cp27mu/bin/twine upload wheelhouse/
*
<<
!
$PYPI_USERNAME
$PYPI_PASSWORD
!
/opt/python/cp27-cp27mu/bin/twine upload wheelhouse/
*
src/google/protobuf/stubs/io_win32.cc
View file @
ec826c5a
...
...
@@ -91,7 +91,7 @@ struct CharTraits<wchar_t> {
template
<
typename
char_type
>
bool
null_or_empty
(
const
char_type
*
s
)
{
return
s
==
nullptr
||
*
s
==
0
;
return
s
==
NULL
||
*
s
==
0
;
}
// Returns true if the path starts with a drive letter, e.g. "c:".
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment