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: <il...@us...> - 2003-11-24 07:19:25
|
Update of /cvsroot/meshdb/src/geo/libgeo In directory sc8-pr-cvs1:/tmp/cvs-serv23091/libgeo Modified Files: alt.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: alt.c =================================================================== RCS file: /cvsroot/meshdb/src/geo/libgeo/alt.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- alt.c 24 Nov 2003 07:04:48 -0000 1.2 +++ alt.c 24 Nov 2003 07:19:22 -0000 1.3 @@ -10,9 +10,12 @@ #include <unistd.h> #include <stdlib.h> #include <math.h> +#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__sun__) #include <ieeefp.h> +#endif #include <fcntl.h> +#include "compat/compat.h" #include "compat/err.h" #include "qt.h" #include "geodesy.h" |
From: <il...@us...> - 2003-11-24 07:19:25
|
Update of /cvsroot/meshdb/src/geo/alt In directory sc8-pr-cvs1:/tmp/cvs-serv23091/alt Modified Files: main.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: main.c =================================================================== RCS file: /cvsroot/meshdb/src/geo/alt/main.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- main.c 24 Nov 2003 07:04:47 -0000 1.2 +++ main.c 24 Nov 2003 07:19:22 -0000 1.3 @@ -16,10 +16,13 @@ #include <stdlib.h> #include <math.h> #include <fcntl.h> +#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__sun__) #include <ieeefp.h> +#endif #include "alt.h" #include "image.h" +#include "compat/compat.h" #include "compat/err.h" #define CROSS 2 |
From: <il...@us...> - 2003-11-24 07:18:41
|
Update of /cvsroot/meshdb/src/geo/compat In directory sc8-pr-cvs1:/tmp/cvs-serv22991/compat Modified Files: compat.h Log Message: Define isnanf() when it doesn't already exist. Index: compat.h =================================================================== RCS file: /cvsroot/meshdb/src/geo/compat/compat.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- compat.h 15 Sep 2002 13:56:22 -0000 1.3 +++ compat.h 24 Nov 2003 07:18:38 -0000 1.4 @@ -8,6 +8,10 @@ #include <sys/types.h> +#if defined(__APPLE__) && defined(__MACH__) +#define isnanf(x) isnan(x) +#endif + #if defined(__svr4__) || defined(__sun__) #include <ieeefp.h> #define floorf(x) floor(x) |
From: <il...@us...> - 2003-11-24 07:17:24
|
Update of /cvsroot/meshdb/src/geo/compat In directory sc8-pr-cvs1:/tmp/cvs-serv22845/compat Modified Files: err.h Log Message: Just use the system err.h if it's there. Index: err.h =================================================================== RCS file: /cvsroot/meshdb/src/geo/compat/err.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- err.h 15 Sep 2002 12:58:29 -0000 1.2 +++ err.h 24 Nov 2003 07:17:21 -0000 1.3 @@ -20,6 +20,10 @@ #define _progname __progname #endif +#if defined(__OpenBSD__) || defined(__FreeBSD__) || (defined(__APPLE__) && defined(__MACH__)) || defined(linux) +#include <err.h> +#else + #define _vmsgf(fmt, args...) \ fprintf(stderr, "%s: ", _progname); \ fprintf(stderr, fmt , ## args) @@ -48,5 +52,7 @@ #define warnx(fmt, args...) \ do { _vmsgx(fmt , ## args); \ } while (0) + +#endif #endif _h_err_ |
From: <il...@us...> - 2003-11-24 07:05:25
|
Update of /cvsroot/meshdb/src/geo/rf In directory sc8-pr-cvs1:/tmp/cvs-serv21264/rf Modified Files: main.c Log Message: Make compat includes explicit so as to avoid masking the real headers when we want them i.e. force a #include compat/err.h so we can #include <err.h> to pick up the platform's err.h. Index: main.c =================================================================== RCS file: /cvsroot/meshdb/src/geo/rf/main.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- main.c 24 Nov 2003 05:18:47 -0000 1.4 +++ main.c 24 Nov 2003 07:04:51 -0000 1.5 @@ -10,7 +10,8 @@ #include <string.h> #include <math.h> #include <errno.h> -#include <err.h> + +#include "compat/err.h" #include "geodesy.h" int classic = 0; /* classic degree angles */ |
From: <il...@us...> - 2003-11-24 07:05:24
|
Update of /cvsroot/meshdb/src/geo/libgeo In directory sc8-pr-cvs1:/tmp/cvs-serv21264/libgeo Modified Files: alt.c image-png.c ntv2.c qt.c spread.c Log Message: Make compat includes explicit so as to avoid masking the real headers when we want them i.e. force a #include compat/err.h so we can #include <err.h> to pick up the platform's err.h. Index: alt.c =================================================================== RCS file: /cvsroot/meshdb/src/geo/libgeo/alt.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- alt.c 10 Aug 2002 03:51:32 -0000 1.1.1.1 +++ alt.c 24 Nov 2003 07:04:48 -0000 1.2 @@ -12,7 +12,8 @@ #include <math.h> #include <ieeefp.h> #include <fcntl.h> -#include <err.h> + +#include "compat/err.h" #include "qt.h" #include "geodesy.h" #include "ntv2.h" Index: image-png.c =================================================================== RCS file: /cvsroot/meshdb/src/geo/libgeo/image-png.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- image-png.c 10 Aug 2002 03:51:32 -0000 1.1.1.1 +++ image-png.c 24 Nov 2003 07:04:49 -0000 1.2 @@ -1,6 +1,7 @@ #include <stdio.h> #include <stdlib.h> -#include <err.h> + +#include "compat/err.h" #include "png.h" #include "image.h" Index: ntv2.c =================================================================== RCS file: /cvsroot/meshdb/src/geo/libgeo/ntv2.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- ntv2.c 24 Nov 2003 05:09:31 -0000 1.2 +++ ntv2.c 24 Nov 2003 07:04:49 -0000 1.3 @@ -10,13 +10,13 @@ #include <stdlib.h> #include <unistd.h> #include <string.h> -#include <err.h> #include <math.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/mman.h> -#include "compat.h" +#include "compat/compat.h" +#include "compat/err.h" #include "ntv2.h" int ntv2_verbose = 0; Index: qt.c =================================================================== RCS file: /cvsroot/meshdb/src/geo/libgeo/qt.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- qt.c 24 Nov 2003 04:36:39 -0000 1.2 +++ qt.c 24 Nov 2003 07:04:49 -0000 1.3 @@ -10,10 +10,10 @@ #include <unistd.h> #include <string.h> #include <libgen.h> -#include <err.h> #include <sys/types.h> #include <sys/mman.h> +#include "compat/err.h" #include "qt.h" #include "spread.h" Index: spread.c =================================================================== RCS file: /cvsroot/meshdb/src/geo/libgeo/spread.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- spread.c 10 Aug 2002 03:51:32 -0000 1.1.1.1 +++ spread.c 24 Nov 2003 07:04:49 -0000 1.2 @@ -7,7 +7,8 @@ #include <stdio.h> #include <stdlib.h> -#include <err.h> + +#include "compat/err.h" #include "spread.h" unsigned long *spread_lookup; |
From: <il...@us...> - 2003-11-24 07:05:24
|
Update of /cvsroot/meshdb/src/geo/make-alt-qt In directory sc8-pr-cvs1:/tmp/cvs-serv21264/make-alt-qt Modified Files: main.c Log Message: Make compat includes explicit so as to avoid masking the real headers when we want them i.e. force a #include compat/err.h so we can #include <err.h> to pick up the platform's err.h. Index: main.c =================================================================== RCS file: /cvsroot/meshdb/src/geo/make-alt-qt/main.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- main.c 10 Aug 2002 03:51:32 -0000 1.1.1.1 +++ main.c 24 Nov 2003 07:04:49 -0000 1.2 @@ -12,7 +12,7 @@ #include <sys/types.h> #include <sys/mman.h> -#include "compat.h" +#include "compat/compat.h" #include "qt.h" int |
From: <il...@us...> - 2003-11-24 07:05:22
|
Update of /cvsroot/meshdb/src/geo/httphead In directory sc8-pr-cvs1:/tmp/cvs-serv21264/httphead Modified Files: httphead.c Log Message: Make compat includes explicit so as to avoid masking the real headers when we want them i.e. force a #include compat/err.h so we can #include <err.h> to pick up the platform's err.h. Index: httphead.c =================================================================== RCS file: /cvsroot/meshdb/src/geo/httphead/httphead.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- httphead.c 10 Aug 2002 03:51:32 -0000 1.1.1.1 +++ httphead.c 24 Nov 2003 07:04:48 -0000 1.2 @@ -9,7 +9,8 @@ #include <sys/socket.h> #include <netdb.h> #include <stdlib.h> -#include <err.h> + +#include "compat/err.h" int main(argc, argv) |
From: <il...@us...> - 2003-11-24 07:05:21
|
Update of /cvsroot/meshdb/src/geo/elev In directory sc8-pr-cvs1:/tmp/cvs-serv21264/elev Modified Files: elev.c Log Message: Make compat includes explicit so as to avoid masking the real headers when we want them i.e. force a #include compat/err.h so we can #include <err.h> to pick up the platform's err.h. Index: elev.c =================================================================== RCS file: /cvsroot/meshdb/src/geo/elev/elev.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- elev.c 24 Nov 2003 04:49:47 -0000 1.3 +++ elev.c 24 Nov 2003 07:04:48 -0000 1.4 @@ -9,13 +9,14 @@ #include <stdio.h> #include <stdlib.h> #include <unistd.h> -#include <err.h> #include <math.h> + #include "geodesy.h" #include "ntv2.h" #include "alt.h" #include "inclin.h" #include "image.h" +#include "compat/err.h" /* Size of an 'x' or 'o' on the plot */ #define CROSS 6 |
From: <il...@us...> - 2003-11-24 07:05:21
|
Update of /cvsroot/meshdb/src/geo/alt In directory sc8-pr-cvs1:/tmp/cvs-serv21264/alt Modified Files: main.c Log Message: Make compat includes explicit so as to avoid masking the real headers when we want them i.e. force a #include compat/err.h so we can #include <err.h> to pick up the platform's err.h. Index: main.c =================================================================== RCS file: /cvsroot/meshdb/src/geo/alt/main.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- main.c 10 Aug 2002 03:51:32 -0000 1.1.1.1 +++ main.c 24 Nov 2003 07:04:47 -0000 1.2 @@ -17,9 +17,10 @@ #include <math.h> #include <fcntl.h> #include <ieeefp.h> -#include <err.h> + #include "alt.h" #include "image.h" +#include "compat/err.h" #define CROSS 2 #define CROSS2 3 |
From: <il...@us...> - 2003-11-24 07:05:20
|
Update of /cvsroot/meshdb/src/geo In directory sc8-pr-cvs1:/tmp/cvs-serv21264 Modified Files: Makefile.inc Log Message: Make compat includes explicit so as to avoid masking the real headers when we want them i.e. force a #include compat/err.h so we can #include <err.h> to pick up the platform's err.h. Index: Makefile.inc =================================================================== RCS file: /cvsroot/meshdb/src/geo/Makefile.inc,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.inc 15 Sep 2002 12:58:29 -0000 1.2 +++ Makefile.inc 24 Nov 2003 07:04:46 -0000 1.3 @@ -10,7 +10,7 @@ LIBGEO = ${_CURDIR}/../libgeo${_OBJDIR}/libgeo.a LDADD_GEO= -lgeo -lm -CFLAGS+= -I${_CURDIR}/../compat +CFLAGS+= -I${_CURDIR}/.. DBDIR?= /www/public/users/mesh/db2 BINDIR?= ${DBDIR}/bin |
From: <il...@us...> - 2003-11-24 07:04:55
|
Update of /cvsroot/meshdb/src/geo/shift In directory sc8-pr-cvs1:/tmp/cvs-serv21264/shift Modified Files: main.c Log Message: Make compat includes explicit so as to avoid masking the real headers when we want them i.e. force a #include compat/err.h so we can #include <err.h> to pick up the platform's err.h. Index: main.c =================================================================== RCS file: /cvsroot/meshdb/src/geo/shift/main.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- main.c 10 Aug 2002 03:51:33 -0000 1.1.1.1 +++ main.c 24 Nov 2003 07:04:51 -0000 1.2 @@ -21,11 +21,11 @@ #include <stdlib.h> #include <unistd.h> #include <string.h> -#include <err.h> #include <time.h> #include <math.h> #include "ntv2.h" +#include "compat/err.h" #define abs(x) ((x) < 0 ? -(x) : (x)) |
From: <il...@us...> - 2003-11-24 07:04:55
|
Update of /cvsroot/meshdb/src/geo/make-dted-qt In directory sc8-pr-cvs1:/tmp/cvs-serv21264/make-dted-qt Modified Files: main.c Log Message: Make compat includes explicit so as to avoid masking the real headers when we want them i.e. force a #include compat/err.h so we can #include <err.h> to pick up the platform's err.h. Index: main.c =================================================================== RCS file: /cvsroot/meshdb/src/geo/make-dted-qt/main.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- main.c 10 Aug 2002 03:51:32 -0000 1.1.1.1 +++ main.c 24 Nov 2003 07:04:50 -0000 1.2 @@ -1,12 +1,12 @@ #include <stdio.h> #include <unistd.h> -#include <err.h> #include <fcntl.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/mman.h> -#include "compat.h" +#include "compat/compat.h" +#include "compat/err.h" #include "dted.h" #include "qt.h" |
From: <il...@us...> - 2003-11-24 06:43:08
|
Update of /cvsroot/meshdb/src/geo/libgeo In directory sc8-pr-cvs1:/tmp/cvs-serv18683 Modified Files: vincenty.c Log Message: Include stdlib.h for abs(). Index: vincenty.c =================================================================== RCS file: /cvsroot/meshdb/src/geo/libgeo/vincenty.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- vincenty.c 10 Aug 2002 03:51:32 -0000 1.1.1.1 +++ vincenty.c 24 Nov 2003 06:43:04 -0000 1.2 @@ -8,6 +8,7 @@ */ #include <stdio.h> +#include <stdlib.h> #include <math.h> #include "geodesy.h" |
From: <il...@us...> - 2003-11-24 06:27:30
|
Update of /cvsroot/meshdb/src/mailt In directory sc8-pr-cvs1:/tmp/cvs-serv16708 Modified Files: msgid.c Log Message: Include string.h for strlen(). Index: msgid.c =================================================================== RCS file: /cvsroot/meshdb/src/mailt/msgid.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- msgid.c 22 Aug 2002 14:09:10 -0000 1.1 +++ msgid.c 24 Nov 2003 06:27:28 -0000 1.2 @@ -7,6 +7,7 @@ #include <stdio.h> #include <unistd.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include "index.h" #include "open.h" |
From: <il...@us...> - 2003-11-24 06:26:04
|
Update of /cvsroot/meshdb/src/mailt In directory sc8-pr-cvs1:/tmp/cvs-serv16521 Modified Files: update.c Log Message: Include string.h for various str*()/mem*(). Index: update.c =================================================================== RCS file: /cvsroot/meshdb/src/mailt/update.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- update.c 24 Nov 2003 06:25:30 -0000 1.2 +++ update.c 24 Nov 2003 06:26:01 -0000 1.3 @@ -8,6 +8,7 @@ */ #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <unistd.h> #include <ctype.h> #include <sys/stat.h> |
From: <il...@us...> - 2003-11-24 06:25:33
|
Update of /cvsroot/meshdb/src/mailt In directory sc8-pr-cvs1:/tmp/cvs-serv16477 Modified Files: update.c Log Message: Don't rely on size_t being the same size as int or the compiler checking format strings for us. Index: update.c =================================================================== RCS file: /cvsroot/meshdb/src/mailt/update.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- update.c 10 Aug 2002 03:45:14 -0000 1.1.1.1 +++ update.c 24 Nov 2003 06:25:30 -0000 1.2 @@ -272,7 +272,7 @@ printf("Message %lu '%.10s' from '%.10s' date '%s'\n" "\tpos %llu hdrlen %d bodylen %d\n", index, m->subject, m->from, buf, - m->pos, m->hdrlen, m->bodylen); + m->pos, (int)m->hdrlen, (int)m->bodylen); } } |
From: <il...@us...> - 2003-11-24 06:23:56
|
Update of /cvsroot/meshdb/src/mailt In directory sc8-pr-cvs1:/tmp/cvs-serv16226 Modified Files: t.c Log Message: Include stdlib.h for exit(). Index: t.c =================================================================== RCS file: /cvsroot/meshdb/src/mailt/t.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- t.c 10 Aug 2002 03:45:14 -0000 1.1.1.1 +++ t.c 24 Nov 2003 06:23:53 -0000 1.2 @@ -1,5 +1,6 @@ /* $Id$ */ #include <stdio.h> +#include <stdlib.h> #include <unistd.h> #include <time.h> #include "index.h" |
From: <il...@us...> - 2003-11-24 06:23:04
|
Update of /cvsroot/meshdb/src/mailt In directory sc8-pr-cvs1:/tmp/cvs-serv16109 Modified Files: mkill.c Log Message: Include string.h for strlen(). Index: mkill.c =================================================================== RCS file: /cvsroot/meshdb/src/mailt/mkill.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- mkill.c 10 Aug 2002 03:45:14 -0000 1.1.1.1 +++ mkill.c 24 Nov 2003 06:23:01 -0000 1.2 @@ -8,6 +8,7 @@ #include <stdio.h> #include <unistd.h> #include <stdlib.h> +#include <string.h> #include <time.h> #include "index.h" #include "open.h" |
From: <il...@us...> - 2003-11-24 06:19:57
|
Update of /cvsroot/meshdb/src/mailt In directory sc8-pr-cvs1:/tmp/cvs-serv15744 Modified Files: size.c Log Message: Include stdlib.h for exit(). Index: size.c =================================================================== RCS file: /cvsroot/meshdb/src/mailt/size.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- size.c 10 Aug 2002 03:45:14 -0000 1.1.1.1 +++ size.c 24 Nov 2003 06:19:54 -0000 1.2 @@ -1,4 +1,5 @@ #include <stdio.h> +#include <stdlib.h> #include <unistd.h> #include <time.h> #include "index.h" |
From: <il...@us...> - 2003-11-24 06:17:21
|
Update of /cvsroot/meshdb/src/mailt In directory sc8-pr-cvs1:/tmp/cvs-serv15486 Modified Files: open.c Log Message: Include stdlib.h for exit(). Index: open.c =================================================================== RCS file: /cvsroot/meshdb/src/mailt/open.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- open.c 10 Aug 2002 03:45:14 -0000 1.1.1.1 +++ open.c 24 Nov 2003 06:17:18 -0000 1.2 @@ -2,6 +2,7 @@ /* Operations to open a mailbox and its index file */ #include <stdio.h> +#include <stdlib.h> #include <unistd.h> #include <fcntl.h> |
From: <il...@us...> - 2003-11-24 06:14:23
|
Update of /cvsroot/meshdb/src/mailt In directory sc8-pr-cvs1:/tmp/cvs-serv15146 Modified Files: datetime.c Log Message: We don't need (or want) the Sun timezone hack on other platforms. Index: datetime.c =================================================================== RCS file: /cvsroot/meshdb/src/mailt/datetime.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- datetime.c 10 Aug 2002 03:45:14 -0000 1.1.1.1 +++ datetime.c 24 Nov 2003 06:14:20 -0000 1.2 @@ -77,7 +77,7 @@ } } else { if (buf[0] == '-' || buf[0] == '+') -#if 0 +#if !defined(__sun__) # define altzone tm->tm_gmtoff # define tzname1 tm->tm_zone #else |
From: <il...@us...> - 2003-11-24 05:57:21
|
Update of /cvsroot/meshdb/src/mailt In directory sc8-pr-cvs1:/tmp/cvs-serv12971 Modified Files: index.c Log Message: Size safety in format args. Index: index.c =================================================================== RCS file: /cvsroot/meshdb/src/mailt/index.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- index.c 24 Nov 2003 03:57:51 -0000 1.2 +++ index.c 24 Nov 2003 05:57:18 -0000 1.3 @@ -57,7 +57,7 @@ m0 = (struct mail0 *)m; if (msgs != 1 && m0->version != MAIL0_VERSION) { fprintf(stderr, "index: bad version number %d, expected %d\n", - m0->version, MAIL0_VERSION); + (int)m0->version, MAIL0_VERSION); munmap(m, msgs * sizeof (struct mail)); return NULL; } |
From: <il...@us...> - 2003-11-24 05:18:50
|
Update of /cvsroot/meshdb/src/geo/rf In directory sc8-pr-cvs1:/tmp/cvs-serv8244/src/geo/rf Modified Files: main.c Log Message: Removed an invalid length modifier from a double format string. Index: main.c =================================================================== RCS file: /cvsroot/meshdb/src/geo/rf/main.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- main.c 24 Nov 2003 04:57:17 -0000 1.3 +++ main.c 24 Nov 2003 05:18:47 -0000 1.4 @@ -78,7 +78,7 @@ d = r * 180 / M_PI; m = (d - floor(d)) * 60; s = (m - floor(m)) * 60; - fprintf(f, "%c%03.0f\260%02.0f\'%09.6lf\"", + fprintf(f, "%c%03.0f\260%02.0f\'%09.6f\"", c, floor(d), floor(m), s); } else if (radians) fprintf(f, DBL, r); |
From: <il...@us...> - 2003-11-24 05:09:34
|
Update of /cvsroot/meshdb/src/geo/libgeo In directory sc8-pr-cvs1:/tmp/cvs-serv6152 Modified Files: ntv2.c Log Message: Removed invalid length modifiers on non-integral types. Fixed an int that was being referred to in a format string as a double. Index: ntv2.c =================================================================== RCS file: /cvsroot/meshdb/src/geo/libgeo/ntv2.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- ntv2.c 10 Aug 2002 03:51:32 -0000 1.1.1.1 +++ ntv2.c 24 Nov 2003 05:09:31 -0000 1.2 @@ -219,7 +219,7 @@ warnx("unknown grid scale '%.8s'", rec->u.s); return -1; } - Vprintf("GS_TYPE %lf radians\n", nt->gs_scale); + Vprintf("GS_TYPE %f radians\n", nt->gs_scale); } else if (streq(rec->id, "VERSION ")) { memcpy(nt->version, rec->u.s, sizeof nt->version - 1); @@ -232,16 +232,16 @@ Vprintf("SYSTEM_T %.8s\n", nt->system_t); } else if (streq(rec->id, "MAJOR_F ")) { nt->major_f = HOSTDOUBLE(rec->u.d); - Vprintf("MAJOR_F %lf\n", nt->major_f); + Vprintf("MAJOR_F %f\n", nt->major_f); } else if (streq(rec->id, "MINOR_F ")) { nt->minor_f = HOSTDOUBLE(rec->u.d); - Vprintf("MINOR_F %lf\n", nt->minor_f); + Vprintf("MINOR_F %f\n", nt->minor_f); } else if (streq(rec->id, "MAJOR_T ")) { nt->major_t = HOSTDOUBLE(rec->u.d); - Vprintf("MAJOR_T %lf\n", nt->major_t); + Vprintf("MAJOR_T %f\n", nt->major_t); } else if (streq(rec->id, "MINOR_T ")) { nt->minor_t = HOSTDOUBLE(rec->u.d); - Vprintf("MINOR_T %lf\n", nt->minor_t); + Vprintf("MINOR_T %f\n", nt->minor_t); } else warnx("%s: unknown record ID %.8s", filename, rec->id); rec++; @@ -284,25 +284,25 @@ ; /* ignored */ } else if (streq(rec->id, "S_LAT ")) { g->s_lat = HOSTDOUBLE(rec->u.d) * nt->gs_scale; - Vprintf(" S_LAT %lf\n", g->s_lat); + Vprintf(" S_LAT %f\n", g->s_lat); } else if (streq(rec->id, "N_LAT ")) { g->n_lat = HOSTDOUBLE(rec->u.d) * nt->gs_scale; - Vprintf(" N_LAT %lf\n", g->n_lat); + Vprintf(" N_LAT %f\n", g->n_lat); } else if (streq(rec->id, "W_LONG ")) { g->w_lon = HOSTDOUBLE(rec->u.d) * nt->gs_scale; - Vprintf(" W_LON %lf\n", g->w_lon); + Vprintf(" W_LON %f\n", g->w_lon); } else if (streq(rec->id, "E_LONG ")) { g->e_lon = HOSTDOUBLE(rec->u.d) * nt->gs_scale; - Vprintf(" E_LON %lf\n", g->e_lon); + Vprintf(" E_LON %f\n", g->e_lon); } else if (streq(rec->id, "LAT_INC ")) { g->lat_inc = HOSTDOUBLE(rec->u.d)*nt->gs_scale; - Vprintf(" LAT_INC %lf\n", g->lat_inc); + Vprintf(" LAT_INC %f\n", g->lat_inc); } else if (streq(rec->id, "LONG_INC")) { g->lon_inc = HOSTDOUBLE(rec->u.d)*nt->gs_scale; - Vprintf(" LONG_INC %lf\n", g->lon_inc); + Vprintf(" LONG_INC %f\n", g->lon_inc); } else if (streq(rec->id, "GS_COUNT")) { g->gs_count = HOSTINT(rec->u.i); - Vprintf(" GS_COUNT %lf\n", g->gs_count); + Vprintf(" GS_COUNT %d\n", g->gs_count); } else warnx("unknown subrecord id '%.8s'", rec->id); rec++; |