Fossil

Check-in [fd39ef82]
Login

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

Overview
Comment:Experimental support for Solaris 10
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | bens-expr
Files: files | file ages | folders
SHA1:fd39ef8261131b7f2a000b1d35c32364eea6caa8
User & Date: ben 2011-05-21 15:39:03
Context
2011-05-21
16:18
Slightly hacky way of putting versioned properties in .fossil-settings dir. Version ignore-glob, binary-glob, crnl-glob and manifest. Glob splitting allows line breaks as well as spaces and commas. check-in: 56b75c76 user: ben tags: bens-expr
15:39
Experimental support for Solaris 10 check-in: fd39ef82 user: ben tags: bens-expr
15:38
Create new branch named "bens-expr" check-in: d73b1b50 user: ben tags: bens-expr
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to Makefile.

57
58
59
60
61
62
63


64
65
66

67
68
69
70
71
72
73
74
TCLSH = tclsh

# You should not need to change anything below this line
###############################################################################
#
# Automatic platform-specific options.
HOST_OS!= uname -s



LIB.SunOS= -lsocket -lnsl
LIB += $(LIB.$(HOST_OS))


TCC.DragonFly += -DUSE_PREAD
TCC.FreeBSD += -DUSE_PREAD
TCC.NetBSD += -DUSE_PREAD
TCC.OpenBSD += -DUSE_PREAD
TCC += $(TCC.$(HOST_OS))

include $(SRCDIR)/main.mk







>
>



>








57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
TCLSH = tclsh

# You should not need to change anything below this line
###############################################################################
#
# Automatic platform-specific options.
HOST_OS!= uname -s
# Some makes use a different syntax
HOST_OS_ALT :sh = uname -s

LIB.SunOS= -lsocket -lnsl
LIB += $(LIB.$(HOST_OS))
LIB += $(LIB.$(HOST_OS_ALT))

TCC.DragonFly += -DUSE_PREAD
TCC.FreeBSD += -DUSE_PREAD
TCC.NetBSD += -DUSE_PREAD
TCC.OpenBSD += -DUSE_PREAD
TCC += $(TCC.$(HOST_OS))

include $(SRCDIR)/main.mk

Changes to src/user.c.

17
18
19
20
21
22
23




24
25
26
27
28
29
30
**
** Commands and procedures used for creating, processing, editing, and
** querying information about users.
*/
#include "config.h"
#include "user.h"






/*
** Strip leading and trailing space from a string and add the string
** onto the end of a blob.
*/
static void strip_string(Blob *pBlob, char *z){
  int i;







>
>
>
>







17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
**
** Commands and procedures used for creating, processing, editing, and
** querying information about users.
*/
#include "config.h"
#include "user.h"

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

/*
** Strip leading and trailing space from a string and add the string
** onto the end of a blob.
*/
static void strip_string(Blob *pBlob, char *z){
  int i;