o) Fix alpha build error.
This commit is contained in:
parent
9ac0e77238
commit
6cdd03afd2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=100406
2 changed files with 72 additions and 0 deletions
36
sysutils/bacula-server/files/patch-var.c-alpha
Normal file
36
sysutils/bacula-server/files/patch-var.c-alpha
Normal file
|
@ -0,0 +1,36 @@
|
|||
*** src/lib/var.c.orig Sun Feb 8 18:38:44 2004
|
||||
--- src/lib/var.c Sun Feb 8 18:39:48 2004
|
||||
***************
|
||||
*** 120,126 ****
|
||||
int n;
|
||||
int bytes;
|
||||
|
||||
! if (format == NULL || ap == NULL)
|
||||
return -1;
|
||||
bytes = 0;
|
||||
while (*format != '\0') {
|
||||
--- 120,126 ----
|
||||
int n;
|
||||
int bytes;
|
||||
|
||||
! if (format == NULL)
|
||||
return -1;
|
||||
bytes = 0;
|
||||
while (*format != '\0') {
|
||||
***************
|
||||
*** 204,210 ****
|
||||
int n;
|
||||
var_mvsnprintf_cb_t ctx;
|
||||
|
||||
! if (format == NULL || ap == NULL)
|
||||
return -1;
|
||||
if (buffer != NULL && bufsize == 0)
|
||||
return -1;
|
||||
--- 204,210 ----
|
||||
int n;
|
||||
var_mvsnprintf_cb_t ctx;
|
||||
|
||||
! if (format == NULL)
|
||||
return -1;
|
||||
if (buffer != NULL && bufsize == 0)
|
||||
return -1;
|
36
sysutils/bacula/files/patch-var.c-alpha
Normal file
36
sysutils/bacula/files/patch-var.c-alpha
Normal file
|
@ -0,0 +1,36 @@
|
|||
*** src/lib/var.c.orig Sun Feb 8 18:38:44 2004
|
||||
--- src/lib/var.c Sun Feb 8 18:39:48 2004
|
||||
***************
|
||||
*** 120,126 ****
|
||||
int n;
|
||||
int bytes;
|
||||
|
||||
! if (format == NULL || ap == NULL)
|
||||
return -1;
|
||||
bytes = 0;
|
||||
while (*format != '\0') {
|
||||
--- 120,126 ----
|
||||
int n;
|
||||
int bytes;
|
||||
|
||||
! if (format == NULL)
|
||||
return -1;
|
||||
bytes = 0;
|
||||
while (*format != '\0') {
|
||||
***************
|
||||
*** 204,210 ****
|
||||
int n;
|
||||
var_mvsnprintf_cb_t ctx;
|
||||
|
||||
! if (format == NULL || ap == NULL)
|
||||
return -1;
|
||||
if (buffer != NULL && bufsize == 0)
|
||||
return -1;
|
||||
--- 204,210 ----
|
||||
int n;
|
||||
var_mvsnprintf_cb_t ctx;
|
||||
|
||||
! if (format == NULL)
|
||||
return -1;
|
||||
if (buffer != NULL && bufsize == 0)
|
||||
return -1;
|
Loading…
Reference in a new issue