Skip to contentSkip to conversation

Remove redundance code.

PATCH Cyril Hrubis 1 participant 1 message Dec 30, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi!

Quoted 3 lines

It's incorrect to close a file twice, so remove the redundance code.

Good catch ;).

It seems like this broke in Garrett's style commit.

And there are more. The uid_t and gid_t is unsigned so (uid_t)-1 is the only way how to pass -1 to lchown() without warning. That's even said in POSIX documentation.

Garrett please remove the first one close() and add back the (uid_t) and (gid_t). Also the tst_brkm() messages in lchown01 got a little unconsistent after this merge.

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list