[prev in list] [next in list] [prev in thread] [next in thread] 

List:       coreutils
Subject:    [PATCH] maint: remove comment that suggested to remove support for mktemp -V
From:       Jim Meyering <jim () meyering ! net>
Date:       2012-05-21 15:04:24
Message-ID: 87pq9xlgnb.fsf () rho ! meyering ! net
[Download RAW message or body]

Addressing a FIXME-in-2012 comment:

>From 785234bc173a87ca26ad62ff2a64197039f0c459 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Sun, 20 May 2012 17:19:10 +0200
Subject: [PATCH] maint: remove comment that suggested to remove support for
 mktemp -V

* src/mktemp.c (main): Don't suggest to remove support for -V, an
undocumented alias for --version, since that would introduce a
gratuitous incompatibility with the original mktemp program.
---
 src/mktemp.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/mktemp.c b/src/mktemp.c
index bab0c2b..67d3a40 100644
--- a/src/mktemp.c
+++ b/src/mktemp.c
@@ -206,7 +206,8 @@ main (int argc, char **argv)

         case_GETOPT_HELP_CHAR;

-        case 'V': /* Undocumented alias.  FIXME: remove in 2011.  */
+        case 'V': /* Undocumented alias, for compatibility with the original
+                     mktemp program.  */
         case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
         default:
           usage (EXIT_FAILURE);
--
1.7.10.2.552.gaa3bb87


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic