~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_write.cc

  • Committer: Toru Maesaka
  • Date: 2008-12-17 07:16:37 UTC
  • mto: (685.1.40 devel) (713.1.5 devel)
  • mto: This revision was merged to the branch mainline in revision 713.
  • Revision ID: dev@torum.net-20081217071637-7j9040w7lpms77r2
Removed my_time() and added error checking

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)