Fix windows build from previous check in.

This commit is contained in:
Jim Norman 2006-09-27 21:18:51 +00:00
parent e2db0e3ecc
commit 39e403c1d3

View File

@ -2189,10 +2189,10 @@ namespace Novell.CASA.GUI
{
if (Directory.Exists(sDirectory))
{
#if LINUX
// make sure user as rights to read and write to this directory
try
{
#if LINUX
{
int rcode = Mono.Unix.Native.Syscall.access(sDirectory,
Mono.Unix.Native.AccessModes.R_OK |
Mono.Unix.Native.AccessModes.W_OK );
@ -2210,7 +2210,9 @@ namespace Novell.CASA.GUI
{
CommonGUI.DisplayMessage(Gtk.MessageType.Error, "Not allowed\r\n" + sDirectory);
}
#endif
#else
entryStorageDirectory.Text = sDirectory;
#endif
}
else