Changeset badd148 for unix.c


Ignore:
Timestamp:
2010-07-12T23:22:53Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
db2cef1
Parents:
09dfb68
Message:

Reformat nicks whenever fullname/nick/group changes (but at least for now
still only for offline users).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • unix.c

    r09dfb68 rbadd148  
    3939#include <sys/wait.h>
    4040#include <pwd.h>
     41#include <locale.h>
    4142
    4243global_t global;        /* Against global namespace pollution */
     
    5152        char *old_cwd = NULL;
    5253        struct sigaction sig, old;
     54       
     55        /* Required to make iconv to ASCII//TRANSLIT work. This makes BitlBee
     56           system-locale-sensitive. :-( */
     57        setlocale( LC_CTYPE, "" );
    5358       
    5459        if( argc > 1 && strcmp( argv[1], "-x" ) == 0 )
Note: See TracChangeset for help on using the changeset viewer.