Perl
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives Mailing Lists Perl

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old July 30th, 2008, 03:20 PM
chromatic
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Configure.pl tests create bad dirs in $TMP

Wednesday 30 July 2008 11:20:33 Andy Dougherty wrote:

Ahh -- it's just an octal/decimal mix-up. Here's the patch:
>

2008-07-30 13:45:19.000000000
-0400 2008-07-30 14:15:44.000000000
-0400 @@ -228,7 +228,7 @@
my $expected_include_dir =
$expected_dir . $conf->data->get('slash') . q{include};
mkdir $expected_dir or croak "Unable to make testing directory";
- mkpath($expected_include_dir, 0, 755)
+ mkpath($expected_include_dir, 0, 0755)
or croak "Unable to make second-level testing directory";
($icuheaders, $without) =
$stephandle_icuheaders($conf, qq{$expected_dir\n}, 0);
>
>

Mind you, the directories still aren't cleaned up automatically, but this
at least makes that less tedious.

Good catch. Does this revision of the patch perform the cleanup
appropriately?

-- c

Reply With Quote
  #2  
Old July 30th, 2008, 06:00 PM
chromatic
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Configure.pl tests create bad dirs in $TMP

Wednesday 30 July 2008 12:10:32 Andy Dougherty wrote:

Yes, but we might as well clean up the other two cases as well. So this
goes on top of yours:
>

2008-07-30 15:05:43.000000000 -0400
2008-07-30 15:06:34.000000000 -0400
@@ -193,7 +193,7 @@
>

my $cwd = cwd();
{
- my $tdir = tempdir();
+ my $tdir = tempdir( CLEANUP =1);
chdir $tdir or croak "Unable to change to temporary directory";
my $expected_dir = q{alpha};
my $expected_include_dir =
@@ -207,7 +207,7 @@
}
>

{
- my $tdir = tempdir();
+ my $tdir = tempdir( CLEANUP =1);
chdir $tdir or croak "Unable to change to temporary directory";
my $expected_dir = q{alpha};
my $expected_include_dir =

Thanks, applied as r29881.

-- c

Reply With Quote
Reply

Viewing: Web Development Archives Mailing Lists Perl > Configure.pl tests create bad dirs in $TMP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT