~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/linebuffer.cc

  • Committer: Monty Taylor
  • Date: 2010-10-21 23:10:12 UTC
  • mto: (1879.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1880.
  • Revision ID: mordred@inaugust.com-20101021231012-uhsebiqo23xi0ygy
Updated AUTHORS list with everyone from bzr logs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
   You should have received a copy of the GNU General Public License
13
13
   along with this program; if not, write to the Free Software
14
 
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
 
14
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
15
15
 
16
16
/* readline for batch mode */
17
17
 
45
45
 
46
46
  if (file && !eof)
47
47
  {
48
 
    if ((read_count= internal::my_read(fileno(file),
49
 
                             (unsigned char *) (&line[0]),
50
 
                             max_size-1,MYF(MY_WME))))
 
48
    if ((read_count= read(fileno(file), (&line[0]), max_size-1)))
51
49
    {
52
50
      line[read_count+1]= '\0';
53
51
      buffer << &line[0];