Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
64fa23ad
Commit
64fa23ad
authored
Aug 01, 2011
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak includes to fix non-defined NULL on some systems.
parent
0a77adee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
snprintf.c
lib/snprintf.c
+6
-2
No files found.
lib/snprintf.c
View file @
64fa23ad
...
...
@@ -37,7 +37,7 @@
* which showed it, so that's been fixed. Also, formated the code
* to mutt conventions, and removed dead code left over from the
* original. Also, there is now a builtin-test, just compile with:
* gcc -DTEST_SNPRINTF -o snprintf snprintf.c -lm
* gcc -
I.. -
DTEST_SNPRINTF -o snprintf snprintf.c -lm
* and run snprintf for results.
*
* Thomas Roessler <roessler@guug.de> 01/27/98 for mutt 0.89i
...
...
@@ -103,7 +103,7 @@
*
**************************************************************/
#include "
../
config.h"
#include "config.h"
#ifdef TEST_SNPRINTF
/* need math library headers for testing */
...
...
@@ -141,6 +141,10 @@
void
dummy_snprintf
(
void
)
{}
#endif
/* HAVE_SNPRINTF, etc */
#ifdef STDC_HEADERS
#include <stddef.h>
#endif
#ifdef HAVE_LONG_DOUBLE
#define LDOUBLE long double
#else
...
...
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