Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 2543
Status: resolved
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: slaven [...] rezic.de
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 6.10_03
Fixed in: (no value)



Subject: [PATCH} extended make clean
On RedHat 8.0, core dumps are named /^core\.(\d+)$/, where $1 is the pid of the segfaulted process. I propose to add this pattern to MakeMaker's make clean target. I would be nice if we could use regexpes here, but the supplied shell glob should also do. Regards, Slaven
# # # To apply this patch: # STEP 1: Chdir to the source directory. # STEP 2: Run the 'applypatch' program with this patch file as input. # # If you do not have 'applypatch', it is part of the 'makepatch' package # that you can fetch from the Comprehensive Perl Archive Network: # http://www.perl.com/CPAN/authors/Johan_Vromans/makepatch-x.y.tar.gz # In the above URL, 'x' should be 2 or higher. # # To apply this patch without the use of 'applypatch': # STEP 1: Chdir to the source directory. # STEP 2: Run the 'patch' program with this file as input. # #### End of Preamble #### #### Patch data follows #### diff -up 'ExtUtils-MakeMaker-6.10_03/lib/ExtUtils/MM_Unix.pm' 'new.ExtUtils-MakeMaker-6.10_03/lib/ExtUtils/MM_Unix.pm' Index: ./lib/ExtUtils/MM_Unix.pm --- ./lib/ExtUtils/MM_Unix.pm Fri Apr 11 01:59:28 2003 +++ ./lib/ExtUtils/MM_Unix.pm Fri May 9 10:31:59 2003 @@ -304,6 +304,7 @@ clean :: clean_subdirs } else { push(@otherfiles, qw[core core.*perl.*.? *perl.core]); + push(@otherfiles, map { "core." . "[0-9]"x$_ } (1..5)); } push @m, "\t-\$(RM_RF) @otherfiles\n"; #### End of Patch data #### #### ApplyPatch data follows #### # Data version : 1.0 # Date generated : Fri May 9 10:32:21 2003 # Generated by : makepatch 2.00_07* # Recurse directories : Yes # Excluded files : (\A|/).*\~\Z # (\A|/).*\.a\Z # (\A|/).*\.bak\Z # (\A|/).*\.BAK\Z # (\A|/).*\.elc\Z # (\A|/).*\.exe\Z # (\A|/).*\.gz\Z # (\A|/).*\.ln\Z # (\A|/).*\.o\Z # (\A|/).*\.obj\Z # (\A|/).*\.olb\Z # (\A|/).*\.old\Z # (\A|/).*\.orig\Z # (\A|/).*\.rej\Z # (\A|/).*\.so\Z # (\A|/).*\.Z\Z # (\A|/)\.del\-.*\Z # (\A|/)\.make\.state\Z # (\A|/)\.nse_depinfo\Z # (\A|/)core\Z # (\A|/)tags\Z # (\A|/)TAGS\Z # p 'lib/ExtUtils/MM_Unix.pm' 110791 1052469119 0100644 #### End of ApplyPatch data #### #### End of Patch kit [created: Fri May 9 10:32:21 2003] #### #### Patch checksum: 46 1766 42413 #### #### Checksum: 64 2390 28405 ####
Done.