GNU bug report logs - #24044
[PATCH] fileio.c: introduce make_temp_name_buf

Previous Next

Package: emacs;

Reported by: Alexnader Kuleshov <kuleshovmail <at> gmail.com>

Date: Thu, 21 Jul 2016 10:03:01 UTC

Severity: wishlist

Tags: patch

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24044 in the body.
You can then email your comments to 24044 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#24044; Package emacs. (Thu, 21 Jul 2016 10:03:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alexnader Kuleshov <kuleshovmail <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 21 Jul 2016 10:03:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alexnader Kuleshov <kuleshovmail <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] fileio.c: introduce make_temp_name_buf
Date: Thu, 21 Jul 2016 16:02:21 +0600
[Message part 1 (text/plain, inline)]
Hello,

The make_temp_name function in a case when BASE64_P is true or when
HAVE_LONG_FILE_NAMES is
not defined builds buffer where first three characters is a PID in
base64 encoding. This leads to some of
code duplication.

Attached patch introduces make_temp_name_buf() function which will do
this functionality and allows to avoid
code duplication.

Thank you
[0001-fileio.c-introduce-make_temp_name_buf.patch (text/plain, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#24044; Package emacs. (Sat, 21 Oct 2017 23:51:02 GMT) Full text and rfc822 format available.

Message #8 received at 24044 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: Alexnader Kuleshov <kuleshovmail <at> gmail.com>
Cc: 24044 <at> debbugs.gnu.org
Subject: Re: bug#24044: [PATCH] fileio.c: introduce make_temp_name_buf
Date: Sat, 21 Oct 2017 19:50:36 -0400
close 24044
quit

Alexnader Kuleshov <kuleshovmail <at> gmail.com> writes:

> Attached patch introduces make_temp_name_buf() function which will do
> this functionality and allows to avoid
> code duplication.
>
> Thank you
>
>>From c58d13c750901e9f47c99dd2466e95dabb3730a1 Mon Sep 17 00:00:00 2001
> From: Alexander Kuleshov <kuleshovmail <at> gmail.com>
> Date: Wed, 20 Jul 2016 18:33:55 +0600
> Subject: [PATCH] fileio.c: introduce make_temp_name_buf
>
> * src/fileio.c: New function - make_temp_name_buf. Use it in the
> make_temp_name() function.

Following recent changes to the make-temp-name and related functions,
this patch is no longer applicable.





bug closed, send any further explanations to 24044 <at> debbugs.gnu.org and Alexnader Kuleshov <kuleshovmail <at> gmail.com> Request was from Noam Postavsky <npostavs <at> users.sourceforge.net> to control <at> debbugs.gnu.org. (Sat, 21 Oct 2017 23:51:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 19 Nov 2017 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 212 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.