pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/nbsed/files sync with -current:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/644e1186dd8e
branches:  trunk
changeset: 462848:644e1186dd8e
user:      grant <grant%pkgsrc.org@localhost>
date:      Thu Oct 16 12:13:54 2003 +0000

description:
sync with -current:

call setprogname(), replace a 'sed' with getprogname().

diffstat:

 textproc/nbsed/files/main.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 3270c50d8b21 -r 644e1186dd8e textproc/nbsed/files/main.c
--- a/textproc/nbsed/files/main.c       Thu Oct 16 12:08:37 2003 +0000
+++ b/textproc/nbsed/files/main.c       Thu Oct 16 12:13:54 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.1.1.1 2003/08/18 17:34:59 agc Exp $ */
+/*     $NetBSD: main.c,v 1.2 2003/10/16 12:13:54 grant Exp $   */
 
 /*-
  * Copyright (c) 1992 Diomidis Spinellis.
@@ -52,7 +52,7 @@
 #if 0
 static char sccsid[] = "@(#)main.c     8.2 (Berkeley) 1/3/94";
 #else
-__RCSID("$NetBSD: main.c,v 1.1.1.1 2003/08/18 17:34:59 agc Exp $");
+__RCSID("$NetBSD: main.c,v 1.2 2003/10/16 12:13:54 grant Exp $");
 #endif
 #endif /* not lint */
 
@@ -160,8 +160,8 @@
                default:
                case '?':
                        (void)fprintf(stderr,
-"usage:\t%s script [-anE] [file ...]\n\tsed [-an] [-e script] ... [-f script_file] ... [file ...]\n",
-                           getprogname());
+"usage:\t%s script [-anE] [file ...]\n\t%s [-an] [-e script] ... [-f script_file] ... [file ...]\n",
+                           getprogname(), getprogname());
                        exit(1);
                }
        argc -= optind;



Home | Main Index | Thread Index | Old Index