~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/drizzle.c

  • Committer: Andrew Hutchings
  • Date: 2010-10-27 06:36:38 UTC
  • mto: (1883.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1884.
  • Revision ID: andrew@linuxjedi.co.uk-20101027063638-08d33sknkd691zz2
Fix min() usage for 32bit
Fix Solaris doesn't follow POSIX standard for send()

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
  if ( WSAStartup( MAKEWORD(2,2), &wsaData ) != 0 )
68
68
    printf("Error at WSAStartup()\n");
69
69
#endif
 
70
  struct sigaction act;
 
71
 
 
72
  act.sa_handler = SIG_IGN;
 
73
  sigaction(SIGPIPE, &act, NULL);
 
74
 
70
75
  if (drizzle == NULL)
71
76
  {
72
77
    drizzle= malloc(sizeof(drizzle_st));