View | Details | Raw Unified | Return to bug 1262
Collapse All | Expand All

(-)Makefile.inc (-2 / +2 lines)
Lines 3-9 Link Here
3
CFLAGS+=	-I${.CURDIR}/..
3
CFLAGS+=	-I${.CURDIR}/..
4
4
5
CDIAGFLAGS=	-Wall
5
CDIAGFLAGS=	-Wall
6
#CDIAGFLAGS+=	-Werror
6
CDIAGFLAGS+=	-Werror
7
CDIAGFLAGS+=	-Wpointer-arith
7
CDIAGFLAGS+=	-Wpointer-arith
8
CDIAGFLAGS+=	-Wno-uninitialized
8
CDIAGFLAGS+=	-Wno-uninitialized
9
CDIAGFLAGS+=	-Wstrict-prototypes
9
CDIAGFLAGS+=	-Wstrict-prototypes
Lines 13-19 CDIAGFLAGS+= -Wsign-compare Link Here
13
CDIAGFLAGS+=	-Wbounded
13
CDIAGFLAGS+=	-Wbounded
14
CDIAGFLAGS+=	-Wshadow
14
CDIAGFLAGS+=	-Wshadow
15
15
16
#DEBUG=-g
16
DEBUG=-g
17
17
18
#CFLAGS+=	-DSMARTCARD
18
#CFLAGS+=	-DSMARTCARD
19
#LDADD+=	-lsectok
19
#LDADD+=	-lsectok
(-)scp.c (-1 / +2 lines)
Lines 1009-1015 bad: run_err("%s: %s", np, strerror(er Link Here
1009
			wrerr = YES;
1009
			wrerr = YES;
1010
			wrerrno = errno;
1010
			wrerrno = errno;
1011
		}
1011
		}
1012
		if (wrerr == NO && ftruncate(ofd, size) != 0) {
1012
		if (wrerr == NO && (!exists || S_ISREG(stb.st_mode)) &&
1013
		    ftruncate(ofd, size) != 0) {
1013
			run_err("%s: truncate: %s", np, strerror(errno));
1014
			run_err("%s: truncate: %s", np, strerror(errno));
1014
			wrerr = DISPLAYED;
1015
			wrerr = DISPLAYED;
1015
		}
1016
		}
(-)ssh.c (-1 / +2 lines)
Lines 1460-1466 control_client(const char *path) Link Here
1460
		debug2("Received exit status from master %d", exitval);
1460
		debug2("Received exit status from master %d", exitval);
1461
1461
1462
	if (tty_flag && options.log_level != SYSLOG_LEVEL_QUIET)
1462
	if (tty_flag && options.log_level != SYSLOG_LEVEL_QUIET)
1463
		fprintf(stderr, "Connection to master closed.\r\n");
1463
		fprintf(stderr, "Shared connection to %s closed.\r\n",
1464
		    host);
1464
1465
1465
	exit(exitval);
1466
	exit(exitval);
1466
}
1467
}

Return to bug 1262