git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
61eb7d8
)
snprintf-for-aix-not-irix-20010212
author
Derrick Brashear
<shadow@dementia.org>
Tue, 13 Feb 2001 03:54:04 +0000 (
03:54
+0000)
committer
Derrick Brashear
<shadow@dementia.org>
Tue, 13 Feb 2001 03:54:04 +0000 (
03:54
+0000)
Irix 6.5 has snprintf
src/util/snprintf.c
patch
|
blob
|
history
diff --git
a/src/util/snprintf.c
b/src/util/snprintf.c
index
c789dc7
..
4aa08b7
100644
(file)
--- a/
src/util/snprintf.c
+++ b/
src/util/snprintf.c
@@
-1,7
+1,7
@@
/* snprintf.c - Formatted, length-limited print to a string */
#include <afs/param.h>
-#if defined(AFS_OSF20_ENV) || defined(AFS_SGI51_ENV)
+#if defined(AFS_OSF20_ENV) || defined(AFS_AIX32_ENV)
#include <sys/types.h>
#include <stdarg.h>
@@
-384,4
+384,4
@@
void snprintf(char *p, unsigned int avail, char *fmt, ...)
vsnprintf(p, avail, fmt, ap);
va_end(ap);
}
-#endif /* AFS_OSF20_ENV || AFS_SGI51_ENV */
+#endif /* AFS_OSF20_ENV || AFS_AIX32_ENV */