Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

getting: Illegal octal digit '8'
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/

Report this thread to moderator Post Follow-up to this message
Old Post
Thomas J Pinkl
01-17-07 12:21 AM


Re: getting: Illegal octal digit '8'
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/

Report this thread to moderator Post Follow-up to this message
Old Post

01-17-07 12:21 AM


Re: getting: Illegal octal digit '8'
On 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/

Report this thread to moderator Post Follow-up to this message
Old Post
Thomas J Pinkl
01-17-07 12:21 AM



Only new videos!
http://pissing-girls.info/videos/me...hp?video=218571

Report this thread to moderator Post Follow-up to this message
Old Post
Char
03-14-07 12:57 AM



Nicole Kidman Blowjob!
http://Nicole-Kidman-Blowjob.org/Wi...hp?movie=148803

Report this thread to moderator Post Follow-up to this message
Old Post
Laughy
03-15-07 07:08 PM



Britney Spears Spreading Outdoors!
[url]http://Britney-Spears-Spreading-Outdoors.org/WindowsMediaPlayer.php?movie=148803[/
url]

Report this thread to moderator Post Follow-up to this message
Old Post
Tertedup90
03-20-07 04:59 PM



Nicole Kidman Blowjob!
http://Nicole-Kidman-Blowjob.org/Wi...hp?movie=148803

Report this thread to moderator Post Follow-up to this message
Old Post
Inka
04-02-07 08:01 PM



Mel Gibson Spanking!
http://Mel-Gibson-spanking.info/Win...hp?movie=726648

Report this thread to moderator Post Follow-up to this message
Old Post
Adterteddickup0
04-23-07 11:17 PM



Johnny Depp lesbian strip!
http://Johnny-Depp-lesbian-strip.or...hp?movie=148803

Report this thread to moderator Post Follow-up to this message
Old Post
Sweetychick
05-11-07 02:10 AM



the 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.

Report this thread to moderator Post Follow-up to this message
Old Post
Erterbastard
05-16-07 12:21 PM


Sponsored Links




Last Thread Next Thread Next
Pages (2): [1] 2 »
Search this forum -> 
Post New Thread

IPC DirQueue archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 03:50 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.