summaryrefslogtreecommitdiff
path: root/sysutils/mkisofs/files/patch-aj
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2001-08-02 09:04:08 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2001-08-02 09:04:08 +0000
commit58da4a7acbd0d744ffe56706389670a829905c37 (patch)
treeb692584237e735e79896587f14d85d2fe57a1b49 /sysutils/mkisofs/files/patch-aj
parentRemove cdrecord (was renamed to cdrtools). (diff)
Cut down to a slave port for cdrtools-1.10 and thus upgrade to 1.14.
Notes
Notes: svn path=/head/; revision=45727
Diffstat (limited to 'sysutils/mkisofs/files/patch-aj')
-rw-r--r--sysutils/mkisofs/files/patch-aj42
1 files changed, 0 insertions, 42 deletions
diff --git a/sysutils/mkisofs/files/patch-aj b/sysutils/mkisofs/files/patch-aj
deleted file mode 100644
index fbc2f5ad3a22..000000000000
--- a/sysutils/mkisofs/files/patch-aj
+++ /dev/null
@@ -1,42 +0,0 @@
---- lib/cvt.c.orig Wed Sep 8 15:03:20 1999
-+++ lib/cvt.c Sun Feb 25 10:06:50 2001
-@@ -31,7 +31,7 @@
- #include <standard.h>
-
- #ifdef HAVE_DTOA /* 4.4BSD floating point implementation */
--extern char *__dtoa __PR((double value, int mode, int ndigit, int *decpt, int *sign, char **ep));
-+extern char *__dtoa __PR((double value, int mode, int ndigit, int *decpt, int *sign, char **ep, char **resultp));
- #endif
-
- #ifndef HAVE_ECVT
-@@ -57,7 +57,13 @@
- static char *buf;
- char *bufend;
- char *ep;
-- char *bp = __dtoa(value, 2, ndigit, decpt, sign, &ep);
-+ char *bp;
-+ static char *dtoaresult = NULL;
-+
-+ free(dtoaresult);
-+ dtoaresult = NULL;
-+
-+ bp = __dtoa(value, 2, ndigit, decpt, sign, &ep, &dtoaresult);
-
- if (value == 0.0) {
- /*
-@@ -102,7 +108,13 @@
- static char *buf;
- char *bufend;
- char *ep;
-- char *bp = __dtoa(value, 3, ndigit, decpt, sign, &ep);
-+ char *bp;
-+ static char *dtoaresult = NULL;
-+
-+ free(dtoaresult);
-+ dtoaresult = NULL;
-+
-+ bp = __dtoa(value, 3, ndigit, decpt, sign, &ep, &dtoaresult);
-
- if (value == 0.0) {
- /*
-