Email List: Xaustin-group-lX
[All Lists]

Re: Bug in XSHd5.1 wait

To: austin-group-l@xxxxxxxxxxxxx
Subject: Re: Bug in XSHd5.1 wait
From: "Clive D.W. Feather" <clive@xxxxxxxxx>
Date: Mon, 30 Jun 2008 09:11:28 +0100
Cc: austin-review-l@xxxxxxxxxxxxx
References: <200806272356.AAA26061@xoneweb.opengroup.org>
nick@usenix.org said:
> @ page 2186 line 68919 section wait editorial {nms-wait-o1}
> 
> Problem:
> 
> The example provided declares main as returning "int", but then does
> not return any value.
> 
> Action:
> 
> Add
>      return 0; 
> 
> after line 68919/before line 68920.

Not necessary: the C Standard says (5.1.2.2.3#1):

    [...] reaching  the  }  that  terminates  the  main
    function returns a value of 0.

-- 
Clive D.W. Feather  | Work:  <clive@demon.net>   | Tel:    +44 20 8495 6138
Internet Expert     | Home:  <clive@davros.org>  | Fax:    +44 870 051 9937
Demon Internet      | WWW: http://www.davros.org | Mobile: +44 7973 377646
THUS plc            |                            |

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Bug in XSHd5.1 wait, Clive D.W. Feather <=