summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/csh/func.c6
-rw-r--r--bin/ed/buf.c6
-rw-r--r--bin/ksh/c_ksh.c6
-rw-r--r--bin/ksh/edit.c4
-rw-r--r--bin/pax/buf_subs.c4
5 files changed, 13 insertions, 13 deletions
diff --git a/bin/csh/func.c b/bin/csh/func.c
index b9a775b8a52..8515fb18df8 100644
--- a/bin/csh/func.c
+++ b/bin/csh/func.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: func.c,v 1.41 2023/03/08 04:43:04 guenther Exp $ */
+/* $OpenBSD: func.c,v 1.42 2024/04/23 13:34:50 jsg Exp $ */
/* $NetBSD: func.c,v 1.11 1996/02/09 02:28:29 christos Exp $ */
/*-
@@ -866,8 +866,8 @@ xecho(int sep, Char **v)
(void) fflush(cshout);
if (setintr)
sigprocmask(SIG_BLOCK, &sigset, NULL);
- blkfree(gargv);
- gargv = NULL;
+ blkfree(gargv);
+ gargv = NULL;
}
void
diff --git a/bin/ed/buf.c b/bin/ed/buf.c
index 06dc7ebc89c..48fa5e7b30f 100644
--- a/bin/ed/buf.c
+++ b/bin/ed/buf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: buf.c,v 1.24 2019/06/28 13:34:59 deraadt Exp $ */
+/* $OpenBSD: buf.c,v 1.25 2024/04/23 13:34:50 jsg Exp $ */
/* $NetBSD: buf.c,v 1.15 1995/04/23 10:07:28 cgd Exp $ */
/* buf.c: This file contains the scratch-file buffer routines for the
@@ -158,8 +158,8 @@ get_line_node_addr(line_t *lp)
if (n && cp == &buffer_head) {
seterrmsg("invalid address");
return ERR;
- }
- return n;
+ }
+ return n;
}
diff --git a/bin/ksh/c_ksh.c b/bin/ksh/c_ksh.c
index cd75f77ad6f..d2933bd93c0 100644
--- a/bin/ksh/c_ksh.c
+++ b/bin/ksh/c_ksh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: c_ksh.c,v 1.62 2019/06/28 13:34:59 deraadt Exp $ */
+/* $OpenBSD: c_ksh.c,v 1.63 2024/04/23 13:34:50 jsg Exp $ */
/*
* built-in Korn commands: c_*
@@ -810,8 +810,8 @@ c_typeset(char **wp)
if ((vp->flag&INT_U))
shprintf("-U ");
shprintf("%s\n", vp->name);
- if (vp->flag&ARRAY)
- break;
+ if (vp->flag&ARRAY)
+ break;
} else {
if (pflag)
shprintf("%s ",
diff --git a/bin/ksh/edit.c b/bin/ksh/edit.c
index a06cbe7b4e0..3ed69e5375d 100644
--- a/bin/ksh/edit.c
+++ b/bin/ksh/edit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: edit.c,v 1.70 2023/06/21 22:22:08 millert Exp $ */
+/* $OpenBSD: edit.c,v 1.71 2024/04/23 13:34:50 jsg Exp $ */
/*
* Command line editing - common code
@@ -451,7 +451,7 @@ x_file_glob(int flags, const char *str, int slen, char ***wordsp)
* which evaluated to an empty string (e.g.,
* "$FOO" when there is no FOO, etc).
*/
- if ((lstat(words[0], &statb) == -1) ||
+ if ((lstat(words[0], &statb) == -1) ||
words[0][0] == '\0') {
x_free_words(nwords, words);
words = NULL;
diff --git a/bin/pax/buf_subs.c b/bin/pax/buf_subs.c
index d278b3d4b4c..70e9bbb1bdb 100644
--- a/bin/pax/buf_subs.c
+++ b/bin/pax/buf_subs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: buf_subs.c,v 1.32 2023/11/26 16:04:17 espie Exp $ */
+/* $OpenBSD: buf_subs.c,v 1.33 2024/04/23 13:34:50 jsg Exp $ */
/* $NetBSD: buf_subs.c,v 1.5 1995/03/21 09:07:08 cgd Exp $ */
/*-
@@ -765,7 +765,7 @@ cp_file(ARCHD *arcn, int fd1, int fd2)
* check for holes in the source file. If none, we will use regular
* write instead of file write.
*/
- if (((off_t)(arcn->sb.st_blocks * BLKMULT)) >= arcn->sb.st_size)
+ if (((off_t)(arcn->sb.st_blocks * BLKMULT)) >= arcn->sb.st_size)
++no_hole;
/*