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

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

bug#57386: 29.0.50; support make-symbolic-link without admin priviledge


From: Kiên Nguyễn Quang
Subject: bug#57386: 29.0.50; support make-symbolic-link without admin priviledge on Windows
Date: Thu, 25 Aug 2022 19:32:13 +0900

Oops. Here it is.

On Thu, Aug 25, 2022 at 6:57 PM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Kiên Nguyễn Quang <kien.n.quang@gmail.com>
> Date: Thu, 25 Aug 2022 18:51:30 +0900
> Cc: 57386@debbugs.gnu.org
>
> > When you call an API with a parameter that is invalid, you are risking
> > an exception, depending on the API and the build (debug or not).  This
> > has various unpleasant consequences; in the worst case, the Emacs
> > process could be terminated.  As documented, the problem is limited to
> > CRT functions, but our general policy is to avoid that even when using
> > the Win32 APIs.  And version check is a simple enough way of avoiding
> > that, so I see no reason not to do it here.
>
> Okay, that makes sense. Although I think that's the problem of CRT APIs only, as API should never throw
> exceptions, which is a foreign concept to ABI and requires an exact library match to handle correctly
>
> The new patch is attached.

Thanks, but I think you sent a wrong patch?


--
 Nguyen Quang Kien - グエン クアン キエン
 Software Developer @ MSD

Attachment: 0001-symlink-allow-w32-user-to-create-symlink-without-adm.patch
Description: Binary data


reply via email to

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