straighten out dprintf/fdprintf mess; remove old "define lchown chown"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
0288b27ad8
commit
47061b4e9b
2 changed files with 9 additions and 16 deletions
|
@ -42,9 +42,9 @@ int FAST_FUNC vasprintf(char **string_ptr, const char *format, va_list p)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_FDPRINTF
|
||||
/* dprintf is now actually part of POSIX.1, but was only added in 2008 */
|
||||
int fdprintf(int fd, const char *format, ...)
|
||||
#ifndef HAVE_DPRINTF
|
||||
/* dprintf is now part of POSIX.1, but was only added in 2008 */
|
||||
int dprintf(int fd, const char *format, ...)
|
||||
{
|
||||
va_list p;
|
||||
int r;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue