Remove redundance code.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi!
Quoted 3 lines
It's incorrect to close a file twice, so remove the redundance code.
Signed-off-by Bian Naimeng <[email protected]>
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