projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fmodl, remainder*: Avoid wrong results due to rounding errors.
[gnulib.git]
/
lib
/
dirfd.c
diff --git
a/lib/dirfd.c
b/lib/dirfd.c
index
81993c5
..
2f4d424
100644
(file)
--- a/
lib/dirfd.c
+++ b/
lib/dirfd.c
@@
-1,6
+1,6
@@
/* dirfd.c -- return the file descriptor associated with an open DIR*
/* dirfd.c -- return the file descriptor associated with an open DIR*
- Copyright (C) 2001, 2006, 2008-20
09
Free Software Foundation, Inc.
+ Copyright (C) 2001, 2006, 2008-20
12
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-23,7
+23,7
@@
#include <errno.h>
int
#include <errno.h>
int
-dirfd (DIR
const
*dir_p)
+dirfd (DIR *dir_p)
{
int fd = DIR_TO_FD (dir_p);
if (fd == -1)
{
int fd = DIR_TO_FD (dir_p);
if (fd == -1)