~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_write.cc

  • Committer: Brian Aker
  • Date: 2009-02-12 22:45:08 UTC
  • Revision ID: brian@tangent.org-20090212224508-mrd9jwgn1zjdpqdk
Minor refactoring (we will need to disconnect the code from the include
file).

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
  /* The behavior of write(fd, buf, 0) is not portable */
30
30
  if (unlikely(!Count))
31
31
    return(0);
32
 
  
 
32
 
33
33
  for (;;)
34
34
  {
35
35
    if ((writenbytes= write(Filedes, Buffer, Count)) == Count)