ossp-pkg/path/path_util.c 1.1 -> 1.2
--- path_util.c 2002/08/03 21:00:15 1.1
+++ path_util.c 2003/02/16 11:38:12 1.2
@@ -40,8 +40,8 @@
int path_mvxprintf(int (*output)(void *ctx, const char *buffer, size_t bufsize), void *ctx, const char *format, va_list ap)
{
/* sufficient integer buffer: <available-bits> x log_10(2) + safety */
- char ibuf[((sizeof(int)*8)/3)+10];
- char libuf[((sizeof(long)*8)/3)+10];
+ char ibuf[((sizeof(int)*8)/3)+10];
+ char libuf[((sizeof(long)*8)/3)+10];
char *cp;
char c;
int d;
@@ -153,7 +153,7 @@
return -1;
if (buffer != NULL && bufsize == 0)
return -1;
- if (buffer == NULL)
+ if (buffer == NULL)
/* just determine output length */
n = path_mvxprintf(NULL, NULL, format, ap);
else {
@@ -187,7 +187,7 @@
char *path_mvasnprintf(const char *format, va_list ap)
{
char *buffer;
- size_t bufsize;
+ size_t bufsize;
va_list apbak;
apbak = ap;
|
|