Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5d13f393
Commit
5d13f393
authored
Mar 11, 1993
by
Jim Blandy
Browse files
* b2m.c (main): Don't exit upon reading a blank line.
parent
3647c171
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
lib-src/b2m.c
lib-src/b2m.c
+8
-2
No files found.
lib-src/b2m.c
View file @
5d13f393
...
...
@@ -36,8 +36,9 @@ int header = FALSE, printing;
long
ltoday
;
char
from
[
256
],
labels
[
256
],
data
[
256
],
*
p
,
*
today
;
main
(
argc
,
argv
)
char
**
argv
;
main
(
argc
,
argv
)
int
argc
;
char
**
argv
;
{
ltoday
=
time
(
0
);
today
=
ctime
(
&
ltoday
);
...
...
@@ -54,8 +55,13 @@ char **argv;
puts
(
data
);
while
(
gets
(
data
))
{
#if 0
/* What was this for? Does somebody have something against blank
lines? */
if (!strcmp(data, ""))
exit(0);
#endif
if
(
!
strcmp
(
data
,
"*** EOOH ***"
)
&&
!
printing
)
{
printing
=
header
=
TRUE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment