[comp.os.minix] puts

zemon@felix.UUCP (Art Zemon) (05/19/87)

puts(3) does not add a newline ('\n') to the string and it should.

Change the definition of puts in /usr/include/stdio.h from

	fputs(s, stdout);

to

	{ fputs(s, stdout); putchar('\n'); }

Although I agree that it makes more sense for puts and fputs to behave
similarly, I have too many programs already written which depend on
"correct" behavior of puts.
-- 
	-- Art Zemon
	   FileNet Corporation
	   Costa Mesa, California
	   ...!hplabs!felix!zemon