Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/byacc/dist set explicit_file_name when we use g...
details: https://anonhg.NetBSD.org/src/rev/8b5f476117d7
branches: trunk
changeset: 959642:8b5f476117d7
user: christos <christos%NetBSD.org@localhost>
date: Sun Feb 21 00:36:06 2021 +0000
description:
set explicit_file_name when we use getopt.
diffstat:
external/bsd/byacc/dist/main.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r 129cd561876e -r 8b5f476117d7 external/bsd/byacc/dist/main.c
--- a/external/bsd/byacc/dist/main.c Sat Feb 20 22:59:37 2021 +0000
+++ b/external/bsd/byacc/dist/main.c Sun Feb 21 00:36:06 2021 +0000
@@ -1,9 +1,9 @@
-/* $NetBSD: main.c,v 1.19 2021/02/20 22:57:56 christos Exp $ */
+/* $NetBSD: main.c,v 1.20 2021/02/21 00:36:06 christos Exp $ */
#include "defs.h"
#include <sys/cdefs.h>
-__RCSID("$NetBSD: main.c,v 1.19 2021/02/20 22:57:56 christos Exp $");
+__RCSID("$NetBSD: main.c,v 1.20 2021/02/21 00:36:06 christos Exp $");
/* Id: main.c,v 1.70 2020/09/10 17:32:55 tom Exp */
#include <signal.h>
@@ -336,6 +336,7 @@
break;
case 'o':
output_file_name = optarg;
+ explicit_file_name = 1;
break;
case 'p':
symbol_prefix = optarg;
Home |
Main Index |
Thread Index |
Old Index