Fossil

Check-in [3e61ada7]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix for passwords > 8 chars long on Solaris. getpass() silently truncates to 8 chars, use getpassphrase() instead.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | solaris10
Files: files | file ages | folders
SHA1:3e61ada775441252e85d0cd2d5f8f84e7a520e3f
User & Date: ben 2011-05-22 07:53:01
Context
2011-05-23
15:06
Merge the solaris10 branch into the trunk. check-in: 3e0efc38 user: drh tags: trunk
2011-05-22
07:53
Fix for passwords > 8 chars long on Solaris. getpass() silently truncates to 8 chars, use getpassphrase() instead. Closed-Leaf check-in: 3e61ada7 user: ben tags: solaris10
07:49
In the Makefile, use a more standard syntax for setting a variable to the output of a shell command. Fixes building on Solaris, seems OK on other platforms. check-in: 9ef38b6b user: ben tags: solaris10
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/config.h.

80
81
82
83
84
85
86







87
88
89
90
91
92
93
#  endif
#endif

#ifndef _RC_COMPILE_

#include "sqlite3.h"








/*
** Typedef for a 64-bit integer
*/
typedef sqlite3_int64 i64;
typedef sqlite3_uint64 u64;

/*







>
>
>
>
>
>
>







80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#  endif
#endif

#ifndef _RC_COMPILE_

#include "sqlite3.h"

/*
** On Solaris, getpass() will only return up to 8 characters. getpassphrase() returns up to 257.
*/
#if defined(__sun__) || defined(sun)
  #define getpass getpassphrase
#endif

/*
** Typedef for a 64-bit integer
*/
typedef sqlite3_int64 i64;
typedef sqlite3_uint64 u64;

/*