Hi,

  As I had previously mentioned gcc3 warns that,
      attrs_exist = ntohl (*p++); 
and
      attrs_exist = ntohl (*(p++));
' operation on `p' may be undefined'.

 However, in nfs/rpc.c we have:
  switch (ntohl (*p++))
.
 The only way I have though of fixing this so far is with
  p++;
  switch (ntohl (p[-1]))
.
 In rpc.c p is used in some cases of the switch statment, so p needs to be 
incremented before those cases use p.

 Are there any better ways to fix this than to use p[-1]?



=====
James Morrison
   University of Waterloo
   Computer Science - Digital Hardware
   2A co-op
http://hurd.dyndns.org

Anyone refering this as 'Open Source' shall be eaten by a GNU

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to