projects
/
u
/
mdw
/
catacomb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d50e18d
)
Make flags be unsigned.
author
mdw
<mdw>
Thu, 25 Jan 2001 22:21:43 +0000
(22:21 +0000)
committer
mdw
<mdw>
Thu, 25 Jan 2001 22:21:43 +0000
(22:21 +0000)
pixie.c
patch
|
blob
|
blame
|
history
diff --git
a/pixie.c
b/pixie.c
index
d4aefdf
..
ecbab8f
100644
(file)
--- a/
pixie.c
+++ b/
pixie.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: pixie.c,v 1.
7 2000/12/06 20:33:27
mdw Exp $
+ * $Id: pixie.c,v 1.
8 2001/01/25 22:19:31
mdw Exp $
*
* Passphrase pixie for Catacomb
*
*
* Passphrase pixie for Catacomb
*
@@
-30,6
+30,9
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: pixie.c,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: pixie.c,v $
+ * Revision 1.8 2001/01/25 22:19:31 mdw
+ * Make flags be unsigned.
+ *
* Revision 1.7 2000/12/06 20:33:27 mdw
* Make flags be macros rather than enumerations, to ensure that they're
* unsigned.
* Revision 1.7 2000/12/06 20:33:27 mdw
* Make flags be macros rather than enumerations, to ensure that they're
* unsigned.
@@
-603,7
+606,7
@@
typedef struct pixserv {
unsigned f;
} pixserv;
unsigned f;
} pixserv;
-enum { px_stdin = 1 };
+#define px_stdin 1u
#define PIXSERV_TIMEOUT 30
#define PIXSERV_TIMEOUT 30
@@
-1068,7
+1071,9
@@
static void pix_setup(struct sockaddr_un *sun, size_t sz)
static selbuf c_server, c_client;
static unsigned c_flags = 0;
static selbuf c_server, c_client;
static unsigned c_flags = 0;
-enum { cf_uclose = 1, cf_sclose = 2 };
+
+#define cf_uclose 1u
+#define cf_sclose 2u
/* --- Line handler functions --- */
/* --- Line handler functions --- */