
ripmime at insecteam
Jun 12, 2006, 6:02 AM
Post #1 of 2
(4961 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
|