[Box Backup] Debugging OSFileOpenErrors
Chris Wilson
boxbackup@fluffy.co.uk
Wed, 19 Jan 2005 23:34:54 +0000 (GMT)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
---1044231485-347133396-1106177694=:10480
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Hi Ben and all,
I wrote the attached patch to show which file caused an OSFileOpenError,
to help me with debugging a problem I'm working on with file exclusions. I
hope you will consider incorporating it into Box. It doesn't change how
exceptions work, just the debugging messages.
Cheers, Chris.
--
_ ___ __ _
/ __/ / ,__(_)_ | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |
---1044231485-347133396-1106177694=:10480
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="boxbackup-0.09-debug-exceptions.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.61.0501192334540.10480@top.qwarx.com>
Content-Description:
Content-Disposition: attachment; filename="boxbackup-0.09-debug-exceptions.patch"
ZGlmZiAtcnUgYm94YmFja3VwLTAuMDktb3JpZy9saWIvY29tbW9uL0JveC5o
IGJveGJhY2t1cC0wLjA5LWNocmlzL2xpYi9jb21tb24vQm94LmgNCi0tLSBi
b3hiYWNrdXAtMC4wOS1vcmlnL2xpYi9jb21tb24vQm94LmgJMjAwNC0xMi0w
NiAxMjo1ODo0Ni4wMDAwMDAwMDAgKzAwMDANCisrKyBib3hiYWNrdXAtMC4w
OS1jaHJpcy9saWIvY29tbW9uL0JveC5oCTIwMDUtMDEtMTkgMjM6MDE6MjUu
MDAwMDAwMDAwICswMDAwDQpAQCAtMTQ2LDYgKzE0NiwxNSBAQA0KIAkJdGhy
b3cgdHlwZSh0eXBlOjpzdWJ0eXBlKTsJCQkJCQkJCQkJCQkJCQlcDQogCX0N
CiANCisjZGVmaW5lIFRIUk9XX0VYQ0VQVEl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