Diff
Not logged in

Differences From Artifact [ab6d416637]:

To Artifact [f010e75a1e]:


820
821
822
823
824
825
826

827
828
829
830
831
832
833
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834







+







  assert( toStdErr==0 || toStdErr==1 );
  if( istty[toStdErr] ) z = zToFree = fossil_utf8_to_console(z);
  fwrite(z, 1, strlen(z), toStdErr ? stderr : stdout);
  free(zToFree);
#else
  fwrite(z, 1, strlen(z), toStdErr ? stderr : stdout);
#endif
  fflush(toStdErr ? stderr : stdout);
}

/*
** Write output for user consumption.  If g.cgiOutput is enabled, then
** send the output as part of the CGI reply.  If g.cgiOutput is false,
** then write on standard output.
*/