Page MenuHomeFreeBSD

D28957.diff
No OneTemporary

D28957.diff

Index: bin/cp/cp.c
===================================================================
--- bin/cp/cp.c
+++ bin/cp/cp.c
@@ -85,7 +85,7 @@
PATH_T to = { to.p_path, emptystring, "" };
-int fflag, iflag, lflag, nflag, pflag, sflag, vflag;
+bool fflag, iflag, lflag, nflag, pflag, sflag, vflag;
static int Rflag, rflag;
volatile sig_atomic_t info;
Index: bin/cp/extern.h
===================================================================
--- bin/cp/extern.h
+++ bin/cp/extern.h
@@ -32,6 +32,8 @@
* $FreeBSD$
*/
+#include <stdbool.h>
+
typedef struct {
char *p_end; /* pointer to NULL at end of path */
char *target_end; /* pointer to end of target base */
@@ -39,7 +41,7 @@
} PATH_T;
extern PATH_T to;
-extern int fflag, iflag, lflag, nflag, pflag, sflag, vflag;
+extern bool fflag, iflag, lflag, nflag, pflag, sflag, vflag;
extern volatile sig_atomic_t info;
__BEGIN_DECLS

File Metadata

Mime Type
text/plain
Expires
Sun, Aug 9, 7:36 PM (18 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36371655
Default Alt Text
D28957.diff (901 B)

Event Timeline