|
RE: RE: Bug with backticks behaviour in mSYS?: msg#00009gnu.mingw.msys
> -----Original Message----- > From: mingw-msys-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx > [mailto:mingw-msys- > admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx] On Behalf Of Earnie > Boyd > Sent: 01 January 2006 23:50 > To: mingw-msys-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx > Subject: Re: [Mingw-msys] RE: Bug with backticks behaviour in mSYS? (cut) > Is your test program compiled with binary mode defaults for stdout? > Try adding > /mingw/lib/binmode.o to the link command and retry your test. This is > likely > not to be a MinGW/MSYS error but a Windows feature. Hi Earnie, Thanks for your response. I still get the same results even if I link binmode.o into the resulting executable, e.g. mca@IBM-SPARKS ~ $ gcc -o test.o -c test.c mca@IBM-SPARKS ~ $ gcc -o test test.o /mingw/lib/binmode.o mca@IBM-SPARKS ~ $ sh -c "echo \"\`./test\` -lpq\"" | hexdump -C 00000000: 74 68 69 73 20 69 73 20 61 20 74 65 73 74 20 73 this is a test s 00000010: 74 72 69 6E 67 01 20 2D 6C 70 71 0A tring. -lpq. Many thanks, Mark. ------------------------ WebBased Ltd 17 Research Way Plymouth PL6 8BT T: +44 (0)1752 797131 F: +44 (0)1752 791023 http://www.webbased.co.uk http://www.infomapper.com http://www.swtc.co.uk This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: ar.exe & scripts: 00009, Greg Chicares |
|---|---|
| Next by Date: | RE: RE: Bug with backticks behaviour in mSYS?: 00009, Mark Cave-Ayland |
| Previous by Thread: | RE: RE: Bug with backticks behaviour in mSYS?i: 00009, Mark Cave-Ayland |
| Next by Thread: | Re: RE: Bug with backticks behaviour in mSYS?: 00009, Luke Dunstan |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |