gnu-arch-users
[Top][All Lists]
Advanced

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

[Gnu-arch-users] ensure_directory_exists


From: Johannes Berg
Subject: [Gnu-arch-users] ensure_directory_exists
Date: Sat, 17 Jan 2004 03:25:35 +0100

Why is ensure_directory_exists declared

  int ensure_directory_exists

when it can never return anything but 0? If can only return -1 if it
returned -1 for the parent path, but that only as long as there is a
parent, and if there's no parent then it returns 0 as well.

johannes
-- 
http://www.sipsolutions.de/
GnuPG key: http://www.sipsolutions.de/keys/JohannesBerg.asc
  Key-ID: 9AB78CA5 Johannes Berg <address@hidden>
  Fingerprint = AD02 0176 4E29 C137 1DF6 08D2 FC44 CF86 9AB7 8CA5

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]