PERFORCE change 42745 for review
Chris Vance
cvance at FreeBSD.org
Tue Nov 18 16:41:41 GMT 2003
http://perforce.freebsd.org/chv.cgi?CH=42745
Change 42745 by cvance at cvance_g4 on 2003/11/18 08:41:28
Add the extattrctl program, add include in extattrcmds to clean
up warning for use of basename()
Affected files ...
.. //depot/projects/trustedbsd/sedarwin/extattr_cmds/Makefile#2 edit
.. //depot/projects/trustedbsd/sedarwin/extattr_cmds/extattrcmds.c#2 edit
.. //depot/projects/trustedbsd/sedarwin/extattr_cmds/extattrctl.8#1 add
.. //depot/projects/trustedbsd/sedarwin/extattr_cmds/extattrctl.c#1 add
Differences ...
==== //depot/projects/trustedbsd/sedarwin/extattr_cmds/Makefile#2 (text+ko) ====
@@ -1,7 +1,7 @@
include ../Makeconfig
-all: rmextattr getextattr lsextattr setextattr
+all: rmextattr getextattr lsextattr setextattr extattrctl
rmextattr: extattrcmds.o
gcc -o rmextattr extattrcmds.o ../libextattr/libextattr.a
@@ -14,3 +14,9 @@
setextattr: rmextattr
ln $< $@
+
+extattrctl: extattrctl.o
+ gcc -o extattrctl extattrctl.o ../libextattr/libextattr.a
+
+clean:
+ rm -f *.o rmextattr getextattr lsextattr setextattr extattrctl
==== //depot/projects/trustedbsd/sedarwin/extattr_cmds/extattrcmds.c#2 (text+ko) ====
@@ -46,6 +46,7 @@
#include <vis.h>
#include <err.h>
#include <errno.h>
+#include <libgen.h>
static enum { EADUNNO, EAGET, EASET, EARM, EALS } what = EADUNNO;
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list