[GRASSLIST:578] ext_error

Ana Soares tiobrothercamarada at gmail.com
Wed Apr 5 07:08:50 EDT 2006


Hello

I use the ext_error function in my code, but it crashes. I don't know why
.....

int exp_error(char *msg, ...) {

  char buffer[2000];  /* No novels to the error logs, OK? */
  va_list ap;
  va_start(ap,msg);
  vsprintf(buffer,msg,ap);
  va_end(ap);

  printf("%s\n", buffer) ;

  ext_error (buffer, 1);
   //  print_error (buffer,ERR);

  if ( ext_error ) return 0; /* do not exit error routine is specified */

  printf("»»»»»»»»»\n") ;

  exit (1);
}

Any suggestions ? Help please!

Thanks :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20060405/bcbab92a/attachment.html


More information about the grass-user mailing list