Lines 1-6
Link Here
|
1 |
--- src/users/user-settings.c.orig Sun Apr 22 23:32:58 2007 |
1 |
--- src/users/user-settings.c.orig 2009-12-15 05:17:23.000000000 -0800 |
2 |
+++ src/users/user-settings.c Sun Apr 22 23:34:18 2007 |
2 |
+++ src/users/user-settings.c 2010-01-20 22:25:39.000000000 -0800 |
3 |
@@ -632,10 +632,10 @@ |
3 |
@@ -29,7 +29,7 @@ |
|
|
4 |
#include <sys/types.h> |
5 |
#include <sys/stat.h> |
6 |
#include <stdlib.h> |
7 |
-#include <utmp.h> |
8 |
+#include <sys/param.h> |
9 |
#include <ctype.h> |
10 |
|
11 |
#include "users-table.h" |
12 |
@@ -367,7 +367,7 @@ |
13 |
{ |
14 |
gint max_len; |
15 |
#ifdef __FreeBSD__ |
16 |
- max_len = UT_NAMESIZE; |
17 |
+ max_len = MAXLOGNAME - 1; |
18 |
#else |
19 |
struct utmp ut; |
20 |
|
21 |
@@ -819,10 +819,10 @@ |
4 |
password_changed = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (widget), "changed")); |
22 |
password_changed = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (widget), "changed")); |
5 |
|
23 |
|
6 |
if (password_changed) |
24 |
if (password_changed) |
Lines 12-15
Link Here
|
12 |
+ oobs_user_set_crypted_password (user, gtk_entry_get_text (GTK_ENTRY (widget))); |
30 |
+ oobs_user_set_crypted_password (user, gtk_entry_get_text (GTK_ENTRY (widget))); |
13 |
} |
31 |
} |
14 |
|
32 |
|
15 |
group = get_main_group (oobs_user_get_login_name (user)); |
33 |
/* allowed to login without password? */ |