emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: write-region is mishandling an error


From: Richard Bielawski
Subject: RE: write-region is mishandling an error
Date: Fri, 9 Feb 2007 09:00:36 -0600

Possibly,  I don't have the tools you speak of to tell.

But then where is the data going?

If the filename was simply being truncated but the data was still being
written then I suppose I'd believe no 'error' occurred; that the OS
simply sees the : as a file name terminator and continues successfully.


But the file is empty.  So it seems I'm also being asked to believe that
subsequent write operations are also not getting errors.  Being a
programmer myself I can't help but find a claim that data is being
discarded by a modern OS without error hard to believe.


-----Original Message-----
From: Richard Stallman [mailto:address@hidden 
Sent: Friday, February 09, 2007 8:23 AM
To: Richard Bielawski
Cc: address@hidden
Subject: Re: write-region is mishandling an error

    Which creates an empty file named "Test at 12" and no error occurs.
    Initially I didn't notice that the filename was truncated.
    Once I did I realized that : is illegal in a file name.
    Some kind of error must be occurring that isn't being reported.

If you run under a debugger with a breakpoint at Fsignal you will see
if any Emacs Lisp error occurs.  I suspect you will find there is none;
I suspect that Windows truncates the file name without complaining.

*************************************************************************************************************************
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you are not the named addressee you should not disseminate, distribute or copy 
this e-mail. Please notify the sender immediately by e-mail if you have 
received this e-mail by mistake and delete this e-mail from your system. Please 
note that any views or opinions presented in this email are solely those of the 
author and do not necessarily represent those of CH Robinson. CH Robinson 
accepts no liability for any damage caused by any virus transmitted by this 
email. 

CH Robinson Worldwide, 8100 Mitchell Road, Eden Prairie, MN, USA
*************************************************************************************************************************





reply via email to

[Prev in Thread] Current Thread [Next in Thread]