libgit2/src/unix
Edward Thomson cc17264270 p_snprintf: no need for arguments to a format
`snprintf` requires a _format_ but does not require _arguments_ to the
format.  eg: `snprintf(buf, 42, "hi")` is perfectly legal.  Expand the
macro to match.

Without this, `p_sprintf(buf, 42, "hi")` errors with:

```
error: expected expression
                p_snprintf(msg, 42, "hi");
                ^
src/unix/posix.h:53:34: note: expanded from macro 'p_snprintf'
                                 ^
/usr/include/secure/_stdio.h:57:73: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str),
__VA_ARGS__)
```
2017-02-17 12:10:19 +00:00
..
map.c giterr_set: consistent error messages 2016-12-29 12:26:03 +00:00
posix.h p_snprintf: no need for arguments to a format 2017-02-17 12:10:19 +00:00
pthread.h threads: introduce git_thread_exit 2016-11-18 07:34:09 -05:00
realpath.c Move p_realpath logic to realpath.c 2014-08-05 20:52:00 +02:00