Re: GetDiskSpaceAvailable in Linux
| Newsgroups | gmane.comp.mozilla.devel.nspr,gmane.spam.detected |
|---|---|
| Message-ID | <14969181.1180685370416.JavaMail.root@cps9> |
Vineeth wrote: > I want to check the available space on the disk...... > this is how i am doing it............ Why do you need to check the available space on the disk? I am asking because this is almost always the way to create a critical data losing bug. > PRInt64 iSize = 0; > nsCOMPtr<nsILocalFile> mFile; > NS_NewLocalFile (path, PR_TRUE, getter_AddRefs (mFile)); > mFile->GetDiskSpaceAvailable(&iSize); > > > I get the correct values on Windows......but on the linux the > available disk space i get is 0. > Can anyone help me on this....... You may want to look at the library code itself and try to debug it yourself. Ahora también puedes acceder a tu correo Terra desde el móvil. Infórmate pinchando aquí. _______________________________________________ dev-tech-nspr mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-nspr