projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
slocal used to support two different formats for three of
[mmh]
/
uip
/
whatnowproc.c
diff --git
a/uip/whatnowproc.c
b/uip/whatnowproc.c
index
6bf4b36
..
fc8783d
100644
(file)
--- a/
uip/whatnowproc.c
+++ b/
uip/whatnowproc.c
@@
-19,13
+19,10
@@
* it will call this routine directly without exec'ing it.
*/
* it will call this routine directly without exec'ing it.
*/
-/* from whatnowsbr.c */
-int WhatNow (int, char **);
-
int
what_now (char *ed, int nedit, int use, char *file, char *altmsg, int dist,
int
what_now (char *ed, int nedit, int use, char *file, char *altmsg, int dist,
- struct msgs *mp, char *text, int inplace, char *cwd)
+ struct msgs *mp, char *text, int inplace, char *cwd, int atfile)
{
int found, k, msgnum, vecp;
int len, buflen;
{
int found, k, msgnum, vecp;
int len, buflen;
@@
-63,6
+60,8
@@
what_now (char *ed, int nedit, int use, char *file, char *altmsg, int dist,
}
snprintf (buffer, sizeof(buffer), "%d", use);
m_putenv ("mhuse", buffer);
}
snprintf (buffer, sizeof(buffer), "%d", use);
m_putenv ("mhuse", buffer);
+ snprintf (buffer, sizeof(buffer), "%d", atfile);
+ m_putenv ("mhatfile", buffer);
unputenv ("mhmessages");
unputenv ("mhannotate");
unputenv ("mhmessages");
unputenv ("mhannotate");