This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/23751] cpp -P emits two newlines


------- Additional Comments From johann dot glaser at gmx dot at  2005-09-06 15:59 -------
Sure, but without -P no additional newlines are printed, so these two are
clearly "to much".

Since cpp is often used for other things than C preprocessing, newlines are
annoying or even kill tools relying on it.

I found this bug because we have a script sending emails which uses cpp to
preprocess the mail content. Since the first few lines of the mail contain the
header, no additional newlines are acceptable, because /usr/sbin/sendmail will
interpret these as header-body-delimiter.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23751


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]