[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] fileio.c: introduce make_temp_name_buf
From: |
Alexander Kuleshov |
Subject: |
[PATCH] fileio.c: introduce make_temp_name_buf |
Date: |
Wed, 20 Jul 2016 18:44:00 +0600 |
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
Description: Text Data
- [PATCH] fileio.c: introduce make_temp_name_buf,
Alexander Kuleshov <=