The availability of socketbits.h?

Xu Qiang Qiang.Xu at fujixerox.com
Tue May 17 22:52:05 PDT 2005


Ted Mittelstaedt wrote:
> Would you post a diff of the files you had to change to the list once
> you get it running?

If you follow this thread, it would be quite easy. Anyway, it is my pleasure to do a summary here. But I don't know how to put the diff result into a more readable format (like the old line is prefixed with a "-", and the newline is prefixed with a "+") than this: 

gso_dev_2# diff configure.org configure
5234,5235c5234,5235
<   GGO_SOME_WARNINGS='-Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wp,-lang-c89'
<   GGO_ALL_WARNINGS='-Wall -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wp,-lang-c89'
---
>   GGO_SOME_WARNINGS='-Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wp,-std=c89'
>   GGO_ALL_WARNINGS='-Wall -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wp,-std=c89'

It is quite unreadable. Actually, all I have done to this file is: 
sed -i -e "s/-lang-c89/-std=c89/g" configure

If you can tell me how to do it in a "-", "+" format, I will post a complete revision to the list. 

thanks, 

Regards,
Xu Qiang




More information about the freebsd-questions mailing list