projects
/
debian
/
cpmtools
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
prepare to upload
[debian/cpmtools]
/
cpmchattr.c
diff --git
a/cpmchattr.c
b/cpmchattr.c
index 42704e72c7cc1ff1dbf7c96122d7538d022ee9b1..aaecdc7328151c7b41025dc1e0ab27fdf902ea00 100644
(file)
--- a/
cpmchattr.c
+++ b/
cpmchattr.c
@@
-1,12
+1,17
@@
/* #includes */ /*{{{C}}}*//*{{{*/
/* #includes */ /*{{{C}}}*//*{{{*/
+#include "config.h"
+
#include <ctype.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
-#include "config.h"
-#include "getopt.h"
+#include "getopt
_
.h"
#include "cpmfs.h"
#include "cpmfs.h"
+
+#ifdef USE_DMALLOC
+#include <dmalloc.h>
+#endif
/*}}}*/
const char cmd[]="cpmchattr";
/*}}}*/
const char cmd[]="cpmchattr";
@@
-38,8
+43,8
@@
int main(int argc, char *argv[]) /*{{{*/
if (optind>=(argc-2)) usage=1;
else
{
if (optind>=(argc-2)) usage=1;
else
{
- image=argv[optind];
- attrs = argv[optind+
1
];
+ image=argv[optind
++
];
+ attrs = argv[optind+
+
];
}
if (usage)
}
if (usage)