This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Spelling - megapatch
[metaconfig.git] / U / compline / d_closedir.U
index 02f5ff4..6313089 100644 (file)
@@ -1,11 +1,11 @@
 ?RCS: $Id: d_closedir.U,v 3.0.1.3 1997/02/28 15:31:26 ram Exp $
 ?RCS:
 ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
-?RCS: 
-?RCS: You may redistribute only under the terms of the Artistic Licence,
+?RCS:
+?RCS: You may redistribute only under the terms of the Artistic License,
 ?RCS: as specified in the README file that comes with the distribution.
 ?RCS: You may reuse parts of this distribution only within the terms of
-?RCS: that same Artistic Licence; a copy of which may be found at the root
+?RCS: that same Artistic License; a copy of which may be found at the root
 ?RCS: of the source tree for dist 3.0.
 ?RCS:
 ?RCS: Original Author: Andy Dougherty <doughera@lafcol.lafayette.edu>
@@ -21,7 +21,7 @@
 ?RCS: patch32: created by ADO
 ?RCS:
 ?MAKE:d_closedir d_void_closedir: Inlibc i_dirent i_sysdir i_sysndir \
-       i_systypes Compile Setvar rm run
+       i_systypes Compile Setvar rm_try run
 ?MAKE: -pick add $@ %<
 ?S:d_closedir:
 ?S:    This variable conditionally defines HAS_CLOSEDIR if closedir() is
@@ -43,6 +43,7 @@
 ?C:.
 ?H:#$d_void_closedir VOID_CLOSEDIR             /**/
 ?H:.
+?F:!try
 ?LINT:set d_closedir d_void_closedir
 : see if closedir exists
 set closedir d_closedir
@@ -84,7 +85,7 @@ case "$d_closedir" in
 #endif
 #endif
 #endif
-#endif 
+#endif
 int main() { return closedir(opendir(".")); }
 EOM
        set try
@@ -107,5 +108,6 @@ EOM
 esac
 set d_void_closedir
 eval $setvar
-$rm -f try try.*
+$rm_try
 @end
+