[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeadmin/kuser
From:       Scott Wheeler <wheeler () kde ! org>
Date:       2004-06-17 22:54:46
Message-ID: 20040617225446.3900E909C () office ! kde ! org
[Download RAW message or body]

CVS commit by wheeler: 

Third time's a charm.  From the AC_CHECK_DECLS docs:

"Unlike the other `AC_CHECK_*S' macros, when a symbol is not declared,
HAVE_DECL_symbol is defined to `0' instead of leaving HAVE_DECL_symbol
undeclared."


  M +2 -2      kgroupfiles.cpp   1.7
  M +4 -4      kuserfiles.cpp   1.6


--- kdeadmin/kuser/kgroupfiles.cpp  #1.6:1.7
@@ -117,5 +117,5 @@ bool KGroupFiles::reload()
 
   // We are reading our configuration specified group file
-#ifdef HAVE_DECL_FGETGRENT
+#if HAVE_DECL_FGETGRENT
     FILE *fgrp = fopen(QFile::encodeName(filename), "r");
     QString tmp;
@@ -147,5 +147,5 @@ bool KGroupFiles::reload()
     // End reading filename
 
-#ifdef HAVE_DECL_FGETGRENT
+#if HAVE_DECL_FGETGRENT
     fclose(fgrp);
 #else

--- kdeadmin/kuser/kuserfiles.cpp  #1.5:1.6
@@ -153,5 +153,5 @@ bool KUserFiles::loadpwd()
     QString tmp;
 
-#ifdef HAVE_DECL_FGETPWENT
+#if HAVE_DECL_FGETPWENT
     FILE *fpwd = fopen(QFile::encodeName(filename), "r");
     if(fpwd == NULL) {
@@ -191,5 +191,5 @@ bool KUserFiles::loadpwd()
     // End reading passwd_filename
 
-#ifdef HAVE_DECL_FGETPWENT
+#if HAVE_DECL_FGETPWENT
     fclose(fpwd);
 #else
@@ -234,5 +234,5 @@ bool KUserFiles::loadsdw()
   sdw_gid = st.st_gid;
 
-#ifdef HAVE_DECL_FGETSPENT
+#if HAVE_DECL_FGETSPENT
   FILE *f;
   kdDebug() << "open shadow file: " << shadow_file << endl;
@@ -272,5 +272,5 @@ bool KUserFiles::loadsdw()
   }
 
-#ifdef HAVE_DECL_FGETSPENT
+#if HAVE_DECL_FGETSPENT
   fclose(f);
 #else


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic