HeikoStamer / libtmcg

LibTMCG is a free C++ library for creating secure and verifiable online card games
https://www.nongnu.org/libtmcg/
GNU General Public License v2.0
18 stars 2 forks source link

Replace == with single equals #1

Closed drscream closed 5 years ago

drscream commented 5 years ago

The "test" command, as well as the "[" command, are not required to know the "==" operator. Only a few implementations like bash and some versions of ksh support it.

When you run "test foo == foo" on a platform that does not support the "==" operator, the result will be "false" instead of "true". This can lead to unexpected behavior.

HeikoStamer commented 5 years ago

Thanks for reporting this issue. I will merge your pull request in the project master repository soon.

HeikoStamer commented 5 years ago

The non-standard operator "==" of test in file configure.ac has been replaced by "=" as indicated by this pull request. The changes in the master repository have be also pushed to github. Thanks again for this contribution.