/[man-db]/man-db/src/man.c
ViewVC logotype

Diff of /man-db/src/man.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.103 by cjwatson, Sun Sep 14 15:24:25 2003 UTC revision 1.104 by cjwatson, Sun Sep 14 15:58:58 2003 UTC
# Line 1662  static char *make_roff_command (const ch Line 1662  static char *make_roff_command (const ch
1662                          source_encoding = get_source_encoding (lang);                          source_encoding = get_source_encoding (lang);
1663                          if (debug)                          if (debug)
1664                                  fprintf (stderr, "source_encoding = %s\n",                                  fprintf (stderr, "source_encoding = %s\n",
1665                                           STRC (source_encoding, "NULL"));                                           source_encoding);
1666    
1667                          cat_charset = get_standard_output_encoding (lang);                          cat_charset = get_standard_output_encoding (lang);
1668                          locale_charset = get_locale_charset ();                          locale_charset = get_locale_charset ();
# Line 1704  static char *make_roff_command (const ch Line 1704  static char *make_roff_command (const ch
1704                           *   from source_encoding to roff_encoding on input;                           *   from source_encoding to roff_encoding on input;
1705                           *   from output_encoding to locale_charset on output.                           *   from output_encoding to locale_charset on output.
1706                           */                           */
1707                          if (source_encoding && roff_encoding &&                          if (roff_encoding &&
1708                              !STREQ (source_encoding, roff_encoding))                              !STREQ (source_encoding, roff_encoding))
1709                                  command = strappend (command,                                  command = strappend (command,
1710                                                       " | iconv -c -f ",                                                       " | iconv -c -f ",
# Line 1716  static char *make_roff_command (const ch Line 1716  static char *make_roff_command (const ch
1716                                  output_encoding = source_encoding;                                  output_encoding = source_encoding;
1717                          if (debug)                          if (debug)
1718                                  fprintf (stderr, "output_encoding = %s\n",                                  fprintf (stderr, "output_encoding = %s\n",
1719                                           STRC (output_encoding, "NULL"));                                           output_encoding);
1720    
1721                          if (!getenv ("LESSCHARSET")) {                          if (!getenv ("LESSCHARSET")) {
1722                                  const char *less_charset =                                  const char *less_charset =

Legend:
Removed from v.1.103  
changed lines
  Added in v.1.104

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26