aboutsummaryrefslogtreecommitdiffstats
path: root/misc/ossp-uuid/files
diff options
context:
space:
mode:
authorvd <vd@FreeBSD.org>2006-03-17 14:43:10 +0800
committervd <vd@FreeBSD.org>2006-03-17 14:43:10 +0800
commitbf6ce9b408b535e52b7b7405d8e835d030b07177 (patch)
treee055461053915b3b66cf4b6dcf655e913799cfd6 /misc/ossp-uuid/files
parenta1de71209b4dabfdc7962fca0eb7754035c4450a (diff)
downloadfreebsd-ports-gnome-bf6ce9b408b535e52b7b7405d8e835d030b07177.tar.gz
freebsd-ports-gnome-bf6ce9b408b535e52b7b7405d8e835d030b07177.tar.zst
freebsd-ports-gnome-bf6ce9b408b535e52b7b7405d8e835d030b07177.zip
Update from 1.4.1 to 1.4.2 (bugfix release)
Diffstat (limited to 'misc/ossp-uuid/files')
-rw-r--r--misc/ossp-uuid/files/patch-uuid_str.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/misc/ossp-uuid/files/patch-uuid_str.c b/misc/ossp-uuid/files/patch-uuid_str.c
deleted file mode 100644
index f88d2bcadb87..000000000000
--- a/misc/ossp-uuid/files/patch-uuid_str.c
+++ /dev/null
@@ -1,32 +0,0 @@
---- uuid_str.c.orig Tue Mar 29 21:39:51 2005
-+++ uuid_str.c Thu Dec 8 18:46:13 2005
-@@ -690,8 +690,10 @@
- {
- char *rv;
- int n;
-+ va_list ap_tmp;
-
-- n = str_vsnprintf(NULL, 0, fmt, ap);
-+ va_copy(ap_tmp, ap);
-+ n = str_vsnprintf(NULL, 0, fmt, ap_tmp);
- if ((rv = (char *)malloc(n+1)) == NULL)
- return NULL;
- str_vsnprintf(rv, n+1, fmt, ap);
-@@ -720,6 +722,7 @@
- {
- int rv;
- size_t n;
-+ va_list ap_tmp;
-
- if (str == NULL)
- return -1;
-@@ -729,7 +732,8 @@
- }
- else {
- n = strlen(*str);
-- rv = str_vsnprintf(NULL, 0, fmt, ap);
-+ va_copy(ap_tmp, ap);
-+ rv = str_vsnprintf(NULL, 0, fmt, ap_tmp);
- if ((*str = (char *)realloc(*str, n+rv+1)) == NULL)
- return -1;
- str_vsnprintf((*str)+n, rv+1, fmt, ap);