<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/libserial/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/libserial/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 17 Apr 2015 22:31:33 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/libserial/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>#3 Patch for two issues</title><link>https://sourceforge.net/p/libserial/patches/3/?limit=25#45d0</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed-accepted&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Crayzee Wulf</dc:creator><pubDate>Fri, 17 Apr 2015 22:31:33 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net500a4923ad176503d98361f328f0d9b869e33277</guid></item><item><title>#4 Patch to fix bug #7</title><link>https://sourceforge.net/p/libserial/patches/4/?limit=25#5798</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed-accepted&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Crayzee Wulf</dc:creator><pubDate>Thu, 05 Jun 2014 16:53:16 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net21642442cfa493e5f97b445bd41d1c18a9b722e1</guid></item><item><title>#4 Patch to fix bug #7</title><link>https://sourceforge.net/p/libserial/patches/4/?limit=25#ae19</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This patch has been accepted and is in the latest Subversion code now. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Crayzee Wulf</dc:creator><pubDate>Thu, 05 Jun 2014 16:52:54 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net9d04d001cb76aae01d790a14e69ca3576ccfbd05</guid></item><item><title>Patch to fix bug #7</title><link>https://sourceforge.net/p/libserial/patches/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This patch fixes bug #7.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oliver Schwaneberg</dc:creator><pubDate>Thu, 28 Nov 2013 14:55:48 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netfb14d4425b8f6b805794e10f50eb3a0543ced46a</guid></item><item><title>Patch to fix bug #7</title><link>https://sourceforge.net/p/libserial/patches/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 4 has been modified: Patch to fix bug #7&lt;br /&gt;
Edited By: Crayzee Wulf (crayzeewulf)&lt;br /&gt;
Status updated: u'open' =&amp;gt; u'closed-accepted'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oliver Schwaneberg</dc:creator><pubDate>Thu, 28 Nov 2013 14:55:48 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net0ef35b48b4eb0332f836b2cee4c2c07615fbb74e</guid></item><item><title>Patch for two issues</title><link>https://sourceforge.net/p/libserial/patches/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br /&gt;
I'm currently using libSerial 0.6.0rc1 to communicate with an embedded system at 460800 baud.&lt;/p&gt;
&lt;p&gt;First of all, I noticed that SerialStreams cannot be used with this baud rate, as the corresponding defines are missing within "SerialStreamBuf.cc". I added those missing defines.&lt;/p&gt;
&lt;p&gt;Then, I experienced random segfaults that occur after about 2-45 minutes runtime of my program, which is constantly receiving data at 2.6kB/s. I noticed the unfinished code in PosixSignalDispatcherImpl::SigactionHandler, where currently all incoming signals are passed. I just added a little check at the start of the method to ensure that only IO-signals are processed. Since then I got no segfaults anymore.&lt;/p&gt;
&lt;p&gt;BTW, I also made some changes to get rid of some warnings that occur during compilation.&lt;/p&gt;
&lt;p&gt;I just generated a patch to apply my changes to the src folder of version 0.6.0rc1. Please have a look!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;
oschwa2m&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oliver Schwaneberg</dc:creator><pubDate>Mon, 25 Nov 2013 14:05:13 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net9b772d37d20973704101bfdcf56e247370167b55</guid></item><item><title>Patch for two issues</title><link>https://sourceforge.net/p/libserial/patches/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 3 has been modified: Patch for two issues&lt;br /&gt;
Edited By: Crayzee Wulf (crayzeewulf)&lt;br /&gt;
Status updated: u'open' =&amp;gt; u'closed-accepted'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oliver Schwaneberg</dc:creator><pubDate>Mon, 25 Nov 2013 14:05:13 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net7b7d361c74c229418b7d84e27f23278173ba5be4</guid></item><item><title>Fix build error</title><link>https://sourceforge.net/p/libserial/patches/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Build error (gcc 4.7.3, cross-compiling for ARM):&lt;/p&gt;
&lt;p&gt;SerialPort.cpp: In member function 'void SerialPort::SerialPortImpl::Open()':&lt;br /&gt;
SerialPort.cpp:643:24: error: 'getpid' was not declared in this scope&lt;br /&gt;
SerialPort.cpp: In member function 'void SerialPort::SerialPortImpl::Close()':&lt;br /&gt;
SerialPort.cpp:748:26: error: 'close' was not declared in this scope&lt;br /&gt;
SerialPort.cpp: In member function 'unsigned char SerialPort::SerialPortImpl::ReadByte(unsigned int)':&lt;br /&gt;
SerialPort.cpp:1246:37: error: 'usleep' was not declared in this scope&lt;br /&gt;
SerialPort.cpp: In member function 'void SerialPort::SerialPortImpl::Write(const unsigned char*, unsigned int)':&lt;br /&gt;
SerialPort.cpp:1427:50: error: 'write' was not declared in this scope&lt;br /&gt;
SerialPort.cpp: In member function 'virtual void SerialPort::SerialPortImpl::HandlePosixSignal(int)':&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Simon Dawson</dc:creator><pubDate>Tue, 23 Apr 2013 14:48:02 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net43a628924aaf4c881f78306b9281a733ed717db8</guid></item><item><title>showmanyc method to allow non-blocking read</title><link>https://sourceforge.net/p/libserial/patches/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;One would be able to check for availability of input&lt;br /&gt;
using 's.rdbuf()-&amp;gt;in_avail() &amp;gt; 0', if the method&lt;br /&gt;
'SerialStreamBuf::showmanyc()' is implemented:&lt;br /&gt;
----------------&lt;br /&gt;
std::streamsize SerialStreamBuf::showmanyc() {&lt;/p&gt;
&lt;p&gt;int retval = -1;&lt;/p&gt;
&lt;p&gt;if ( -1 == mFileDescriptor ) {&lt;br /&gt;
return -1;&lt;br /&gt;
};&lt;/p&gt;
&lt;p&gt;if ( mPutbackAvailable ) {&lt;/p&gt;
&lt;p&gt;// We still have a character left in the buffer.&lt;br /&gt;
retval = 1;&lt;/p&gt;
&lt;p&gt;} else {&lt;/p&gt;
&lt;p&gt;// Switch to non-blocking read.&lt;br /&gt;
int flags = fcntl(this-&amp;gt;mFileDescriptor, F_GETFL, 0) ;&lt;br /&gt;
if( -1 == fcntl( this-&amp;gt;mFileDescriptor, &lt;br /&gt;
F_SETFL, &lt;br /&gt;
flags | O_NONBLOCK ) ) {&lt;br /&gt;
return -1;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;// Try to read a character.&lt;br /&gt;
retval = read(mFileDescriptor, &amp;amp;mPutbackChar, 1);&lt;/p&gt;
&lt;p&gt;if ( retval == 1 ) {&lt;br /&gt;
mPutbackAvailable = true;&lt;br /&gt;
} else&lt;br /&gt;
retval = 0;&lt;/p&gt;
&lt;p&gt;// Switch back to blocking read.&lt;br /&gt;
if( -1 == fcntl( this-&amp;gt;mFileDescriptor, &lt;br /&gt;
F_SETFL, &lt;br /&gt;
flags ) ) {&lt;br /&gt;
return -1;&lt;br /&gt;
}&lt;br /&gt;
};&lt;br /&gt;
return retval;  &lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;}&lt;br /&gt;
------------------&lt;br /&gt;
The patch furthermore fixes the missing&lt;br /&gt;
return-statement in 'SerialStreamBuf::open'.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Wedekind</dc:creator><pubDate>Sat, 30 Jul 2005 14:52:35 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net851912a885c31a51658a6b0481941a21ad81746c</guid></item></channel></rss>