Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
asn1c
Commits
6bdd8c0a
Commit
6bdd8c0a
authored
Oct 06, 2017
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vasnprintf for Solaris
parent
85d7a1b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
libasn1common/asn1_buffer.c
libasn1common/asn1_buffer.c
+2
-2
No files found.
libasn1common/asn1_buffer.c
View file @
6bdd8c0a
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
#include "asn1_buffer.h"
#include "asn1_buffer.h"
#if
ndef HAVE_DECL_VASPRINTF
#if
!defined(HAVE_DECL_VASPRINTF) || (HAVE_DECL_VASPRINTF == 0)
int
vasprintf
(
char
**
ret
,
const
char
*
fmt
,
va_list
args
);
int
vasprintf
(
char
**
ret
,
const
char
*
fmt
,
va_list
args
);
#endif
#endif
...
@@ -139,7 +139,7 @@ int abuf_vprintf(abuf *ab, const char *fmt, va_list ap) {
...
@@ -139,7 +139,7 @@ int abuf_vprintf(abuf *ab, const char *fmt, va_list ap) {
return
ret
;
return
ret
;
}
}
#if
ndef HAVE_DECL_VASPRINTF
#if
!defined(HAVE_DECL_VASPRINTF) || (HAVE_DECL_VASPRINTF == 0)
/* Solaris doesn't have vasprintf(3). */
/* Solaris doesn't have vasprintf(3). */
int
int
vasprintf
(
char
**
ret
,
const
char
*
fmt
,
va_list
args
)
{
vasprintf
(
char
**
ret
,
const
char
*
fmt
,
va_list
args
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment