Bug 115723

Summary: broken \ sequence
Product: [Fedora] Fedora Reporter: d.binderman
Component: ORBit2Assignee: Mark McLoughlin <markmc>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-07-30 09:36:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description d.binderman 2004-02-15 12:17:17 UTC
Description of problem:

I just tried to compile package ORBit2-2.8.2-1 from Fedora.

The compiler said

1.


test-corbaloc.c(159): warning #192: unrecognized character escape sequence
test-corbaloc.c(159): warning #192: unrecognized character escape sequence
test-corbaloc.c(159): warning #192: unrecognized character escape sequence
test-corbaloc.c(159): warning #192: unrecognized character escape sequence
test-corbaloc.c(159): warning #192: unrecognized character escape sequence
test-corbaloc.c(159): warning #192: unrecognized character escape sequence
test-corbaloc.c(159): warning #192: unrecognized character escape sequence
test-corbaloc.c(159): warning #192: unrecognized character escape sequence
test-corbaloc.c(159): warning #192: unrecognized character escape sequence
test-corbaloc.c(159): warning #192: unrecognized character escape sequence
test-corbaloc.c(159): warning #192: unrecognized character escape sequence

The source code is

        {
"corbaloc:iiops:localhost:8885/\%4e\%61\%6d\%65\%53\%65\%72\%76\%69\%63\%65",
         
"IOR:01000000010000000000000001000000000000003e000000010101000a0000006c6f63616c686f73740000000b0000004e616d65536572766963650001000000140000000e000000010101007f00000006000000b522"
        },

\% isn't a valid escape sequence. Suggest that if you want % in an
ordinary string, just use %.



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Mark McLoughlin 2004-03-19 17:45:02 UTC
What compiler warning flags are you using?

Comment 2 d.binderman 2004-03-20 10:59:15 UTC
>What compiler warning flags are you using?

-Wall and the Intel compiler.


Comment 3 Mark McLoughlin 2004-07-30 09:36:32 UTC
Okay, just committed a fix upstream. The fix will be in Fedora Core 3.
Thanks

Comment 4 Mark McLoughlin 2004-07-30 09:36:53 UTC
ChangeLog entry, for reference:

2004-07-30  Mark McLoughlin  <mark>

        * test/test-corbaloc.c: "\%" isn't a valid escape sequence,
        so just use "%". From d.binderman.