You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(49) |
Sep
(25) |
Oct
(2) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(24) |
Nov
(50) |
Dec
(4) |
2004 |
Jan
(2) |
Feb
(2) |
Mar
(5) |
Apr
|
May
(10) |
Jun
|
Jul
(10) |
Aug
(22) |
Sep
(10) |
Oct
|
Nov
(57) |
Dec
(5) |
2005 |
Jan
(24) |
Feb
(12) |
Mar
|
Apr
|
May
(3) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
(9) |
May
(5) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
From: <ma...@pr...> - 2004-03-12 12:01:01
|
Update of /cvsroot/meshdb/src/mailt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22451/mailt Modified Files: datetime.c open.c Log Message: minor changes to compile cleanly on FreeBSD Index: datetime.c =================================================================== RCS file: /cvsroot/meshdb/src/mailt/datetime.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- datetime.c 24 Nov 2003 06:14:20 -0000 1.2 +++ datetime.c 12 Mar 2004 11:33:38 -0000 1.3 @@ -1,4 +1,4 @@ -/* $Id$ */ + /* Parse dates in a much more releaxed manner than RFC2822... */ #include <ctype.h> Index: open.c =================================================================== RCS file: /cvsroot/meshdb/src/mailt/open.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- open.c 24 Nov 2003 06:17:18 -0000 1.2 +++ open.c 12 Mar 2004 11:33:38 -0000 1.3 @@ -9,7 +9,9 @@ #include "index.h" #include "open.h" +#ifndef __FreeBSD__ #define O_EXLOCK 0 +#endif /* Open the two file descriptors for the mailbox and the index file */ int |
From: <il...@pr...> - 2004-02-26 07:35:47
|
Update of /cvsroot/meshdb/www/db2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21550 Removed Files: test Log Message: Clean up after verifying that commit mails work again. --- test DELETED --- |
From: <il...@pr...> - 2004-02-26 07:30:58
|
Update of /cvsroot/meshdb/www/db2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20875 Added Files: test Log Message: Test to see if the patch to syncmail fixed the broken commit mails. --- NEW FILE: test --- |
From: <il...@us...> - 2004-01-12 09:15:26
|
Update of /cvsroot/meshdb/www/db2 In directory sc8-pr-cvs1:/tmp/cvs-serv28320/www/db2 Modified Files: create.php Log Message: Added a title Index: create.php =================================================================== RCS file: /cvsroot/meshdb/www/db2/create.php,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- create.php 2 Nov 2003 02:07:00 -0000 1.3 +++ create.php 12 Jan 2004 09:15:22 -0000 1.4 @@ -4,6 +4,7 @@ <head> <link rel="stylesheet" href="<?=$PREF["stylesheet"]?>" type="text/css"> <link rel="icon" href="favicon.ico"> +<title>Create new node</title> </head> <body> |
From: <il...@us...> - 2004-01-12 08:07:30
|
Update of /cvsroot/meshdb/www/db2 In directory sc8-pr-cvs1:/tmp/cvs-serv16961/www/db2 Modified Files: lookup.inc.php Log Message: tyop Index: lookup.inc.php =================================================================== RCS file: /cvsroot/meshdb/www/db2/lookup.inc.php,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- lookup.inc.php 10 Aug 2002 11:42:39 -0000 1.3 +++ lookup.inc.php 12 Jan 2004 08:07:27 -0000 1.4 @@ -1,6 +1,6 @@ <? /* - * Reads entries from the databse for node $nodeid and sets + * Reads entries from the database for node $nodeid and sets * up global variables with those values */ global $PREF; |
From: <il...@us...> - 2003-12-10 05:43:07
|
Update of /cvsroot/meshdb/www/db2 In directory sc8-pr-cvs1:/tmp/cvs-serv20299 Modified Files: select.php Log Message: Unescape the query string if PHP automatically escaped it for us. Mail to the configured database admin rather than a hardcoded address. Index: select.php =================================================================== RCS file: /cvsroot/meshdb/www/db2/select.php,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- select.php 15 Nov 2003 06:17:53 -0000 1.5 +++ select.php 10 Dec 2003 05:43:02 -0000 1.6 @@ -10,21 +10,24 @@ if (!isset($top)) $top = "result"; -/* + include("config.php"); + + if (get_magic_quotes_gpc()) + /* Undo the automatic protection PHP provides against users + * being able to enter SQL. */ + $q = stripslashes($q); + $who = $_SERVER["REMOTE_ADDR"]; -$to = "d...@it..."; +$to = $DBADMIN; mail($to, "Mesh select query", "query is $q\nwho is $who\n", "From: Brisbane Mesh Database <own...@it...>\n". "Return-Path: own...@it...\n" ); -*/ if (strstr($q, "auth")) die("unknown error"); - - include("config.php"); /* Connect */ $db = mysql_connect($MYSQLHOST, $MYSQLUSER, $MYSQLPASS); mysql_select_db($MYSQLDB, $db) |
From: <il...@us...> - 2003-12-10 05:01:10
|
Update of /cvsroot/meshdb/www/db2 In directory sc8-pr-cvs1:/tmp/cvs-serv15142 Modified Files: view.php Log Message: Insert links to nodes mentioned in text fields. Index: view.php =================================================================== RCS file: /cvsroot/meshdb/www/db2/view.php,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- view.php 2 Nov 2003 02:07:00 -0000 1.7 +++ view.php 10 Dec 2003 05:01:07 -0000 1.8 @@ -53,7 +53,11 @@ } function valtext($name, $attr = "") { - return "<span class=\"text\">".htmlspecialchars(valof($name))."</span>"; + $markeduptext = + eregi_replace("(node #?([0-9]+))", + "<a href=\"view.php?nodeid=\\2\">\\1</a>", + htmlspecialchars(valof($name))); + return "<span class=\"text\">$markeduptext</span>"; } function valcode($name, $attr = "") { |
From: <il...@us...> - 2003-12-08 13:44:50
|
Update of /cvsroot/meshdb/www/db2 In directory sc8-pr-cvs1:/tmp/cvs-serv5846/www/db2 Modified Files: submit.php Log Message: Record and point out the previous IP address to have updated this entry if it is different from the current one. Index: submit.php =================================================================== RCS file: /cvsroot/meshdb/www/db2/submit.php,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- submit.php 2 Dec 2003 08:02:17 -0000 1.6 +++ submit.php 8 Dec 2003 13:44:46 -0000 1.7 @@ -8,7 +8,7 @@ /* send mail to the OLD contactemail if the entry changes */ function notify($db, $verb, $nodeid) { global $admin, $DBADMIN, $PREF; - $result = mysql_query("SELECT contactemail,mailonupdate" + $result = mysql_query("SELECT contactemail,mailonupdate,updatedip" ." FROM contact,admin" ." WHERE contact.nodeid = $nodeid" ." AND admin.nodeid = $nodeid", $db) @@ -16,10 +16,20 @@ $row = mysql_fetch_row($result); $to = $row[0]; $send = intquote($admin["mailonupdate"]) or $row[1]; + $updatedip = $row[2]; + /* Take note of the remote host. */ $who = $_SERVER["REMOTE_ADDR"]; if (isset($_SERVER["REMOTE_HOST"])) $who .= " [" . $_SERVER["REMOTE_HOST"] . "]"; + + /* Take note of whether the remote host matches the last update. */ + if ($updatedip != $_SERVER["REMOTE_ADDR"]) + $ipchangedstring = "\nLast updated from different address: $updatedip\n"; + else + $ipchangedstring = ""; + + /* Take note of any cookie. */ if ($PREF["myid"]) $idstring = " (cookie: " . $PREF["myid"] . ")"; else @@ -31,7 +41,8 @@ mail($DBADMIN, "Mesh DB: Node $nodeid $verb", "Node entry $nodeid has been $verb by $who$idstring\n\n". - " $dbloc/view.php?nodeid=$nodeid\n", + " $dbloc/view.php?nodeid=$nodeid\n". + $ipchangedstring, "From: Brisbane Mesh Database <own...@it...>\n". "Return-Path: own...@it...\n" ); |
From: <il...@us...> - 2003-12-02 08:02:21
|
Update of /cvsroot/meshdb/www/db2 In directory sc8-pr-cvs1:/tmp/cvs-serv9851 Modified Files: submit.php Log Message: Enable saving site image URLs. Index: submit.php =================================================================== RCS file: /cvsroot/meshdb/www/db2/submit.php,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- submit.php 27 Nov 2003 04:53:55 -0000 1.5 +++ submit.php 2 Dec 2003 08:02:17 -0000 1.6 @@ -222,7 +222,7 @@ /* physaddr */ $s = setexp($physaddr, - $strs = "streetno suburb state country postcode"); + $strs = "streetno suburb state country postcode imageurl"); if ($s) $result = mysql_query("UPDATE physaddr SET " . substr($s,1) |
From: <il...@us...> - 2003-11-27 04:53:58
|
Update of /cvsroot/meshdb/www/db2 In directory sc8-pr-cvs1:/tmp/cvs-serv12501 Modified Files: submit.php Log Message: Inform users they should let the DB admin know of any vandalism to their records. Send notifications to the admin of all updates to allow abuse to be detected and rectified earlier. Index: submit.php =================================================================== RCS file: /cvsroot/meshdb/www/db2/submit.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- submit.php 2 Nov 2003 02:07:00 -0000 1.4 +++ submit.php 27 Nov 2003 04:53:55 -0000 1.5 @@ -7,7 +7,7 @@ /* send mail to the OLD contactemail if the entry changes */ function notify($db, $verb, $nodeid) { - global $admin; + global $admin, $DBADMIN, $PREF; $result = mysql_query("SELECT contactemail,mailonupdate" ." FROM contact,admin" ." WHERE contact.nodeid = $nodeid" @@ -16,14 +16,33 @@ $row = mysql_fetch_row($result); $to = $row[0]; $send = intquote($admin["mailonupdate"]) or $row[1]; + + $who = $_SERVER["REMOTE_ADDR"]; + if (isset($_SERVER["REMOTE_HOST"])) + $who .= " [" . $_SERVER["REMOTE_HOST"] . "]"; + if ($PREF["myid"]) + $idstring = " (cookie: " . $PREF["myid"] . ")"; + else + $idstring = ""; + + $pageloc = $_SERVER["SCRIPT_URI"]; + $dbloc = substr($pageloc, 0, strrpos($pageloc, "/")); + if ($DBADMIN != "") + mail($DBADMIN, + "Mesh DB: Node $nodeid $verb", + "Node entry $nodeid has been $verb by $who$idstring\n\n". + " $dbloc/view.php?nodeid=$nodeid\n", + "From: Brisbane Mesh Database <own...@it...>\n". + "Return-Path: own...@it...\n" + ); if (!$send || $to == "") return; - $who = $_SERVER["REMOTE_ADDR"]; mail($to, - "Mesh db notification: node $nodeid $verb", + "Mesh DB: Node $nodeid $verb", "Node entry $nodeid has been $verb by $who\n\n". - "http://www.itee.uq.edu.au/~mesh/db2/view.php?nodeid=$nodeid". - "\n", + " $dbloc/view.php?nodeid=$nodeid\n\n\n". + "Note: If you believe this change was malicious please contact\n". + "$DBADMIN with the details in this mail.\n", "From: Brisbane Mesh Database <own...@it...>\n". "Return-Path: own...@it...\n" ); |
From: <il...@us...> - 2003-11-27 04:52:31
|
Update of /cvsroot/meshdb/www/db2 In directory sc8-pr-cvs1:/tmp/cvs-serv12368 Modified Files: config-local.php-dist Log Message: Added a human DB admin address for problems. Index: config-local.php-dist =================================================================== RCS file: /cvsroot/meshdb/www/db2/config-local.php-dist,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- config-local.php-dist 10 Aug 2002 11:42:39 -0000 1.3 +++ config-local.php-dist 27 Nov 2003 04:52:28 -0000 1.4 @@ -9,7 +9,7 @@ */ global $MYSQLHOST, $MYSQLUSER, $MYSQLPASS, $MYSQLDB; - global $READONLY, $OURPROXY; + global $READONLY, $OURPROXY, $DBADMIN; global $ZONE, $SHIFTFILE, $ALTFILE; $MYSQLHOST = "host"; /* MySQL hostname */ @@ -18,6 +18,7 @@ $MYSQLDB = "mesh"; /* Database name */ $READONLY = 0; /* Set to 1 for db maintennance */ $OURPROXY = "proxy"; /* an HTTP proxy host available to us */ + $DBADMIN = "db...@br..."; /* Address of a human administrator */ $ZONE = 56; /* UTM zone (56 for Brisbane) */ $SHIFTFILE = "lib/QLD_0900.gsb";/* Shift file */ |
From: <il...@us...> - 2003-11-27 02:01:57
|
Update of /cvsroot/meshdb/www/db2 In directory sc8-pr-cvs1:/tmp/cvs-serv21936/www/db2 Modified Files: cookies.php Log Message: Set the cookie independent of where the database is being served from. Index: cookies.php =================================================================== RCS file: /cvsroot/meshdb/www/db2/cookies.php,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- cookies.php 2 Nov 2003 02:07:00 -0000 1.5 +++ cookies.php 27 Nov 2003 02:01:51 -0000 1.6 @@ -16,8 +16,10 @@ $PREF[$k] = $v; } $x = base64_encode(gzcompress($x)); - setcookie("preferences", $x, time()+365*24*60*60, "/~mesh/db2/", - ".itee.uq.edu.au", 0); + $pageloc = $_SERVER["REQUEST_URI"]; + $dbloc = substr($pageloc, 0, strrpos($pageloc, "/")); + setcookie("preferences", $x, time()+365*24*60*60, $dbloc, + $_SERVER["HTTP_HOST"], 0); } $yesno = array("0" => "no", "1" => "yes"); |
From: <il...@us...> - 2003-11-27 01:21:20
|
Update of /cvsroot/meshdb/src/geo/compat In directory sc8-pr-cvs1:/tmp/cvs-serv15949/geo/compat Modified Files: compat.h Log Message: Ensure the byte-swapping functions are properly defined across all platforms we're using (and likely to use). Index: compat.h =================================================================== RCS file: /cvsroot/meshdb/src/geo/compat/compat.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- compat.h 24 Nov 2003 07:23:58 -0000 1.5 +++ compat.h 27 Nov 2003 01:21:16 -0000 1.6 @@ -25,6 +25,10 @@ #include <unistd.h> +#endif /* Sun */ + +#if !defined(__OpenBSD__) + static inline u_int16_t swap16(u_int16_t i) { @@ -55,13 +59,22 @@ return o; } -#define letoh16(x) swap16(x) -#define letoh32(x) swap32(x) -#define letoh64(x) swap64(x) -#define betoh16(x) (x) -#define betoh32(x) (x) -#define betoh64(x) (x) - +#if defined(__powerpc__) || defined(__ppc__) || defined(__sparc__) || defined(__mips__) || defined(__mc68000__) || defined(__alpha__) +# define letoh16(x) swap16(x) +# define letoh32(x) swap32(x) +# define letoh64(x) swap64(x) +# define betoh16(x) (x) +# define betoh32(x) (x) +# define betoh64(x) (x) +#else +# define letoh16(x) (x) +# define letoh32(x) (x) +# define letoh64(x) (x) +# define betoh16(x) swap16(x) +# define betoh32(x) swap32(x) +# define betoh64(x) swap64(x) #endif + +#endif /* !OpenBSD */ #endif /* _h_compat_ */ |
From: <le...@us...> - 2003-11-25 21:11:40
|
Update of /cvsroot/meshdb/src/vpf/gdps In directory sc8-pr-cvs1:/tmp/cvs-serv24737 Modified Files: operator.c Log Message: rename index() to o_index() to avoid stdlib conflict; fix bug in clear() where stack was not completely cleared Index: operator.c =================================================================== RCS file: /cvsroot/meshdb/src/vpf/gdps/operator.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- operator.c 25 Nov 2003 07:10:34 -0000 1.5 +++ operator.c 25 Nov 2003 21:11:37 -0000 1.6 @@ -183,7 +183,7 @@ } static void -index(gs) +o_index(gs) struct gstate *gs; { int count = integer(gs); @@ -210,7 +210,7 @@ object_t *o; n = stack_count(gs->stack); - while (--n) { + while (n-- > 0) { o = POP(); DECREF(o); } @@ -996,7 +996,7 @@ { "exch", exch }, { "dup", dup }, { "copy", copy }, - { "index", index }, + { "index", o_index }, { "roll", roll }, { "clear", clear }, { "count", count }, |
From: <il...@us...> - 2003-11-25 07:47:45
|
Update of /cvsroot/meshdb/src/vpf/libvpf In directory sc8-pr-cvs1:/tmp/cvs-serv30191/libvpf Modified Files: vpf_join.c vpf_si.c vpf_theme.c Log Message: Include string.h to get mem*()/str*(). Index: vpf_join.c =================================================================== RCS file: /cvsroot/meshdb/src/vpf/libvpf/vpf_join.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- vpf_join.c 14 Sep 2002 14:43:55 -0000 1.1 +++ vpf_join.c 25 Nov 2003 06:44:48 -0000 1.2 @@ -5,6 +5,7 @@ #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <sys/types.h> #include <sys/param.h> Index: vpf_si.c =================================================================== RCS file: /cvsroot/meshdb/src/vpf/libvpf/vpf_si.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- vpf_si.c 14 Sep 2002 14:43:55 -0000 1.1 +++ vpf_si.c 25 Nov 2003 06:44:48 -0000 1.2 @@ -5,6 +5,7 @@ #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <math.h> #include <sys/types.h> #include <sys/param.h> Index: vpf_theme.c =================================================================== RCS file: /cvsroot/meshdb/src/vpf/libvpf/vpf_theme.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- vpf_theme.c 14 Sep 2002 14:43:55 -0000 1.1 +++ vpf_theme.c 25 Nov 2003 06:44:48 -0000 1.2 @@ -6,6 +6,7 @@ #include <stdio.h> #include <stdlib.h> #include <stdarg.h> +#include <string.h> #include <sys/types.h> #include <sys/param.h> |
From: <il...@us...> - 2003-11-25 07:47:43
|
Update of /cvsroot/meshdb/src/vpf/libvpf In directory sc8-pr-cvs1:/tmp/cvs-serv31971/libvpf Modified Files: vpf_si.c Log Message: Fixed a case where a pointer-to-int was being passed as a pointer-to-size_t (which would be a disaster if int and size_t didn't happen to be the same size). Index: vpf_si.c =================================================================== RCS file: /cvsroot/meshdb/src/vpf/libvpf/vpf_si.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- vpf_si.c 25 Nov 2003 06:44:48 -0000 1.2 +++ vpf_si.c 25 Nov 2003 06:57:05 -0000 1.3 @@ -33,6 +33,7 @@ { struct vpfsi *si; struct spatialhdr *h; + size_t baselen; for (si = v->si_head; si; si = si->next) if (strcmp(si->name, name) == 0) @@ -44,11 +45,12 @@ return NULL; } if (!vpf_mapfile(v, name, (void **)&si->base, - &si->baselen)) { + &baselen)) { free(si); return NULL; } strcpy(si->name, name); + si->baselen = baselen; si->endian = v->last_endian; h = (struct spatialhdr *)si->base; |
From: <il...@us...> - 2003-11-25 07:47:43
|
Update of /cvsroot/meshdb/src/vpf/gdps In directory sc8-pr-cvs1:/tmp/cvs-serv310 Modified Files: error.c Log Message: Include stdlib.h for exit(). Index: error.c =================================================================== RCS file: /cvsroot/meshdb/src/vpf/gdps/error.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- error.c 22 Oct 2003 06:26:58 -0000 1.3 +++ error.c 25 Nov 2003 07:01:43 -0000 1.4 @@ -3,6 +3,7 @@ #include <stdarg.h> #include <stdio.h> +#include <stdlib.h> #include "error.h" #include "object.h" |
From: <il...@us...> - 2003-11-25 07:47:42
|
Update of /cvsroot/meshdb/src/vpf/gdps In directory sc8-pr-cvs1:/tmp/cvs-serv2127 Modified Files: draw.c hash.c object.c operator.c Log Message: Include string.h for mem*()/str*(). Index: draw.c =================================================================== RCS file: /cvsroot/meshdb/src/vpf/gdps/draw.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- draw.c 22 Oct 2003 06:26:58 -0000 1.5 +++ draw.c 25 Nov 2003 07:10:34 -0000 1.6 @@ -9,6 +9,7 @@ #include <math.h> #include <gd.h> #include <stdlib.h> +#include <string.h> #include "error.h" #include "vector.h" #include "object.h" Index: hash.c =================================================================== RCS file: /cvsroot/meshdb/src/vpf/gdps/hash.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- hash.c 17 Sep 2002 13:48:09 -0000 1.1 +++ hash.c 25 Nov 2003 07:10:34 -0000 1.2 @@ -3,6 +3,7 @@ #include <stdio.h> #include <stdlib.h> +#include <string.h> #include "error.h" #include "vector.h" #include "hash.h" Index: object.c =================================================================== RCS file: /cvsroot/meshdb/src/vpf/gdps/object.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- object.c 17 Sep 2002 13:48:09 -0000 1.1 +++ object.c 25 Nov 2003 07:10:34 -0000 1.2 @@ -8,6 +8,7 @@ #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <math.h> #include "error.h" #include "vector.h" Index: operator.c =================================================================== RCS file: /cvsroot/meshdb/src/vpf/gdps/operator.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- operator.c 22 Oct 2003 06:26:58 -0000 1.4 +++ operator.c 25 Nov 2003 07:10:34 -0000 1.5 @@ -7,6 +7,7 @@ #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <math.h> #include <gd.h> #include "error.h" |
From: <il...@us...> - 2003-11-25 07:47:39
|
Update of /cvsroot/meshdb/src/vpf/gdps In directory sc8-pr-cvs1:/tmp/cvs-serv1949 Modified Files: stack.h Log Message: Ugly (minimal) hack to work around the clash with stack_t in Darwin's <sys/signal.h>. Index: stack.h =================================================================== RCS file: /cvsroot/meshdb/src/vpf/gdps/stack.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- stack.h 17 Sep 2002 13:48:09 -0000 1.1 +++ stack.h 25 Nov 2003 07:09:38 -0000 1.2 @@ -2,6 +2,9 @@ /* David Leonard, 2002. Public domain. */ struct stack; +#if defined(__APPLE__) && defined(__MACH__) +# define stack_t gstack_t +#endif typedef struct stack stack_t; stack_t * stack_new(void); |
From: <il...@us...> - 2003-11-25 07:47:39
|
Update of /cvsroot/meshdb/src/vpf/gdps In directory sc8-pr-cvs1:/tmp/cvs-serv2515 Modified Files: font.c Log Message: Include string.h for strlen(). Index: font.c =================================================================== RCS file: /cvsroot/meshdb/src/vpf/gdps/font.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- font.c 18 Sep 2002 03:22:46 -0000 1.1 +++ font.c 25 Nov 2003 07:14:12 -0000 1.2 @@ -8,6 +8,7 @@ #include <stdio.h> #include <math.h> #include <stdlib.h> +#include <string.h> #include "vector.h" #include "object.h" #include "stack.h" |
From: Ian L. <sf-...@li...> - 2003-11-24 11:25:31
|
On Mon, 24 Nov 2003, David Leonard wrote: >awesome.. you're a machine :) Thanks, but there wasn't really anything in all that. Just thought I'd knock off some compiler warnings and errors on various platforms. It's always a little slow going when you have to make sure you understand exactly how everything works before changing anything... >sooo... you found The Nightmare That Is Compat.h .. be AFRAID! be VERY AFRAID Yeah, that's why I was inquiring about your thoughts on autoconf and friends the other week. I don't think the current system is really sustainable as it is; it coped with you developing on OpenBSD and then hacking it to work on Solaris, but with me developing on Darwin, Brett on FreeBSD, and the threat of Linux always hanging over one's head, we probably need some more proactive portability to save headaches as the number of platforms (and of developers) increases. Anyway, enough joy for now. Later, Ian |
From: David L. <d...@ad...> - 2003-11-24 09:56:42
|
awesome.. you're a machine :) sooo... you found The Nightmare That Is Compat.h .. be AFRAID! be VERY AFRAID :) eeeeek! -- David Leonard d...@ad... Adaptive Enterprises Ph:+61 404 844 850 |
From: <il...@us...> - 2003-11-24 07:32:51
|
Update of /cvsroot/meshdb/src/geo/mk In directory sc8-pr-cvs1:/tmp/cvs-serv24835/mk Modified Files: GNUmakefile.subdir Log Message: Stop on error in recursive make. Index: GNUmakefile.subdir =================================================================== RCS file: /cvsroot/meshdb/src/geo/mk/GNUmakefile.subdir,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- GNUmakefile.subdir 10 Aug 2002 03:51:32 -0000 1.1.1.1 +++ GNUmakefile.subdir 24 Nov 2003 07:32:48 -0000 1.2 @@ -1,3 +1,3 @@ default: all .DEFAULT: - for d in ${SUBDIR}; do ${MAKE} -C $$d $@; done + for d in ${SUBDIR}; do ${MAKE} -C $$d $@ || exit 1; done |
From: <il...@us...> - 2003-11-24 07:24:01
|
Update of /cvsroot/meshdb/src/geo/compat In directory sc8-pr-cvs1:/tmp/cvs-serv23720/compat Modified Files: compat.h err.h Log Message: Removed nasty extra tokens after preprocessor directives that were causing it to be unhappy. Index: compat.h =================================================================== RCS file: /cvsroot/meshdb/src/geo/compat/compat.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- compat.h 24 Nov 2003 07:18:38 -0000 1.4 +++ compat.h 24 Nov 2003 07:23:58 -0000 1.5 @@ -64,4 +64,4 @@ #endif -#endif _h_compat_ +#endif /* _h_compat_ */ Index: err.h =================================================================== RCS file: /cvsroot/meshdb/src/geo/compat/err.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- err.h 24 Nov 2003 07:17:21 -0000 1.3 +++ err.h 24 Nov 2003 07:23:58 -0000 1.4 @@ -55,4 +55,4 @@ #endif -#endif _h_err_ +#endif /* _h_err_ */ |
From: <il...@us...> - 2003-11-24 07:19:25
|
Update of /cvsroot/meshdb/src/geo/elev In directory sc8-pr-cvs1:/tmp/cvs-serv23091/elev Modified Files: elev.c Log Message: Don't try to include ieeefp.h when it doesn't exist. Include compat.h to make sure we have an isnanf(). Index: elev.c =================================================================== RCS file: /cvsroot/meshdb/src/geo/elev/elev.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- elev.c 24 Nov 2003 07:04:48 -0000 1.4 +++ elev.c 24 Nov 2003 07:19:22 -0000 1.5 @@ -16,6 +16,7 @@ #include "alt.h" #include "inclin.h" #include "image.h" +#include "compat/compat.h" #include "compat/err.h" /* Size of an 'x' or 'o' on the plot */ |