| delorie.com/archives/browse.cgi | search |
| From: | sparhawk AT eunet DOT at (Gerhard Gruber) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Compile gives Abort! error |
| Date: | Thu, 09 Jul 1998 19:54:03 GMT |
| Organization: | Customer of EUnet Austria |
| Lines: | 21 |
| Message-ID: | <35ab1c76.18464183@news.Austria.EU.net> |
| References: | <6o005b$r$1 AT nnrp1 DOT dejanews DOT com> <35A442C3 DOT B06EDBF2 AT cs DOT com> |
| NNTP-Posting-Host: | e016.dynamic.vienna.at.eu.net |
| Mime-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Destination: "John M. Aldrich" <fighteer AT cs DOT com>
From: Gruber Gerhard
Group: comp.os.msdos.djgpp
Date: Thu, 09 Jul 1998 00:10:43 -0400:
>I think I should add a test for TMPDIR to DJVERIFY, except that I still
>haven't figured out how to test a drive/directory for writeability...
>any ideas?
Shouldn't fstat do the job? I don't know about dos but under unix this returns
also the information wether you habe write access or not. If the function is
pretty much the same you can use it.
--
Bye,
Gerhard
email: sparhawk AT eunet DOT at
g DOT gruber AT sis DOT co DOT at
Spelling corrections are appreciated.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |