From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#24044: [PATCH] fileio.c: introduce make_temp_name_buf Date: Sat, 21 Oct 2017 19:50:36 -0400 Message-ID: <87wp3ocb77.fsf@users.sourceforge.net> References: <20160721100221.GA27186@localhost> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1508629870 8596 195.159.176.226 (21 Oct 2017 23:51:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 21 Oct 2017 23:51:10 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: 24044@debbugs.gnu.org To: Alexnader Kuleshov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 22 01:51:06 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e63Xm-0001iG-IJ for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Oct 2017 01:51:06 +0200 Original-Received: from localhost ([::1]:59527 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e63Xt-0004ex-CS for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Oct 2017 19:51:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e63Xl-0004dR-P4 for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2017 19:51:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e63Xi-0000N9-O1 for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2017 19:51:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46085) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e63Xi-0000MZ-KS for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2017 19:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e63Xi-0006Rj-DI for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2017 19:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Oct 2017 23:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24044 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 24044-submit@debbugs.gnu.org id=B24044.150862984724736 (code B ref 24044); Sat, 21 Oct 2017 23:51:02 +0000 Original-Received: (at 24044) by debbugs.gnu.org; 21 Oct 2017 23:50:47 +0000 Original-Received: from localhost ([127.0.0.1]:54764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e63XS-0006Qp-Uj for submit@debbugs.gnu.org; Sat, 21 Oct 2017 19:50:47 -0400 Original-Received: from mail-io0-f176.google.com ([209.85.223.176]:44007) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e63XR-0006QY-HM; Sat, 21 Oct 2017 19:50:45 -0400 Original-Received: by mail-io0-f176.google.com with SMTP id 134so16691062ioo.0; Sat, 21 Oct 2017 16:50:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=kF3EKc+jsHND7P2S7wHSThWr8W5zPVet5c5lKkF6cHc=; b=HVqrJ5bio8GFFiRjb2RVCCCI5UtqdjTUABB6+LqW3eitbPfNBuoLMAX9iIq2CZJs+a b/fAoYKJFowN+XcPXsJoYvaofyltpF0gr+6Ir7ReyN8Py1lWpm6QBPs5h3gMUzV1JpaB tsRT/F0fS8ldgfkrDbbKHSBlTOJuZINSLpWBfqDywOW0+xQnU6hsyubp7DQNHNMGK975 Y0n0jqRZYNQwhBpsJJaeNg1RRNEQ4kZJwVBv44U+5x4mZpFNjNQPNgyvB0XeAoHE11bz vI9f2YQwAEjkDntwmVgQqz6wovGBMXUUIZ4k7Lm5Kfm1s0VBBNsiOQ6CErA6Ftdtx2SB 1Stg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=kF3EKc+jsHND7P2S7wHSThWr8W5zPVet5c5lKkF6cHc=; b=SDL8fKWFThRnTfu8RUAOy8+J3xl9Q/rMJhTZ1H0E1s8KjTRh6/jbOvBcMY7VQEkCuq 47M0IvlbO4orD9mMotW1ZoJxJVC3Bz4TwwRDIg9VLObtd/qt/1wdS5XSVKKVFJKRF8cY zosnBlVcSf2Y1m1IQmBu4N3CvL+EXaaXXaCBHOBPt8Rs+yO8v/ZGhSvFoKMtDeCbKgmx bOh2JH8l4ghrjBdcDigM1734N+lGJGrTJB9tmS8vk+WNO8MmLnxLaBSG7TGVcfPpnLRk 8Dj6y3KbsUNTORjZSqXj8B+W+JBj+rfZwq4UYHg1G6Cuyncpxxk4WMkPyYFNr3fZqwXo MYLg== X-Gm-Message-State: AMCzsaVLBuABaYllZw6TFJlPU0ZGL+8OotjExg2hliSKDXxpEO6uiwpE z5J33o4wIUqBk8bHjpEBrzMMEA== X-Google-Smtp-Source: ABhQp+R70G3lO7kLFSPDMFNYfOlC3QgQ5bZG858taJGvUsCDbGJMqblwzbZOcXwC73czXYaZFx2Hgw== X-Received: by 10.107.6.217 with SMTP id f86mr11610464ioi.5.1508629839649; Sat, 21 Oct 2017 16:50:39 -0700 (PDT) Original-Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id j193sm928647ita.9.2017.10.21.16.50.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 21 Oct 2017 16:50:38 -0700 (PDT) In-Reply-To: <20160721100221.GA27186@localhost> (Alexnader Kuleshov's message of "Thu, 21 Jul 2016 16:02:21 +0600") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:138831 Archived-At: close 24044 quit Alexnader Kuleshov 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 > 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.