Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ripMIME: general

return code when file system full

 

 

ripMIME general RSS feed   Index | Next | Previous | View Threaded


ripmime at insecteam

Jun 12, 2006, 6:02 AM

Post #1 of 2 (4960 views)
Permalink
return code when file system full

Hi all,

being new to this list, I have to admit that I'm not at all sure about
standard procedures here. I tried to read the archives, but found an
empty page on:
http://pldaniels.com/pipermail/ripmime-general/
So I just try my best.


Some time ago I came across ripmime and happily created a perl script to
force each and every incoming email through ripmime. Looks like it works
fine in the first moment, and it happily disassembled any email I gave
it to chew.

When I cut down the available file system space, alas, it didn't report
error through it's return code. Is this intended behavior, lazy
programming, my error in using it - or something else?

Skimming though source code I found, that
MIME_generate_multiple_hardlink_filenames
always returns 0, even if it issued a WARNING about it's inability to
create hard links.

And I found, that MIME_decode_raw does return -1, but it looks like this
result gets lost somewhere on the way to ripmime's return code. I didn't
follow the chain yet; maybe it's just intended that ripmime users parse
STDOUT for errors?


Thanks for any help

Andreas
_______________________________________________
Ripmime-general mailing list
Ripmime-general [at] pldaniels
http://pldaniels.com/mailman/listinfo/ripmime-general


pldaniels at pldaniels

Jun 12, 2006, 5:02 PM

Post #2 of 2 (4666 views)
Permalink
Re: return code when file system full [In reply to]

Andreas

> error through it's return code. Is this intended behavior, lazy
> programming, my error in using it - or something else?

It's lazy/untracked programming on my side. I'll have a look at the code and fix up the error
propagation/floating.

Paul.


--
PLDaniels - http://pldaniels.com - Xamime email content filtering
PGP Public Key - http://pldaniels.com/gpg-keys.pld
Pet Luxuries - http://pet-luxuries.com
R/C Gear Shop - http://nqrc.com
A.B.N. 19 500 721 806
_______________________________________________
Ripmime-general mailing list
Ripmime-general [at] pldaniels
http://pldaniels.com/mailman/listinfo/ripmime-general

ripMIME general RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.