Avoid accidental use of trigraphs. Pointed out by development version of gcc.
This commit is contained in:
parent
ede451d831
commit
3e8fb298b1
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: main.c,v 1.64 2001/01/14 05:33:53 christos Exp $ */
|
||||
/* $NetBSD: main.c,v 1.65 2001/01/16 02:37:03 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1989, 1990, 1993
|
||||
|
@ -39,7 +39,7 @@
|
|||
*/
|
||||
|
||||
#ifdef MAKE_BOOTSTRAP
|
||||
static char rcsid[] = "$NetBSD: main.c,v 1.64 2001/01/14 05:33:53 christos Exp $";
|
||||
static char rcsid[] = "$NetBSD: main.c,v 1.65 2001/01/16 02:37:03 cgd Exp $";
|
||||
#else
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
|
@ -51,7 +51,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1989, 1990, 1993\n\
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)main.c 8.3 (Berkeley) 3/19/94";
|
||||
#else
|
||||
__RCSID("$NetBSD: main.c,v 1.64 2001/01/14 05:33:53 christos Exp $");
|
||||
__RCSID("$NetBSD: main.c,v 1.65 2001/01/16 02:37:03 cgd Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
#endif
|
||||
|
@ -197,8 +197,9 @@ rearg: while((c = getopt(argc, argv, OPTFLAGS)) != -1) {
|
|||
break;
|
||||
case 'J':
|
||||
if (sscanf(optarg, "%d,%d", &job_pipe[0], &job_pipe[1]) != 2) {
|
||||
/* backslash to avoid trigraph ??) */
|
||||
(void)fprintf(stderr,
|
||||
"%s: internal error -- J option malformed (%s??)\n",
|
||||
"%s: internal error -- J option malformed (%s?\?)\n",
|
||||
progname, optarg);
|
||||
usage();
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: chat.c,v 1.21 2000/12/20 01:29:21 cgd Exp $ */
|
||||
/* $NetBSD: chat.c,v 1.22 2001/01/16 02:37:03 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Chat -- a program for automatic session establishment (i.e. dial
|
||||
|
@ -93,7 +93,7 @@
|
|||
#if 0
|
||||
static const char rcsid[] = "Id: chat.c,v 1.26 1999/12/23 01:39:54 paulus Exp ";
|
||||
#else
|
||||
__RCSID("$NetBSD: chat.c,v 1.21 2000/12/20 01:29:21 cgd Exp $");
|
||||
__RCSID("$NetBSD: chat.c,v 1.22 2001/01/16 02:37:03 cgd Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -1266,7 +1266,7 @@ register char *s;
|
|||
|
||||
if (verbose) {
|
||||
if (quiet)
|
||||
logf("send (?????\?)");
|
||||
logf("send (?????\?)"); /* backslash to avoid trigraph ??) */
|
||||
else
|
||||
logf("send (%v)", s);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue