You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Kevin C Miller <ke...@andrew.cmu.edu> on 2003/09/02 22:09:53 UTC
chdir / startup issues
Hello,
I'm looking for some insight as to why Embperl::Mail (using 2.0b9) might be
trying to stat its way to the filesystem root when it starts up. This is
causing me some problems with networked filesystems, as it stats all the
directories on the way.
Thoughts?
-Kevin
---------------------------------------------------
Kevin C. Miller <kc...@cmu.edu>
Network Development
Carnegie Mellon University
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: chdir / startup issues
Posted by Ed Grimm <ed...@dsblade00.wat.us.ray.com>.
Normally, this behavior is an attempt to find out its working
directory's full path. It's also normal to be able to tell it that
information via some other means.
As far as I can tell, Embperl::Mail is not doing this. I seem to recall
that something that Net::SMTP requires does, and I believe that's what
Embperl::MAIL uses to send mail. If it isn't, MAIL::Sendmail definitely
requires something which has this behavior.
My memory is a bit vague on this, because I only encountered it due to
trying to track back another bit of code I was having difficulty with.
Sorry to not have a complete answer, and to take so long to do it; I
really thought someone else on the group would've known the full details
off-hand.
Ed
On Tue, 2 Sep 2003, Kevin C Miller wrote:
> Hello,
>
> I'm looking for some insight as to why Embperl::Mail (using 2.0b9)
> might be trying to stat its way to the filesystem root when it starts
> up. This is causing me some problems with networked filesystems, as it
> stats all the directories on the way.
>
> Thoughts?
>
> -Kevin
> ---------------------------------------------------
> Kevin C. Miller <kc...@cmu.edu>
> Network Development
> Carnegie Mellon University
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: chdir / startup issues
Posted by Gerald Richter <ri...@ecos.de>.
Kevin C Miller wrote:
>
> I'm looking for some insight as to why Embperl::Mail (using 2.0b9)
> might be trying to stat its way to the filesystem root when it starts
> up. This is causing me some problems with networked filesystems, as
> it stats all the directories on the way.
>
> Thoughts?
>
Embperl.pm does a Cwd::fastcwd() on startup, you might replace this with
Cwd::cwd() or Cwd::getcwd(), which might avoid to stat paraent directories
Gerald
--------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 939-122
WWW: http://www.ecos.de/ Fax: +49 6133 939-333
--------------------------------------------------------------
|
| ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org