Fossil

Check-in [7dddab2fbe]
Login

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

Overview
Comment:added comments about necessary link flags for Solaris 10 + OpenSolaris
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 7dddab2fbe365927fbb6af30cc6edeb3a2204420
User & Date: stephan 2008-09-18 11:21:29.000
Context
2008-09-19
11:11
fixed an 'integer overflow' warning from the Sun compiler. Thank to Kevin for the tip. ... (check-in: 7ae01ee47b user: stephan tags: trunk)
2008-09-18
11:21
added comments about necessary link flags for Solaris 10 + OpenSolaris ... (check-in: 7dddab2fbe user: stephan tags: trunk)
2008-09-11
17:12
Fix a memory double-free'd problem. In function <tt>cgi_set_cookie</tt> the <tt>zDate</tt> was allocated via usage of <tt>cgi_rfc822_datestamp</tt>. But as it was appended to the blob <tt>extraHeader</tt> via the format specifier <tt>%z</tt> the memory was free'd by <tt>blob_appendf</tt>. As <tt>cgi_rfc822_datestamp</tt> might return both a dynamic allocated empty string as well as a dynamic allocated string containing the time stamp, <tt>blob_appendf</tt> should not try to free the <tt>zDate</tt>. So now the format specifier is changed to <tt>%s</tt> to let us decide, if we want to free the memory or not. ... (check-in: aeeba751c4 user: cle tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to Makefile.
31
32
33
34
35
36
37
38

39
40

41
42
43
44
45
46
47
#### Extra arguments for linking the finished binary.  Fossil needs
#    to link against the Z-Lib compression library.  There are no
#    other dependencies.  We sometimes add the -static option here
#    so that we can build a static executable that will run in a
#    chroot jail.
#
LIB = -lz $(LDFLAGS)
# If you're on OpenSolaris, and probably other Solaris versions,

# you'll need:
# LIB += -lsocket



#### Tcl shell for use in running the fossil testsuite.
#
TCLSH = tclsh

# You should not need to change anything below this line







|
>
|
|
>







31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#### Extra arguments for linking the finished binary.  Fossil needs
#    to link against the Z-Lib compression library.  There are no
#    other dependencies.  We sometimes add the -static option here
#    so that we can build a static executable that will run in a
#    chroot jail.
#
LIB = -lz $(LDFLAGS)
# If you're on OpenSolaris:
# LIB += lsocket
# Solaris 10 needs:
# LIB += -lsocket -lnsl
# My assumption is that the Sol10 flags will work for Sol8/9 and possibly 11.


#### Tcl shell for use in running the fossil testsuite.
#
TCLSH = tclsh

# You should not need to change anything below this line