summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>2015-12-29 22:58:51 -0500
committerAndy Dougherty <doughera@lafayette.edu>2016-01-04 11:10:34 -0500
commit8b8c6ab7a0f348f87b1d3cb71ad386b19d348719 (patch)
tree6e3d11ab2dea4903acb825d7366eadec7951c117 /config_h.SH
parent36b1c8929241ab83b3003de806e94e66990e4c6d (diff)
downloadperl-8b8c6ab7a0f348f87b1d3cb71ad386b19d348719.tar.gz
Add Configure support for fdclose() for [perl #126847].
This patch also adjusts the generated files suggested by Porting/checkcfgvar.pl.
Diffstat (limited to 'config_h.SH')
-rwxr-xr-xconfig_h.SH7
1 files changed, 7 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH
index 01ac23daa0..e083524455 100755
--- a/config_h.SH
+++ b/config_h.SH
@@ -3561,6 +3561,13 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$d_fcntl_can_lock FCNTL_CAN_LOCK /**/
+/* HAS_FDCLOSE:
+ * This symbol, if defined, indicates that the fdclose routine is
+ * available to free a FILE structure without closing the underlying
+ * file descriptor. This function appeared in FreeBSD 10.2.
+ */
+#$d_fdclose HAS_FDCLOSE /**/
+
/* HAS_FDIM:
* This symbol, if defined, indicates that the fdim routine is
* available to do the positive difference function.