Commit 2d3683e1 authored by Per Cederqvist's avatar Per Cederqvist

Release 0.98

parent b31c15e9
......@@ -52,99 +52,99 @@ libisc.a: $(OBJECTS)
# DO NOT DELETE THIS LINE -- mkdep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
isc_event.o : isc_event.c /usr/include/stdio.h \
/usr/gnu/lib/gcc-include/stdarg.h /usr/local/include/stdlib.h \
/usr/include/time.h /usr/include/sys/stdtypes.h /usr/include/sys/types.h \
/usr/include/sys/sysmacros.h /usr/include/sys/time.h /usr/include/errno.h \
/usr/include/sys/errno.h /home/kolix2/elev/d89/d89peter/include/stddef.h \
/usr/include/string.h isc.h /usr/include/sys/socket.h intern.h
isc_session.o : isc_session.c /usr/include/sys/types.h \
/usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h \
/usr/include/errno.h /usr/include/sys/errno.h /usr/local/include/stdlib.h \
/home/kolix2/elev/d89/d89peter/include/stddef.h /usr/include/string.h \
/usr/include/fcntl.h /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h \
isc.h /usr/include/time.h /usr/gnu/lib/gcc-include/stdarg.h \
/usr/include/sys/socket.h intern.h
isc_abort.o : isc_abort.c /usr/include/stdio.h /usr/local/include/stdlib.h \
/home/kolix2/elev/d89/d89peter/include/stddef.h /usr/include/sys/stdtypes.h \
isc.h /usr/include/time.h /usr/gnu/lib/gcc-include/stdarg.h \
/usr/include/sys/types.h /usr/include/sys/sysmacros.h \
/usr/include/sys/socket.h intern.h
isc_alloc.o : isc_alloc.c /usr/local/include/stdlib.h \
/home/kolix2/elev/d89/d89peter/include/stddef.h /usr/include/sys/stdtypes.h \
/usr/include/string.h isc.h /usr/include/time.h \
/usr/gnu/lib/gcc-include/stdarg.h /usr/include/sys/types.h \
isc_event.o : isc_event.c /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdio.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdarg.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdlib.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/stdtypes.h \
/usr/include/time.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/types.h /usr/include/sys/sysmacros.h \
/usr/include/sys/time.h /usr/include/errno.h /usr/bsd/include/sys/errno.h /usr/include/sys/errno.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/stddef.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/string.h \
isc.h /usr/include/sys/socket.h intern.h
isc_session.o : isc_session.c /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/types.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/stdtypes.h /usr/include/sys/sysmacros.h \
/usr/include/errno.h /usr/bsd/include/sys/errno.h /usr/include/sys/errno.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdlib.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/stddef.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/string.h \
/usr/include/fcntl.h /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h isc.h \
/usr/include/time.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdarg.h /usr/include/sys/socket.h \
intern.h
isc_abort.o : isc_abort.c /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdio.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdlib.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/stdtypes.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stddef.h \
isc.h /usr/include/time.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdarg.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/types.h \
/usr/include/sys/sysmacros.h /usr/include/sys/socket.h intern.h
isc_alloc.o : isc_alloc.c /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdlib.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/stdtypes.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/stddef.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/string.h \
isc.h /usr/include/time.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdarg.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/types.h \
/usr/include/sys/sysmacros.h /usr/include/sys/socket.h intern.h
isc_master.o : isc_master.c /usr/include/errno.h /usr/include/sys/errno.h \
/usr/local/include/stdlib.h /home/kolix2/elev/d89/d89peter/include/stddef.h \
/usr/include/sys/stdtypes.h /usr/include/sys/file.h \
/usr/include/sys/types.h /usr/include/sys/sysmacros.h \
/usr/include/sys/fcntlcom.h /usr/include/sys/stat.h isc.h \
/usr/include/time.h /usr/gnu/lib/gcc-include/stdarg.h \
isc_master.o : isc_master.c /usr/include/errno.h /usr/bsd/include/sys/errno.h \
/usr/include/sys/errno.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdlib.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/stdtypes.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/stddef.h /usr/include/sys/file.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/types.h \
/usr/include/sys/sysmacros.h /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h \
isc.h /usr/include/time.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdarg.h /usr/include/sys/socket.h \
intern.h
isc_output.o : isc_output.c /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdlib.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/stdtypes.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stddef.h \
/usr/include/errno.h /usr/bsd/include/sys/errno.h /usr/include/sys/errno.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/string.h \
/usr/include/sys/file.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/types.h \
/usr/include/sys/sysmacros.h /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h \
isc.h /usr/include/time.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdarg.h /usr/include/sys/socket.h \
intern.h
isc_queue.o : isc_queue.c /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdlib.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/stdtypes.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/stddef.h isc.h /usr/include/time.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdarg.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/types.h /usr/include/sys/sysmacros.h \
/usr/include/sys/socket.h intern.h
isc_output.o : isc_output.c /usr/local/include/stdlib.h \
/home/kolix2/elev/d89/d89peter/include/stddef.h /usr/include/sys/stdtypes.h \
/usr/include/errno.h /usr/include/sys/errno.h /usr/include/string.h \
/usr/include/sys/file.h /usr/include/sys/types.h \
/usr/include/sys/sysmacros.h /usr/include/sys/fcntlcom.h \
/usr/include/sys/stat.h isc.h /usr/include/time.h \
/usr/gnu/lib/gcc-include/stdarg.h /usr/include/sys/socket.h intern.h
isc_queue.o : isc_queue.c /usr/local/include/stdlib.h \
/home/kolix2/elev/d89/d89peter/include/stddef.h /usr/include/sys/stdtypes.h \
isc.h /usr/include/time.h /usr/gnu/lib/gcc-include/stdarg.h \
/usr/include/sys/types.h /usr/include/sys/sysmacros.h \
isc_message.o : isc_message.c /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdlib.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/stdtypes.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stddef.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/string.h isc.h /usr/include/time.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdarg.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/types.h /usr/include/sys/sysmacros.h \
/usr/include/sys/socket.h intern.h
isc_message.o : isc_message.c /usr/local/include/stdlib.h \
/home/kolix2/elev/d89/d89peter/include/stddef.h /usr/include/sys/stdtypes.h \
/usr/include/string.h isc.h /usr/include/time.h \
/usr/gnu/lib/gcc-include/stdarg.h /usr/include/sys/types.h \
isc_handler.o : isc_handler.c /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdio.h \
isc.h /usr/include/time.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/stdtypes.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdarg.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/types.h \
/usr/include/sys/sysmacros.h /usr/include/sys/socket.h intern.h
isc_stdout.o : isc_stdout.c /usr/gnu/lib/gcc-include/stdarg.h \
/usr/include/string.h /usr/include/sys/stdtypes.h isc.h /usr/include/time.h \
/usr/include/sys/types.h /usr/include/sys/sysmacros.h \
isc_stdout.o : isc_stdout.c /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdio.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdarg.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/string.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/stdtypes.h isc.h /usr/include/time.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/types.h /usr/include/sys/sysmacros.h \
/usr/include/sys/socket.h
isc_socket.o : isc_socket.c /usr/include/stdio.h \
/usr/gnu/lib/gcc-include/stdarg.h /usr/local/include/stdlib.h \
/usr/include/time.h /usr/include/sys/stdtypes.h /usr/include/sys/types.h \
/usr/include/sys/sysmacros.h /usr/include/sys/time.h \
/usr/include/netinet/in.h /usr/include/sys/socket.h \
/usr/local/include/arpa/inet.h /usr/include/sys/file.h \
/usr/include/sys/fcntlcom.h /usr/include/sys/stat.h \
/usr/include/sys/ioctl.h /usr/gnu/lib/gcc-include/sys/ttychars.h \
/usr/include/sys/ttydev.h /usr/gnu/lib/gcc-include/sys/ttold.h \
/usr/gnu/lib/gcc-include/sys/ioccom.h /usr/gnu/lib/gcc-include/sys/ttycom.h \
/usr/gnu/lib/gcc-include/sys/filio.h /usr/gnu/lib/gcc-include/sys/sockio.h \
/usr/include/errno.h /usr/include/sys/errno.h /usr/local/include/netdb.h \
/home/kolix2/elev/d89/d89peter/include/stddef.h /usr/include/string.h \
/usr/include/fcntl.h isc.h intern.h
isc_tcp.o : isc_tcp.c /usr/include/errno.h /usr/include/sys/errno.h \
/usr/local/include/stdlib.h /home/kolix2/elev/d89/d89peter/include/stddef.h \
/usr/include/sys/stdtypes.h /usr/include/ctype.h /usr/include/sys/types.h \
/usr/include/sys/sysmacros.h /usr/include/sys/socket.h \
/usr/include/netinet/in.h /usr/local/include/arpa/inet.h \
isc_socket.o : isc_socket.c /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdio.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdarg.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdlib.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/stdtypes.h /usr/include/time.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/types.h \
/usr/include/sys/sysmacros.h /usr/include/sys/time.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/netinet/in.h \
/usr/include/sys/socket.h /usr/bsd/include/arpa/inet.h /usr/bsd/include/sys/cdefs.h \
/usr/include/sys/file.h /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h \
/usr/include/sys/ioctl.h /usr/gnu/lib/gcc-include/sys/ttychars.h \
/usr/include/sys/ttydev.h /usr/gnu/lib/gcc-include/sys/ttold.h \
/usr/gnu/lib/gcc-include/sys/ioccom.h /usr/gnu/lib/gcc-include/sys/ttycom.h \
/usr/gnu/lib/gcc-include/sys/filio.h /usr/gnu/lib/gcc-include/sys/sockio.h \
/usr/local/include/netdb.h /usr/include/string.h /usr/include/fcntl.h isc.h \
/usr/include/time.h /usr/gnu/lib/gcc-include/stdarg.h intern.h
isc_udp.o : isc_udp.c /usr/include/sys/types.h /usr/include/sys/stdtypes.h \
/usr/include/sys/sysmacros.h /usr/include/errno.h /usr/include/sys/errno.h \
/usr/local/include/stdlib.h /home/kolix2/elev/d89/d89peter/include/stddef.h \
/usr/include/ctype.h /usr/include/netinet/in.h /usr/include/sys/socket.h \
/usr/local/include/arpa/inet.h /usr/include/sys/file.h \
/usr/include/sys/fcntlcom.h /usr/include/sys/stat.h \
/usr/include/sys/ioctl.h /usr/gnu/lib/gcc-include/sys/ttychars.h \
/usr/include/sys/ttydev.h /usr/gnu/lib/gcc-include/sys/ttold.h \
/usr/gnu/lib/gcc-include/sys/ioccom.h /usr/gnu/lib/gcc-include/sys/ttycom.h \
/usr/gnu/lib/gcc-include/sys/filio.h /usr/gnu/lib/gcc-include/sys/sockio.h \
/usr/local/include/netdb.h /usr/include/string.h /usr/include/fcntl.h isc.h \
/usr/include/time.h /usr/gnu/lib/gcc-include/stdarg.h intern.h
printf.o : printf.c /usr/include/sys/types.h /usr/include/sys/stdtypes.h \
/usr/include/sys/sysmacros.h /usr/gnu/lib/gcc-include/varargs.h \
/usr/gnu/lib/gcc-include/va-sparc.h /usr/include/stdio.h \
/usr/include/ctype.h /usr/include/string.h /usr/local/include/stdlib.h \
/usr/include/math.h /usr/include/floatingpoint.h /usr/include/sys/ieeefp.h
/usr/include/sys/ioctl.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/ttychars.h \
/usr/include/sys/ttydev.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/ttold.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/ioccom.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/ttycom.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/filio.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/sockio.h \
/usr/include/errno.h /usr/bsd/include/sys/errno.h /usr/include/sys/errno.h /usr/include/netdb.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/stddef.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/string.h \
/usr/include/fcntl.h isc.h intern.h
isc_tcp.o : isc_tcp.c /usr/include/errno.h /usr/bsd/include/sys/errno.h /usr/include/sys/errno.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdlib.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/stdtypes.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/stddef.h /usr/include/ctype.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/types.h \
/usr/include/sys/sysmacros.h /usr/include/sys/socket.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/netinet/in.h \
/usr/bsd/include/arpa/inet.h /usr/bsd/include/sys/cdefs.h /usr/include/sys/file.h \
/usr/include/sys/fcntlcom.h /usr/include/sys/stat.h /usr/include/sys/ioctl.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/ttychars.h /usr/include/sys/ttydev.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/ttold.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/ioccom.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/ttycom.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/filio.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/sockio.h /usr/include/netdb.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/string.h \
/usr/include/fcntl.h isc.h /usr/include/time.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdarg.h \
intern.h
isc_udp.o : isc_udp.c /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/types.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/stdtypes.h \
/usr/include/sys/sysmacros.h /usr/include/errno.h /usr/bsd/include/sys/errno.h \
/usr/include/sys/errno.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdlib.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stddef.h \
/usr/include/ctype.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/netinet/in.h /usr/include/sys/socket.h \
/usr/bsd/include/arpa/inet.h /usr/bsd/include/sys/cdefs.h /usr/include/sys/file.h \
/usr/include/sys/fcntlcom.h /usr/include/sys/stat.h /usr/include/sys/ioctl.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/ttychars.h /usr/include/sys/ttydev.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/ttold.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/ioccom.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/ttycom.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/filio.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/sockio.h /usr/include/netdb.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/string.h \
/usr/include/fcntl.h isc.h /usr/include/time.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdarg.h \
intern.h
printf.o : printf.c /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/types.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/stdtypes.h \
/usr/include/sys/sysmacros.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/varargs.h \
/usr/gnu/var/gcc/sunos4.1.1/2.0/include/va-sparc.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdio.h \
/usr/include/ctype.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/string.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/stdlib.h \
/usr/include/math.h /usr/include/floatingpoint.h /usr/gnu/var/gcc/sunos4.1.1/2.0/include/sys/ieeefp.h
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
......@@ -26,7 +26,44 @@ isc_initialize(IscConfig * cfg)
IscMaster * mcb;
IscMasterConfig * mcfg;
IscSessionConfig * scfg;
/* Handle user specified defaults */
if (cfg)
switch (cfg->version)
{
case 0:
break;
case 1005:
mcfg = &cfg->master;
switch (mcfg->version)
{
case 0:
break;
case 1001:
if (mcfg->memfn.alloc &&
mcfg->memfn.realloc &&
mcfg->memfn.free)
isc_setallocfn(mcfg->memfn.alloc,
mcfg->memfn.realloc,
mcfg->memfn.free);
if (mcfg->abortfn)
isc_setabortfn(mcfg->abortfn);
break;
default:
errno = EINVAL;
return NULL;
}
break;
default:
errno = EINVAL;
return NULL;
}
ISC_XNEW(mcb);
......@@ -46,7 +83,6 @@ isc_initialize(IscConfig * cfg)
{
case 1005:
scfg = &cfg->session;
mcfg = &cfg->master;
switch (scfg->version)
{
......@@ -72,27 +108,6 @@ isc_initialize(IscConfig * cfg)
return NULL;
}
switch (mcfg->version)
{
case 0:
break;
case 1001:
if (mcfg->memfn.alloc &&
mcfg->memfn.realloc &&
mcfg->memfn.free)
isc_setallocfn(mcfg->memfn.alloc,
mcfg->memfn.realloc,
mcfg->memfn.free);
if (mcfg->abortfn)
isc_setabortfn(mcfg->abortfn);
break;
default:
isc_free(mcb);
errno = EINVAL;
return NULL;
}
break;
default:
......
......@@ -15,7 +15,7 @@
#include "isc.h"
#include "intern.h"
extern void *memcpy(void *, void *, int);
extern void *memcpy(void *, const void *, int);
IscMessage *
......
......@@ -22,7 +22,7 @@
/*
* External function declarations
*/
extern void *memcpy(void *, void *, int);
extern void *memcpy(void *, const void *, int);
extern char *strerror(int);
......
......@@ -55,7 +55,7 @@ extern int accept(int fd, struct sockaddr *sock, int *len);
#undef inet_ntoa
#endif
static char *inet_ntoa(ad)
char *inet_ntoa(ad)
struct in_addr ad;
{
u_long s_ad;
......
......@@ -240,9 +240,10 @@ rflag: switch (*++fmt)
* zeroes later, so buffer size stays rational.
*/
if (prec > MAXFRACT) {
if (*fmt != 'g' && *fmt != 'G' || (flags&ALT))
fpprec = prec - MAXFRACT;
prec = MAXFRACT;
if ((*fmt != 'g' && *fmt != 'G') ||
(flags&ALT))
fpprec = prec - MAXFRACT;
prec = MAXFRACT;
}
else if (prec == -1)
prec = DEFPREC;
......@@ -556,7 +557,7 @@ eformat: if (expcnt) {
* conversion is less than -4 or greater than the precision.''
* -- ANSI X3J11
*/
if (expcnt > prec || !expcnt && fract && fract < .0001) {
if (expcnt > prec || (!expcnt && fract && fract < .0001)) {
/*
* g/G format counts "significant digits, not digits of
* precision; for the e/E format, this just causes an
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment