Changeset 579

Show
Ignore:
Timestamp:
07/26/06 12:35:03
Author:
pvanhoof
Message:

Account store fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libtinymail-gnome-desktop/tny-account-store.c

    r551 r579  
    1818 */ 
    1919 
     20#include <sys/mman.h> 
     21 
    2022#include <config.h> 
    2123#include <glib/gi18n-lib.h> 
     
    207209         
    208210                        retval = g_strdup (pwd); 
     211 
     212                        mlock (retval, strlen (retval)); 
    209213 
    210214                        g_hash_table_insert (passwords, g_strdup (accountid),  
  • trunk/libtinymail-gpe/tny-account-store.c

    r550 r579  
    1818 */ 
    1919 
     20#include <sys/mman.h> 
     21 
    2022#include <config.h> 
    2123#include <glib/gi18n-lib.h> 
     
    8991         
    9092                        retval = g_strdup (pwd); 
     93 
     94                        mlock (retval, strlen (retval)); 
    9195 
    9296                        g_hash_table_insert (passwords, g_strdup (accountid),  
  • trunk/libtinymail-maemo/tny-account-store.c

    r550 r579  
    1818 */ 
    1919 
     20#include <sys/mman.h> 
     21 
    2022#include <config.h> 
    2123#include <glib/gi18n-lib.h> 
     
    8991         
    9092                        retval = g_strdup (pwd); 
     93 
     94                        mlock (retval, strlen (retval)); 
    9195 
    9296                        g_hash_table_insert (passwords, g_strdup (accountid),  
  • trunk/libtinymail-olpc/tny-account-store.c

    r578 r579  
    1818 */ 
    1919 
     20#include <sys/mman.h> 
     21 
    2022#include <config.h> 
    2123#include <glib/gi18n-lib.h> 
     
    8587         
    8688                        retval = g_strdup (pwd); 
     89 
     90                        mlock (retval, strlen (retval)); 
    8791 
    8892                        g_hash_table_insert (passwords, g_strdup (accountid),