<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/odbc/c_src, branch OTP-17.5.6.6</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Fix signedness bug</title>
<updated>2014-11-14T02:53:16+00:00</updated>
<author>
<name>Dmitry Belyaev</name>
<email>be.dmitry@gmail.com</email>
</author>
<published>2014-11-13T05:11:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=ba8f70f0e9279e84350be840529c5e9b66f7f55b'/>
<id>ba8f70f0e9279e84350be840529c5e9b66f7f55b</id>
<content type='text'>
The regression was introduced by making byte type signed.

Bitwise OR (|) applied to signed char (byte) and any longer type reqires the former to expand to the same size.
When the char is negative it is expanded with sign bit filling the extra bytes causing the unexpected result.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The regression was introduced by making byte type signed.

Bitwise OR (|) applied to signed char (byte) and any longer type reqires the former to expand to the same size.
When the char is negative it is expanded with sign bit filling the extra bytes causing the unexpected result.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix odbcserver warnings</title>
<updated>2014-11-14T02:53:16+00:00</updated>
<author>
<name>Dmitry Belyaev</name>
<email>be.dmitry@gmail.com</email>
</author>
<published>2014-11-13T04:55:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=d68a307e7e40bf0367d1b2c6e2cc0d5fcadc17da'/>
<id>d68a307e7e40bf0367d1b2c6e2cc0d5fcadc17da</id>
<content type='text'>
These are signaled by -Wall
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are signaled by -Wall
</pre>
</div>
</content>
</entry>
<entry>
<title>Delete odbcserver unused variables</title>
<updated>2014-11-14T02:53:16+00:00</updated>
<author>
<name>Dmitry Belyaev</name>
<email>be.dmitry@gmail.com</email>
</author>
<published>2014-11-13T05:12:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=8aea937d5a2a1edc5ff36a99b5675259d18c88ce'/>
<id>8aea937d5a2a1edc5ff36a99b5675259d18c88ce</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>odbc: Suppress signedness warnings for 'char *'</title>
<updated>2014-07-15T15:36:05+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2014-06-23T23:23:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=211d9b31a73e30f44a428a2328b7705136f263d5'/>
<id>211d9b31a73e30f44a428a2328b7705136f263d5</id>
<content type='text'>
Three different pointer types are used for strings.

SQLCHAR pointer - used against ODBC driver
char pointer - used against erl_interface
byte pointer - used internally

SQLCHAR is 'unsigned char' while erl_interface is 'signed char'

byte pointer should probably not be used at all.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Three different pointer types are used for strings.

SQLCHAR pointer - used against ODBC driver
char pointer - used against erl_interface
byte pointer - used internally

SQLCHAR is 'unsigned char' while erl_interface is 'signed char'

byte pointer should probably not be used at all.
</pre>
</div>
</content>
</entry>
<entry>
<title>Include ctype.h in odbcserver.c for tolower()</title>
<updated>2014-01-10T10:47:33+00:00</updated>
<author>
<name>Anthony Ramine</name>
<email>n.oxyde@gmail.com</email>
</author>
<published>2013-11-15T10:17:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=90cb1857c26431ad8f5266f880b3654dc2dd869e'/>
<id>90cb1857c26431ad8f5266f880b3654dc2dd869e</id>
<content type='text'>
odbcserver.c:2772:12: warning: implicit declaration of function 'tolower' is invalid in C99
      [-Wimplicit-function-declaration]
                str[i] = tolower(str[i]);
                         ^
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
odbcserver.c:2772:12: warning: implicit declaration of function 'tolower' is invalid in C99
      [-Wimplicit-function-declaration]
                str[i] = tolower(str[i]);
                         ^
</pre>
</div>
</content>
</entry>
<entry>
<title>Added a few input checks which prevent odbcserver crash if it's executed</title>
<updated>2013-06-27T05:42:57+00:00</updated>
<author>
<name>Sergei Golovan</name>
<email>sgolovan@gmail.com</email>
</author>
<published>2013-06-27T05:42:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=b8e5024b2d48c5375fa3dd30121724fab9676e99'/>
<id>b8e5024b2d48c5375fa3dd30121724fab9676e99</id>
<content type='text'>
and supplied incorrect data to stdin. A crash example:

echo -en "\x0\x0\x0\x1\x0" | ./odbcserver
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and supplied incorrect data to stdin. A crash example:

echo -en "\x0\x0\x0\x1\x0" | ./odbcserver
</pre>
</div>
</content>
</entry>
<entry>
<title>odbcserver 64bit bug for SQL_C_SLONG type</title>
<updated>2013-03-27T15:47:51+00:00</updated>
<author>
<name>Satoshi Kinoshita</name>
<email>kino@cloudian.com</email>
</author>
<published>2012-11-01T05:56:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=0555a3a947c3b63028daf1c4314c4d6bd4066732'/>
<id>0555a3a947c3b63028daf1c4314c4d6bd4066732</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright years</title>
<updated>2013-01-25T16:58:15+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2013-01-25T16:58:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=3fb4def74a64a63fbb2b28aef6c5920d7db3ad6e'/>
<id>3fb4def74a64a63fbb2b28aef6c5920d7db3ad6e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'kp/odbc-oracle-autocommit-fix/OTP-10735'</title>
<updated>2013-01-24T15:08:03+00:00</updated>
<author>
<name>Fredrik Gustafsson</name>
<email>fredrik@erlang.org</email>
</author>
<published>2013-01-24T15:08:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=96aae6d5dd034108b4a01e4403f6a765486651af'/>
<id>96aae6d5dd034108b4a01e4403f6a765486651af</id>
<content type='text'>
* kp/odbc-oracle-autocommit-fix/OTP-10735:
  Fix aotocommit for Oracle ODBC driver in Linux.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* kp/odbc-oracle-autocommit-fix/OTP-10735:
  Fix aotocommit for Oracle ODBC driver in Linux.
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement ./otp_build configure --enable-silent-rules</title>
<updated>2013-01-15T20:42:34+00:00</updated>
<author>
<name>Anthony Ramine</name>
<email>n.oxyde@gmail.com</email>
</author>
<published>2012-11-28T10:45:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=fed9a8415fc77ed42bf9a94ea421eff4f62c5eb4'/>
<id>fed9a8415fc77ed42bf9a94ea421eff4f62c5eb4</id>
<content type='text'>
With silent rules, the output of make is less verbose and compilation
warnings are easier to spot. Silent rules are disabled by default and
can be disabled or enabled at will by make V=0 and make V=1.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With silent rules, the output of make is less verbose and compilation
warnings are easier to spot. Silent rules are disabled by default and
can be disabled or enabled at will by make V=0 and make V=1.
</pre>
</div>
</content>
</entry>
</feed>
