~ubuntu-branches/ubuntu/natty/cron/natty

« back to all changes in this revision

Viewing changes to cron.c

  • Committer: Bazaar Package Importer
  • Author(s): Emanuele Gentili
  • Date: 2008-05-12 00:44:22 UTC
  • Revision ID: james.westby@ubuntu.com-20080512004422-467loerydtsjz6gy
Tags: 3.0pl1-104ubuntu1
* Merge from debian unstable, remaining changes: (LP: #229380)
 + Remove stop links from rc0 and rc6.
 + Modify Maintainer value to match the DebianMaintainerField
   specification.
 + Add forgotten versioned-dependency on sysv-rc to get new update-rc.d
  behaviour. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
        */
107
107
       setlocale(LC_ALL,""); /* set locale to system defaults or to
108
108
                                that specified by any  LC_* env vars */
109
 
       if ( ( cs = nl_langinfo( CODESET ) ) != 0L )
 
109
       /* Except that "US-ASCII" is preferred to "ANSI_x3.4-1968" in MIME,
 
110
        * even though "ANSI_x3.4-1968" is the official charset name. */
 
111
       if ( ( cs = nl_langinfo( CODESET ) ) != 0L && 
 
112
               strcmp(cs, "ANSI_x3.4-1968") != 0 )
110
113
           strncpy( cron_default_mail_charset, cs, MAX_ENVSTR );
111
114
       else
112
115
           strcpy( cron_default_mail_charset, "US-ASCII" );