Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
6686bc3a
...
6686bc3aae8eaa782fad95f5a0fe9cb9d1c192b9
authored
2001-06-25 21:16:42 +0000
by
Alain Magloire
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Oops !! I misread the code. Corrected.
1 parent
f264b82c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
ChangeLog
mail/mail.c
ChangeLog
View file @
6686bc3
...
...
@@ -6,7 +6,6 @@
* include/mailutils/Makefile.am: add mutil.h to the list.
* lib/strisignal.c: Define __P if not set.
* m4/Makefile.am: Added tm_gmtoff.m4 tm_isdst.m4 tm_zone.m4
* mail/mail.c (main): typo "z." --> "z"
2001-06-25 Sergey Poznyakoff
* mail/if.c: Removed confusing comment.
...
...
mail/mail.c
View file @
6686bc3
...
...
@@ -167,11 +167,11 @@ main (int argc, char **argv)
char
*
p
=
util_get_homedir
();
setenv
(
"HOME"
,
p
,
0
);
}
setenv
(
"DEAD"
,
util_fullpath
(
"~/dead.letter"
),
0
);
setenv
(
"DEAD"
,
util_fullpath
(
"~/dead.letter"
),
0
);
setenv
(
"EDITOR"
,
"ed"
,
0
);
setenv
(
"LISTER"
,
"ls"
,
0
);
setenv
(
"MAILRC"
,
util_fullpath
(
"~/.mailrc"
),
0
);
setenv
(
"MBOX"
,
util_fullpath
(
"~/mbox"
),
0
);
setenv
(
"MBOX"
,
util_fullpath
(
"~/mbox"
),
0
);
setenv
(
"PAGER"
,
"more"
,
0
);
setenv
(
"SHELL"
,
"sh"
,
0
);
setenv
(
"VISUAL"
,
"vi"
,
0
);
...
...
@@ -296,7 +296,7 @@ main (int argc, char **argv)
/* initial commands */
if
((
util_find_env
(
"header"
))
->
set
)
util_do_command
(
"z"
);
util_do_command
(
"z
.
"
);
prompt
=
util_find_env
(
"prompt"
);
mail_set_is_terminal
(
isatty
(
0
));
...
...
@@ -345,8 +345,8 @@ mail_mainloop(char *(*input) __P((void *, int)), void *closure, int do_history)
if
(
command
)
free
(
command
);
}
}
}
...
...
Please
register
or
sign in
to post a comment