[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] an example of broken lib



"Guido Flohr" <gufl0000@stud.uni-sb.de> writes:

|> But in 99 % of the cases, using fchmod instead of chmod is just lazyness
|> of the programmer (don't have to remember the path name).

Think about security.  Using file names instead of descriptors creates
unnecessary races.

Andreas.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.cs.uni-dortmund.de                      completely different"
schwab@gnu.org