if (__fxprintf (stderr, "%s%s%s%s%s%s%s%s%s%s\n", L"%s%s%s%s%s%s%s%s%s%s\n", do_label ? label : "", do_label && (do_severity | do_text | do_action | do_tag) ? ": " : "", do_severity ? severity_rec->string : "", do_severity && (do_text | do_action | do_tag) ? ": " : "", do_text ? text : "", do_text && (do_action | do_tag) ? "\n" : "", do_action ? "TO FIX: " : "", do_action ? action : "", do_action && do_tag ? "  " : "", do_tag ? tag : "") < 0)  result = MM_NOMSG;
fmtmsg (long int classification, const char *label, int severity,	const char *text, const char *action, const char *tag){  __libc_once_define (static, once);  int result = MM_OK;  struct severity_info *severity_rec;  /* Make sure everything is initialized.  */  __libc_once (once, init);  /* Start the real work.  First check whether the input is ok.  */  if (label != MM_NULLLBL)    {      /* Must be two fields, separated by a colon.  */      const char *cp = strchr (label, ':');      if (cp == NULL)	return MM_NOTOK;      /* The first field must not contain more then 10 bytes.  */      if (cp - label > 10	  /* The second field must not have more then 14 bytes.  */	  || strlen (cp + 1) > 14)	return MM_NOTOK;    }  for (severity_rec = severity_list; severity_rec != NULL;       severity_rec = severity_rec->next)    if (severity == severity_rec->severity)      /* Bingo.  */      break;  /* If we don't know anything about the severity level return an error.  */  if (severity_rec == NULL)    return MM_NOTOK;#ifdef __libc_ptf_call  /* We do not want this call to be cut short by a thread     cancellation.  Therefore disable cancellation for now.  */  int state = PTHREAD_CANCEL_ENABLE;  __libc_ptf_call (pthread_setcancelstate, (PTHREAD_CANCEL_DISABLE, &state),		   0);#endif  /* Now we can print.  */  if (classification & MM_PRINT)    {      int do_label = (print & label_mask) && label != MM_NULLLBL;      int do_severity = (print & severity_mask) && severity != MM_NULLSEV;      int do_text = (print & text_mask) && text != MM_NULLTXT;      int do_action = (print & action_mask) && action != MM_NULLACT;      int do_tag = (print & tag_mask) && tag != MM_NULLTAG;#ifdef USE_IN_LIBIO      if (_IO_fwide (stderr, 0) > 0)	{	  if (__fwprintf (stderr, L"%s%s%s%s%s%s%s%s%s%s\n",			  do_label ? label : "",			  do_label			  && (do_severity | do_text | do_action | do_tag)			  ? ": " : "",			  do_severity ? severity_rec->string : "",			  do_severity && (do_text | do_action | do_tag)			  ? ": " : "",			  do_text ? text : "",			  do_text && (do_action | do_tag) ? "\n" : "",			  do_action ? "TO FIX: " : "",			  do_action ? action : "",			  do_action && do_tag ? "  " : "",			  do_tag ? tag : "") < 0)	    /* Oh, oh.  An error occurred during the output.  */	    result = MM_NOMSG;	}      else#endif	if (fprintf (stderr, "%s%s%s%s%s%s%s%s%s%s\n",		     do_label ? label : "",		     do_label && (do_severity | do_text | do_action | do_tag)		     ? ": " : "",		     do_severity ? severity_rec->string : "",		     do_severity && (do_text | do_action | do_tag) ? ": " : "",		     do_text ? text : "",		     do_text && (do_action | do_tag) ? "\n" : "",		     do_action ? "TO FIX: " : "",		     do_action ? action : "",		     do_action && do_tag ? "  " : "",		     do_tag ? tag : "") < 0)	  /* Oh, oh.  An error occurred during the output.  */	  result = MM_NOMSG;    }  if (classification & MM_CONSOLE)    {      int do_label = label != MM_NULLLBL;      int do_severity = severity != MM_NULLSEV;      int do_text = text != MM_NULLTXT;      int do_action = action != MM_NULLACT;      int do_tag = tag != MM_NULLTAG;      syslog (LOG_ERR, "%s%s%s%s%s%s%s%s%s%s\n",	      do_label ? label : "",	      do_label && (do_severity | do_text | do_action | do_tag)	      ? ": " : "",	      do_severity ? severity_rec->string : "",	      do_severity && (do_text | do_action | do_tag) ? ": " : "",	      do_text ? text : "",	      do_text && (do_action | do_tag) ? "\n" : "",	      do_action ? "TO FIX: " : "",	      do_action ? action : "",	      do_action && do_tag ? "  " : "",	      do_tag ? tag : "");    }#ifdef __libc_ptf_call  __libc_ptf_call (pthread_setcancelstate, (state, NULL), 0);#endif  return result;}