projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated man page mh-profile(5): file(1) is not from GNU.
[mmh]
/
uip
/
ap.c
diff --git
a/uip/ap.c
b/uip/ap.c
index
aaa8762
..
c293a53
100644
(file)
--- a/
uip/ap.c
+++ b/
uip/ap.c
@@
-20,9
+20,9
@@
static struct swit switches[] = {
#define NORMSW 1
{ "normalize", 0 },
#define NNORMSW 2
#define NORMSW 1
{ "normalize", 0 },
#define NNORMSW 2
- { "nonormalize", 0 },
+ { "nonormalize", 2 },
#define VERSIONSW 3
#define VERSIONSW 3
- { "version", 0 },
+ { "Version", 0 },
#define HELPSW 4
{ "help", 0 },
{ NULL, 0 }
#define HELPSW 4
{ "help", 0 },
{ NULL, 0 }
@@
-43,13
+43,11
@@
main(int argc, char **argv)
{
int addrp = 0, normalize = AD_HOST;
int status = 0;
{
int addrp = 0, normalize = AD_HOST;
int status = 0;
- char *cp, *form = NULL, *nfs;
+ char *cp, *form = NULL, *fmtstr;
char buf[BUFSIZ], **argp;
char **arguments, *addrs[NADDRS];
char buf[BUFSIZ], **argp;
char **arguments, *addrs[NADDRS];
-#ifdef LOCALE
setlocale(LC_ALL, "");
setlocale(LC_ALL, "");
-#endif
invo_name = mhbasename(argv[0]);
/* read user profile/context */
invo_name = mhbasename(argv[0]);
/* read user profile/context */
@@
-100,10
+98,10
@@
main(int argc, char **argv)
adios(NULL, "usage: %s [switches] addrs ...", invo_name);
/* get new format string */
adios(NULL, "usage: %s [switches] addrs ...", invo_name);
/* get new format string */
- nfs = new_fs(form, FORMAT);
+ fmtstr = new_fs(form, FORMAT);
fmt_norm = normalize;
fmt_norm = normalize;
- fmt_compile(nfs, &fmt);
+ fmt_compile(fmtstr, &fmt);
dat[0] = 0;
dat[1] = 0;
dat[0] = 0;
dat[1] = 0;