Code Comments
Programming Forum and web based access to our favorite programming groups.I've just started using IPC::DirQueue 0.08. Thanks to the author(s)
for a module that appears to deliver exactly what I need.
I received these warnings:
Illegal octal digit '8' ignored at \
/usr/lib/perl5/site_perl/5.6.1/IPC/DirQueue.pm line 146.
Illegal octal digit '8' ignored at \
/usr/lib/perl5/site_perl/5.6.1/IPC/DirQueue.pm line 148.
which corresponds to this section of code:
$self->{data_file_mode} ||= '0666';
$self->{data_file_mode} = oct ($self->{data_file_mode});
$self->{queue_file_mode} ||= '0666';
$self->{queue_file_mode} = oct ($self->{queue_file_mode});
in sub new(). Lines 146 and 148 are the ones that use 'oct'.
The fix would appear to be:
146: $self->{data_file_mode} = oct sprintf "0%o",$self->{data_file_mode};
148: $self->{queue_file_mode} = oct sprintf "0%o",$self->{queue_file_mode};
Can anyone else confirm this?
--
Thomas J. Pinkl | T: 215-442-9300
Senior Systems Architect | 800-444-1427
Health Business Systems, Inc | F: 215-442-7555
An SXC Company |
738 Louis Drive | http://www.hbsrx.com/
Warminster, PA 18974 | http://www.sxc.com/
Post Follow-up to this message
Thomas J Pinkl writes:
> I've just started using IPC::DirQueue 0.08. Thanks to the author(s)
> for a module that appears to deliver exactly what I need.
You're welcome! ;)
> I received these warnings:
>
> Illegal octal digit '8' ignored at \
> /usr/lib/perl5/site_perl/5.6.1/IPC/DirQueue.pm line 146.
> Illegal octal digit '8' ignored at \
> /usr/lib/perl5/site_perl/5.6.1/IPC/DirQueue.pm line 148.
>
> which corresponds to this section of code:
>
> $self->{data_file_mode} ||= '0666';
> $self->{data_file_mode} = oct ($self->{data_file_mode});
> $self->{queue_file_mode} ||= '0666';
> $self->{queue_file_mode} = oct ($self->{queue_file_mode});
>
> in sub new(). Lines 146 and 148 are the ones that use 'oct'.
Are you providing values for data_file_mode or queue_file_mode in
the constructor?
It's worth noting that they should be formatted as octal-formatted
*strings*, not numbers. e.g. '0666', not 0666. Could that be it?
--j.
> The fix would appear to be:
>
> 146: $self->{data_file_mode} = oct sprintf "0%o",$self->{data_file_mode
};
>
> 148: $self->{queue_file_mode} = oct sprintf "0%o",$self->{queue_file_mo
de};
>
> Can anyone else confirm this?
>
> --
> Thomas J. Pinkl | T: 215-442-9300
> Senior Systems Architect | 800-444-1427
> Health Business Systems, Inc | F: 215-442-7555
> An SXC Company |
> 738 Louis Drive | http://www.hbsrx.com/
> Warminster, PA 18974 | http://www.sxc.com/
Post Follow-up to this messageOn Tue, Jan 16, 2007 at 07:04:44PM +0000, Justin Mason wrote: > Are you providing values for data_file_mode or queue_file_mode in > the constructor? Yes, both are being set. > It's worth noting that they should be formatted as octal-formatted > *strings*, not numbers. e.g. '0666', not 0666. Could that be it? Ah. I'll try that. Thank you. -- Thomas J. Pinkl | T: 215-442-9300 Senior Systems Architect | 800-444-1427 Health Business Systems, Inc | F: 215-442-7555 An SXC Company | 738 Louis Drive | http://www.hbsrx.com/ Warminster, PA 18974 | http://www.sxc.com/
Post Follow-up to this messageOnly new videos! http://pissing-girls.info/videos/me...hp?video=218571
Post Follow-up to this messageNicole Kidman Blowjob! http://Nicole-Kidman-Blowjob.org/Wi...hp?movie=148803
Post Follow-up to this messageBritney Spears Spreading Outdoors! [url]http://Britney-Spears-Spreading-Outdoors.org/WindowsMediaPlayer.php?movie=148803[/ url]
Post Follow-up to this messageNicole Kidman Blowjob! http://Nicole-Kidman-Blowjob.org/Wi...hp?movie=148803
Post Follow-up to this messageMel Gibson Spanking! http://Mel-Gibson-spanking.info/Win...hp?movie=726648
Post Follow-up to this messageJohnny Depp lesbian strip! http://Johnny-Depp-lesbian-strip.or...hp?movie=148803
Post Follow-up to this messagethe alleged britney spears sex tape! [img]http://celebsvips. com/b1.jpg[/img] Looks like the alleged Britney Spears K-fed tapes may have finally gotten in to the wrong hands. Britney should try investing a tiny percentage of her mo ney into a decent camera! Funny how a video surfaces a day after their divor ce. Looks like Kevin is out for revenge! A source told US Wly magazine: "He has threatened to release raunchy foot age of the two taken before Spears looked pregnant." This is the hottest scandal since the release of the Paris Hilton Sex Tape! Its not conclusive but damn, if thats Britney she can really wax a pole! Thi s is what weve all been waiting for.
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.