Index: passphrase.c =================================================================== RCS file: /cvsroot/sylpheed-claws/sylpheed-claws/src/passphrase.c,v retrieving revision 1.7 diff -u -r1.7 passphrase.c --- passphrase.c 15 Apr 2002 18:52:40 -0000 1.7 +++ passphrase.c 18 May 2002 13:15:32 -0000 @@ -270,7 +270,9 @@ static int free_passphrase(gpointer _unused) { if (lastPass != NULL) { +#ifndef __CYGWIN__ munlock(lastPass, strlen(lastPass)); +#endif /* __CYGWIN__ */ g_free(lastPass); lastPass = NULL; // necessary? g_message("%% passphrase removed"); @@ -305,8 +307,10 @@ else { if (prefs_common.store_passphrase) { lastPass = g_strdup(pass); +#ifndef __CYGWIN__ if (mlock(lastPass, strlen(lastPass)) == -1) g_message("%% locking passphrase failed"); +#endif /* __CYGWIN__ */ if (prefs_common.store_passphrase_timeout > 0) { gtk_timeout_add(prefs_common.store_passphrase_timeout*60*1000,