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