This is an automated email from the git hooks/post-receive script.

rubund-guest pushed a commit to branch master
in repository fyba.

commit 36c980682990f44dd5e08eaaca728776feb39847
Author: Thomas Hirsch <thomas.hir...@statkart.no>
Date:   Sun Oct 27 10:00:24 2013 +0100

    error message for system code 13, permission denied
---
 src/FYBA/FYLE.cpp       | 4 ++++
 src/FYBA/fyba_strings.h | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/src/FYBA/FYLE.cpp b/src/FYBA/FYLE.cpp
index 51a50fe..8f0add6 100644
--- a/src/FYBA/FYLE.cpp
+++ b/src/FYBA/FYLE.cpp
@@ -76,6 +76,10 @@ SK_EntPnt_FYBA short LC_StrError(short feil_nr,char 
**feilmelding)
          strategi = 2;
          UT_StrCopy(feil,FYBA_STRING_BASE_INDEX_ABORTED,MAX_FEIL_LEN);
          break;
+      case 13:
+         strategi = 3;
+         UT_StrCopy(feil,FYBA_STRING_FILE_PERM_DENIED,MAX_FEIL_LEN);
+         break;
       case 101:
          strategi = 3;
          UT_StrCopy(feil,FYBA_STRING_BASE_OPEN_FAILED,MAX_FEIL_LEN);
diff --git a/src/FYBA/fyba_strings.h b/src/FYBA/fyba_strings.h
index ebd8461..e0c5253 100644
--- a/src/FYBA/fyba_strings.h
+++ b/src/FYBA/fyba_strings.h
@@ -6,6 +6,7 @@
 #define FYBA_STRING_FILE_NOT_FOUND       "No .sos file found by the name:"
 #define FYBA_STRING_BASE_FYBA_NOT_INITD  "Cannot open base - FYBA has not been 
initialized."
 #define FYBA_STRING_BASE_NOT_OPEN        "Cannot open SOSI-file. Base has not 
been opened."
+#define FYBA_STRING_FILE_PERM_DENIED     "Permission denied opening SOSI-file 
or creating index folder."
 #define FYBA_STRING_FILE_OPEN_FAILED     "Error opening file:"
 #define FYBA_STRING_FILE_OMRAADE_MISSING "..OMRÅDE missing in file header:"
 #define FYBA_STRING_FILE_MIN_NOE_MISSING "...MIN-NØ missing in file header:"
@@ -117,6 +118,7 @@
 #define FYBA_STRING_BASE_FYBA_NOT_INITD  "Kan ikke åpne base, FYBA er ikke 
initiert!"
 #define FYBA_STRING_BASE_NOT_OPEN        "Kan ikke åpne SOSI-fil, fordi det 
ikke er åpnet noen base!"
 #define FYBA_STRING_FILE_OPEN_FAILED     "Åpningsfeil på filen:"
+#define FYBA_STRING_FILE_PERM_DENIED     "Tillatelse nektet under åpning av 
SOSI-fil eller lagring av indeksen."
 #define FYBA_STRING_FILE_OMRAADE_MISSING "..OMRÅDE mangler i filhodet på 
filen:"
 #define FYBA_STRING_FILE_MIN_NOE_MISSING "...MIN-NØ mangler i filhodet på 
filen:"
 #define FYBA_STRING_FILE_MAX_NOE_MISSING "...MAX-NØ mangler i filhodet på 
filen:"

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-grass/fyba.git

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to