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.

Full log


View this message in rfc822 format

From: Alexnader Kuleshov <kuleshovmail <at> gmail.com>
To: 24044 <at> debbugs.gnu.org
Subject: bug#24044: [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)]

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.