Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37563385
en ru br
ALT Linux repositórios
S:0.1.10-alt7
5.0: 0.1.10-alt1
4.1: 0.1.9-alt1.1
4.0: 0.1.8-alt1.M40.2

Group :: Sistema/Servidores
RPM: gamin

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: gamin-0.1.10-suse-fam_abi_compatibility_FamErrlist.patch
Download


--- libgamin/fam.h.orig	2009-07-25 01:23:31.000000000 +0200
+++ libgamin/fam.h	2009-07-25 01:25:27.000000000 +0200
@@ -214,14 +214,19 @@
 #define FAM_DEBUG_VERBOSE 2
 
 /**
- * FamErrList:
- *
- * In case FAMErrno is set, FAMErrlist is a global string array indexed
- * by FAMErrno that describes the last error that happened.
+ * FamErrList: *unused* and empty.
  * NOTE: this is not a good mechanism, it's present here only to provide
  *       API and ABI compatibility with FAM.
  */
-extern const char *FamErrlist[];
+extern char *FamErrlist[];
+
+/**
+ * FamGaminErrList:
+ *
+ * In case FAMErrno is set, FamGaminErrlist is a global string array indexed
+ * by FAMErrno that describes the last error that happened.
+ */
+extern const char *FamGaminErrlist[];
 
 /**
  * FAMNoExists:
--- libgamin/gam_api.c.orig	2009-07-25 01:25:45.000000000 +0200
+++ libgamin/gam_api.c	2009-07-25 01:26:17.000000000 +0200
@@ -40,7 +40,9 @@
     FAM_UNIMPLEM/* Unimplemented */
 } FAMError;
 
-const char *FamErrlist[] = {
+char* FamErrlist[1]; /* 1 = same size as FAM, for ABI compatibility */
+
+const char *FamGaminErrlist[] = {
     "Okay",
     "Bad arguments",
     "Bad filename",
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009