~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_write.cc

  • Committer: Monty Taylor
  • Date: 2009-03-03 08:08:10 UTC
  • mto: This revision was merged to the branch mainline in revision 910.
  • Revision ID: mordred@inaugust.com-20090303080810-gwtc2ppv93od4knp
Hardcoding /opt/csw/include in was doing some bad things with gettext.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   along with this program; if not, write to the Free Software
14
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
 
#include "mysys/mysys_priv.h"
17
 
#include "mysys/mysys_err.h"
 
16
#include "mysys_priv.h"
 
17
#include "mysys_err.h"
18
18
#include <errno.h>
19
19
 
20
20
 
49
49
    {
50
50
      if (!(errors++ % MY_WAIT_GIVE_USER_A_MESSAGE))
51
51
        my_error(EE_DISK_FULL,MYF(ME_BELL | ME_NOREFRESH),
52
 
                 "unknown", my_errno,MY_WAIT_FOR_USER_TO_FIX_PANIC);
 
52
                 my_filename(Filedes),my_errno,MY_WAIT_FOR_USER_TO_FIX_PANIC);
53
53
      sleep(MY_WAIT_FOR_USER_TO_FIX_PANIC);
54
54
      continue;
55
55
    }
76
76
      if (MyFlags & (MY_WME | MY_FAE | MY_FNABP))
77
77
      {
78
78
        my_error(EE_WRITE, MYF(ME_BELL+ME_WAITTANG),
79
 
                 "unknown", my_errno);
 
79
                 my_filename(Filedes),my_errno);
80
80
      }
81
81
      return(MY_FILE_ERROR);            /* Error on read */
82
82
    }