From: "Óscar Fuentes" <ofv@wanadoo.es>
To: Eli Zaretskii <eliz@gnu.org>
Cc: lekktu@gmail.com, "Ota, Takaaki" <Takaaki.Ota@am.sony.com>,
10733@debbugs.gnu.org
Subject: bug#10733: 24.0.93; w32 file truncation
Date: Mon, 06 Feb 2012 06:25:32 +0100 [thread overview]
Message-ID: <874nv45y9f.fsf@wanadoo.es> (raw)
In-Reply-To: <83zkcwbo7t.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 06 Feb 2012 06:05:58 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
[snip]
> Emacs on Windows doesn't support symlinks; they are new with Vista and
> Windows 7. Someone needs to write the code to support that, before
> this can be considered a bug (as opposed to a feature request).
>
> What you describe seems to indicate that insert-file-contents only
> reads the first 64KB portion of the file, and then bails out. Running
> Emacs under debugger and reporting where it bails out of the reading
> loop might help coming up with some band-aid solution. But full
> support of symlink requires specific support code, that just isn't
> there at this time.
NTFS symlinks are transparent to applications. Emacs doesn't need to
know that it is accessing a symlink to correctly read and save the file.
I bet it is a bug on the CRT (the stat call that retrieves the file
size, to be precise). Maybe it is a MinGW thing. It would be interesting
to hear reports from people using an Emacs compiled with a modern
version of Visual Studio, or even know if people using the most recent
MinGW CRT release can duplicate the problem.
This is a very serious bug (potential data loss). I'll put this on my
TODO list and hopefully run a debug session on a Windows 7 machine next
week. Meanwhile, if anyone can provide the info mentioned on the
previous paragraph, it would be helpful.
next prev parent reply other threads:[~2012-02-06 5:25 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-05 22:34 bug#10733: 24.0.93; w32 file truncation Ota, Takaaki
2012-02-05 23:51 ` Juanma Barranquero
2012-02-06 0:16 ` Ota, Takaaki
2012-02-06 4:05 ` Eli Zaretskii
2012-02-06 5:25 ` Óscar Fuentes [this message]
2012-02-06 16:16 ` Óscar Fuentes
2012-02-06 17:21 ` Eli Zaretskii
2012-02-06 17:58 ` Óscar Fuentes
2012-02-06 18:37 ` Eli Zaretskii
2012-02-06 20:19 ` Ota, Takaaki
2012-02-06 20:23 ` Lennart Borgman
2012-02-06 21:11 ` Eli Zaretskii
2012-02-06 21:20 ` Lennart Borgman
2012-02-06 21:31 ` Eli Zaretskii
2012-02-06 21:35 ` Lennart Borgman
2012-02-06 20:24 ` Lars Ingebrigtsen
2012-02-06 21:09 ` Eli Zaretskii
2012-02-06 21:08 ` Eli Zaretskii
2012-02-06 23:27 ` Óscar Fuentes
2012-02-06 23:43 ` Ota, Takaaki
2012-02-07 0:07 ` Óscar Fuentes
2012-02-07 4:02 ` Eli Zaretskii
2012-02-07 5:22 ` Óscar Fuentes
2012-02-07 17:35 ` Eli Zaretskii
2012-08-03 10:59 ` Eli Zaretskii
2012-02-06 16:55 ` Eli Zaretskii
2012-02-06 0:20 ` Óscar Fuentes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874nv45y9f.fsf@wanadoo.es \
--to=ofv@wanadoo.es \
--cc=10733@debbugs.gnu.org \
--cc=Takaaki.Ota@am.sony.com \
--cc=eliz@gnu.org \
--cc=lekktu@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.