Module Name:    src
Committed By:   kre
Date:           Sun Mar 19 17:45:30 UTC 2023

Modified Files:
        src/bin/sh: error.h

Log Message:
Change a few #defines from octal to hex (pdp11 days are long gone).
Improve the layout of those definitions at the same time.

NFC.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/bin/sh/error.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/bin/sh/error.h
diff -u src/bin/sh/error.h:1.22 src/bin/sh/error.h:1.23
--- src/bin/sh/error.h:1.22	Mon Feb  4 11:16:41 2019
+++ src/bin/sh/error.h	Sun Mar 19 17:45:29 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: error.h,v 1.22 2019/02/04 11:16:41 kre Exp $	*/
+/*	$NetBSD: error.h,v 1.23 2023/03/19 17:45:29 kre Exp $	*/
 
 /*-
  * Copyright (c) 1991, 1993
@@ -40,9 +40,9 @@
  * Types of operations (passed to the errmsg routine).
  */
 
-#define E_OPEN 01	/* opening a file */
-#define E_CREAT 02	/* creating a file */
-#define E_EXEC 04	/* executing a program */
+#define E_OPEN		0x1	/* opening a file */
+#define E_CREAT		0x2	/* creating a file */
+#define E_EXEC		0x4	/* executing a program */
 
 
 /*

Reply via email to