projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
anno: Undid the ``preserve argument hack''.
[mmh]
/
uip
/
anno.c
diff --git
a/uip/anno.c
b/uip/anno.c
index
aacd826
..
e97afbf
100644
(file)
--- a/
uip/anno.c
+++ b/
uip/anno.c
@@
-80,6
+80,7
@@
int
main(int argc, char **argv)
{
int datesw = 1;
main(int argc, char **argv)
{
int datesw = 1;
+ int preserve = 0;
int msgnum;
char *cp, *maildir;
unsigned char *comp = NULL;
int msgnum;
char *cp, *maildir;
unsigned char *comp = NULL;
@@
-178,11
+179,11
@@
main(int argc, char **argv)
continue;
case PRESERVESW: /* preserve access and modification times on annotated message */
continue;
case PRESERVESW: /* preserve access and modification times on annotated message */
- annopreserve(1);
+ preserve = 1;
continue;
case NOPRESERVESW: /* don't preserve access and modification times on annotated message (default) */
continue;
case NOPRESERVESW: /* don't preserve access and modification times on annotated message (default) */
- annopreserve(0);
+ preserve = 0;
continue;
}
}
continue;
}
}
@@
-225,7
+226,7
@@
main(int argc, char **argv)
if (list)
annolist(m_name(msgnum), comp, text, number);
else
if (list)
annolist(m_name(msgnum), comp, text, number);
else
- annotate(m_name(msgnum), comp, text, datesw, delete, append);
+ annotate(m_name(msgnum), comp, text, datesw, delete, append, preserve);
}
}
}
}