nss-pam-ldapd commit: r1330 - nss-pam-ldapd-solaris/nss
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1330 - nss-pam-ldapd-solaris/nss
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1330 - nss-pam-ldapd-solaris/nss
- Date: Mon, 13 Dec 2010 22:13:14 +0100 (CET)
Author: arthur
Date: Mon Dec 13 22:13:12 2010
New Revision: 1330
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1330
Log:
fix assignment in if statement (was broken in r1262)
Modified:
nss-pam-ldapd-solaris/nss/ethers.c
nss-pam-ldapd-solaris/nss/group.c
nss-pam-ldapd-solaris/nss/hosts.c
nss-pam-ldapd-solaris/nss/networks.c
nss-pam-ldapd-solaris/nss/passwd.c
nss-pam-ldapd-solaris/nss/protocols.c
nss-pam-ldapd-solaris/nss/rpc.c
nss-pam-ldapd-solaris/nss/services.c
nss-pam-ldapd-solaris/nss/shadow.c
Modified: nss-pam-ldapd-solaris/nss/ethers.c
==============================================================================
--- nss-pam-ldapd-solaris/nss/ethers.c Sun Dec 12 23:45:21 2010 (r1329)
+++ nss-pam-ldapd-solaris/nss/ethers.c Mon Dec 13 22:13:12 2010 (r1330)
@@ -131,14 +131,14 @@
NSS_ARGS(args)->buf.result? \
read_etherent(fp,(struct etherent
*)NSS_ARGS(args)->buf.result,NSS_ARGS(args)->buf.buffer,NSS_ARGS(args)->buf.buflen,&errno):
\
read_etherstring(fp,args); \
- if ((NSS_ARGS(args)->buf.result)&&(retv=NSS_STATUS_SUCCESS)) \
+ if ((NSS_ARGS(args)->buf.result)&&(retv==NSS_STATUS_SUCCESS)) \
NSS_ARGS(args)->returnval=NSS_ARGS(args)->buf.result;
#else /* not HAVE_STRUCT_NSS_XBYY_ARGS_RETURNLEN */
#define READ_RESULT(fp) \
read_etherent(fp,(struct etherent
*)NSS_ARGS(args)->buf.result,NSS_ARGS(args)->buf.buffer,NSS_ARGS(args)->buf.buflen,&errno);
\
- if (retv=NSS_STATUS_SUCCESS) \
+ if (retv==NSS_STATUS_SUCCESS) \
NSS_ARGS(args)->returnval=NSS_ARGS(args)->buf.result;
#endif /* not HAVE_STRUCT_NSS_XBYY_ARGS_RETURNLEN */
Modified: nss-pam-ldapd-solaris/nss/group.c
==============================================================================
--- nss-pam-ldapd-solaris/nss/group.c Sun Dec 12 23:45:21 2010 (r1329)
+++ nss-pam-ldapd-solaris/nss/group.c Mon Dec 13 22:13:12 2010 (r1330)
@@ -221,14 +221,14 @@
NSS_ARGS(args)->buf.result? \
read_group(fp,(struct group
*)NSS_ARGS(args)->buf.result,NSS_ARGS(args)->buf.buffer,NSS_ARGS(args)->buf.buflen,&errno):
\
read_groupstring(fp,args); \
- if ((NSS_ARGS(args)->buf.result)&&(retv=NSS_STATUS_SUCCESS)) \
+ if ((NSS_ARGS(args)->buf.result)&&(retv==NSS_STATUS_SUCCESS)) \
NSS_ARGS(args)->returnval=NSS_ARGS(args)->buf.result;
#else /* not HAVE_STRUCT_NSS_XBYY_ARGS_RETURNLEN */
#define READ_RESULT(fp) \
read_group(fp,(struct group
*)NSS_ARGS(args)->buf.result,NSS_ARGS(args)->buf.buffer,NSS_ARGS(args)->buf.buflen,&errno);
\
- if (retv=NSS_STATUS_SUCCESS) \
+ if (retv==NSS_STATUS_SUCCESS) \
NSS_ARGS(args)->returnval=NSS_ARGS(args)->buf.result;
#endif /* not HAVE_STRUCT_NSS_XBYY_ARGS_RETURNLEN */
Modified: nss-pam-ldapd-solaris/nss/hosts.c
==============================================================================
--- nss-pam-ldapd-solaris/nss/hosts.c Sun Dec 12 23:45:21 2010 (r1329)
+++ nss-pam-ldapd-solaris/nss/hosts.c Mon Dec 13 22:13:12 2010 (r1330)
@@ -300,26 +300,26 @@
NSS_ARGS(args)->buf.result? \
read_hostent_erronempty(fp,NSS_ARGS(args)->key.hostaddr.type,(struct
hostent
*)NSS_ARGS(args)->buf.result,NSS_ARGS(args)->buf.buffer,NSS_ARGS(args)->buf.buflen,&errno,&(NSS_ARGS(args)->h_errno)):
\
read_hoststring(fp,args,1); \
- if ((NSS_ARGS(args)->buf.result)&&(retv=NSS_STATUS_SUCCESS)) \
+ if ((NSS_ARGS(args)->buf.result)&&(retv==NSS_STATUS_SUCCESS)) \
NSS_ARGS(args)->returnval=NSS_ARGS(args)->buf.result;
#define READ_RESULT_NEXTONEMPTY(fp) \
NSS_ARGS(args)->buf.result? \
read_hostent_nextonempty(fp,NSS_ARGS(args)->key.hostaddr.type,(struct
hostent
*)NSS_ARGS(args)->buf.result,NSS_ARGS(args)->buf.buffer,NSS_ARGS(args)->buf.buflen,&errno,&(NSS_ARGS(args)->h_errno)):
\
read_hoststring(fp,args,0); \
- if ((NSS_ARGS(args)->buf.result)&&(retv=NSS_STATUS_SUCCESS)) \
+ if ((NSS_ARGS(args)->buf.result)&&(retv==NSS_STATUS_SUCCESS)) \
NSS_ARGS(args)->returnval=NSS_ARGS(args)->buf.result;
#else /* not HAVE_STRUCT_NSS_XBYY_ARGS_RETURNLEN */
#define READ_RESULT_ERRONEMPTY(fp) \
read_hostent_erronempty(fp,NSS_ARGS(args)->key.hostaddr.type,(struct hostent
*)NSS_ARGS(args)->buf.result,NSS_ARGS(args)->buf.buffer,NSS_ARGS(args)->buf.buflen,&errno,&(NSS_ARGS(args)->h_errno));
\
- if (retv=NSS_STATUS_SUCCESS) \
+ if (retv==NSS_STATUS_SUCCESS) \
NSS_ARGS(args)->returnval=NSS_ARGS(args)->buf.result;
#define READ_RESULT_NEXTONEMPTY(fp) \
read_hostent_nextonempty(fp,NSS_ARGS(args)->key.hostaddr.type,(struct
hostent
*)NSS_ARGS(args)->buf.result,NSS_ARGS(args)->buf.buffer,NSS_ARGS(args)->buf.buflen,&errno,&(NSS_ARGS(args)->h_errno));
\
- if (retv=NSS_STATUS_SUCCESS) \
+ if (retv==NSS_STATUS_SUCCESS) \
NSS_ARGS(args)->returnval=NSS_ARGS(args)->buf.result;
#endif /* not HAVE_STRUCT_NSS_XBYY_ARGS_RETURNLEN */
Modified: nss-pam-ldapd-solaris/nss/networks.c
==============================================================================
--- nss-pam-ldapd-solaris/nss/networks.c Sun Dec 12 23:45:21 2010
(r1329)
+++ nss-pam-ldapd-solaris/nss/networks.c Mon Dec 13 22:13:12 2010
(r1330)
@@ -201,14 +201,14 @@
NSS_ARGS(args)->buf.result? \
read_netent(fp,(struct netent
*)NSS_ARGS(args)->buf.result,NSS_ARGS(args)->buf.buffer,NSS_ARGS(args)->buf.buflen,&errno,&(NSS_ARGS(args)->h_errno)):
\
read_netentstring(fp,args); \
- if ((NSS_ARGS(args)->buf.result)&&(retv=NSS_STATUS_SUCCESS)) \
+ if ((NSS_ARGS(args)->buf.result)&&(retv==NSS_STATUS_SUCCESS)) \
NSS_ARGS(args)->returnval=NSS_ARGS(args)->buf.result;
#else /* not HAVE_STRUCT_NSS_XBYY_ARGS_RETURNLEN */
#define READ_RESULT(fp) \
read_netent(fp,(struct netent
*)NSS_ARGS(args)->buf.result,NSS_ARGS(args)->buf.buffer,NSS_ARGS(args)->buf.buflen,&errno,&(NSS_ARGS(args)->h_errno));
\
- if (retv=NSS_STATUS_SUCCESS) \
+ if (retv==NSS_STATUS_SUCCESS) \
NSS_ARGS(args)->returnval=NSS_ARGS(args)->buf.result;
#endif /* not HAVE_STRUCT_NSS_XBYY_ARGS_RETURNLEN */
Modified: nss-pam-ldapd-solaris/nss/passwd.c
==============================================================================
--- nss-pam-ldapd-solaris/nss/passwd.c Sun Dec 12 23:45:21 2010 (r1329)
+++ nss-pam-ldapd-solaris/nss/passwd.c Mon Dec 13 22:13:12 2010 (r1330)
@@ -129,14 +129,14 @@
NSS_ARGS(args)->buf.result? \
read_passwd(fp,(struct passwd
*)NSS_ARGS(args)->buf.result,NSS_ARGS(args)->buf.buffer,NSS_ARGS(args)->buf.buflen,&errno):
\
read_passwdstring(fp,args); \
- if ((NSS_ARGS(args)->buf.result)&&(retv=NSS_STATUS_SUCCESS)) \
+ if ((NSS_ARGS(args)->buf.result)&&(retv==NSS_STATUS_SUCCESS)) \
NSS_ARGS(args)->returnval=NSS_ARGS(args)->buf.result;
#else /* not HAVE_STRUCT_NSS_XBYY_ARGS_RETURNLEN */
#define READ_RESULT(fp) \
read_passwd(fp,(struct passwd
*)NSS_ARGS(args)->buf.result,NSS_ARGS(args)->buf.buffer,NSS_ARGS(args)->buf.buflen,&errno);
\
- if (retv=NSS_STATUS_SUCCESS) \
+ if (retv==NSS_STATUS_SUCCESS) \
NSS_ARGS(args)->returnval=NSS_ARGS(args)->buf.result;
#endif /* not HAVE_STRUCT_NSS_XBYY_ARGS_RETURNLEN */
Modified: nss-pam-ldapd-solaris/nss/protocols.c
==============================================================================
--- nss-pam-ldapd-solaris/nss/protocols.c Sun Dec 12 23:45:21 2010
(r1329)
+++ nss-pam-ldapd-solaris/nss/protocols.c Mon Dec 13 22:13:12 2010
(r1330)
@@ -130,14 +130,14 @@
NSS_ARGS(args)->buf.result? \
read_protoent(fp,(struct protoent
*)NSS_ARGS(args)->buf.result,NSS_ARGS(args)->buf.buffer,NSS_ARGS(args)->buf.buflen,&errno):
\
read_protostring(fp,args); \
- if ((NSS_ARGS(args)->buf.result)&&(retv=NSS_STATUS_SUCCESS)) \
+ if ((NSS_ARGS(args)->buf.result)&&(retv==NSS_STATUS_SUCCESS)) \
NSS_ARGS(args)->returnval=NSS_ARGS(args)->buf.result;
#else /* not HAVE_STRUCT_NSS_XBYY_ARGS_RETURNLEN */
#define READ_RESULT(fp) \
read_protoent(fp,(struct protoent
*)NSS_ARGS(args)->buf.result,NSS_ARGS(args)->buf.buffer,NSS_ARGS(args)->buf.buflen,&errno);
\
- if (retv=NSS_STATUS_SUCCESS) \
+ if (retv==NSS_STATUS_SUCCESS) \
NSS_ARGS(args)->returnval=NSS_ARGS(args)->buf.result;
#endif /* not HAVE_STRUCT_NSS_XBYY_ARGS_RETURNLEN */
Modified: nss-pam-ldapd-solaris/nss/rpc.c
==============================================================================
--- nss-pam-ldapd-solaris/nss/rpc.c Sun Dec 12 23:45:21 2010 (r1329)
+++ nss-pam-ldapd-solaris/nss/rpc.c Mon Dec 13 22:13:12 2010 (r1330)
@@ -130,14 +130,14 @@
NSS_ARGS(args)->buf.result? \
read_rpcent(fp,(struct rpcent
*)NSS_ARGS(args)->buf.result,NSS_ARGS(args)->buf.buffer,NSS_ARGS(args)->buf.buflen,&errno):
\
read_rpcstring(fp,args); \
- if ((NSS_ARGS(args)->buf.result)&&(retv=NSS_STATUS_SUCCESS)) \
+ if ((NSS_ARGS(args)->buf.result)&&(retv==NSS_STATUS_SUCCESS)) \
NSS_ARGS(args)->returnval=NSS_ARGS(args)->buf.result;
#else /* not HAVE_STRUCT_NSS_XBYY_ARGS_RETURNLEN */
#define READ_RESULT(fp) \
read_rpcent(fp,(struct rpcent
*)NSS_ARGS(args)->buf.result,NSS_ARGS(args)->buf.buffer,NSS_ARGS(args)->buf.buflen,&errno);
\
- if (retv=NSS_STATUS_SUCCESS) \
+ if (retv==NSS_STATUS_SUCCESS) \
NSS_ARGS(args)->returnval=NSS_ARGS(args)->buf.result;
#endif /* not HAVE_STRUCT_NSS_XBYY_ARGS_RETURNLEN */
Modified: nss-pam-ldapd-solaris/nss/services.c
==============================================================================
--- nss-pam-ldapd-solaris/nss/services.c Sun Dec 12 23:45:21 2010
(r1329)
+++ nss-pam-ldapd-solaris/nss/services.c Mon Dec 13 22:13:12 2010
(r1330)
@@ -134,14 +134,14 @@
NSS_ARGS(args)->buf.result? \
read_servent(fp,(struct servent
*)NSS_ARGS(args)->buf.result,NSS_ARGS(args)->buf.buffer,NSS_ARGS(args)->buf.buflen,&errno):
\
read_servstring(fp,args); \
- if ((NSS_ARGS(args)->buf.result)&&(retv=NSS_STATUS_SUCCESS)) \
+ if ((NSS_ARGS(args)->buf.result)&&(retv==NSS_STATUS_SUCCESS)) \
NSS_ARGS(args)->returnval=NSS_ARGS(args)->buf.result;
#else /* not HAVE_STRUCT_NSS_XBYY_ARGS_RETURNLEN */
#define READ_RESULT(fp) \
read_servent(fp,(struct servent
*)NSS_ARGS(args)->buf.result,NSS_ARGS(args)->buf.buffer,NSS_ARGS(args)->buf.buflen,&errno);
\
- if (retv=NSS_STATUS_SUCCESS) \
+ if (retv==NSS_STATUS_SUCCESS) \
NSS_ARGS(args)->returnval=NSS_ARGS(args)->buf.result;
#endif /* not HAVE_STRUCT_NSS_XBYY_ARGS_RETURNLEN */
Modified: nss-pam-ldapd-solaris/nss/shadow.c
==============================================================================
--- nss-pam-ldapd-solaris/nss/shadow.c Sun Dec 12 23:45:21 2010 (r1329)
+++ nss-pam-ldapd-solaris/nss/shadow.c Mon Dec 13 22:13:12 2010 (r1330)
@@ -155,14 +155,14 @@
NSS_ARGS(args)->buf.result? \
read_spwd(fp,(struct spwd
*)NSS_ARGS(args)->buf.result,NSS_ARGS(args)->buf.buffer,NSS_ARGS(args)->buf.buflen,&errno):
\
read_spwdstring(fp,args); \
- if ((NSS_ARGS(args)->buf.result)&&(retv=NSS_STATUS_SUCCESS)) \
+ if ((NSS_ARGS(args)->buf.result)&&(retv==NSS_STATUS_SUCCESS)) \
NSS_ARGS(args)->returnval=NSS_ARGS(args)->buf.result;
#else /* not HAVE_STRUCT_NSS_XBYY_ARGS_RETURNLEN */
#define READ_RESULT(fp) \
read_spwd(fp,(struct spwd
*)NSS_ARGS(args)->buf.result,NSS_ARGS(args)->buf.buffer,NSS_ARGS(args)->buf.buflen,&errno);
\
- if (retv=NSS_STATUS_SUCCESS) \
+ if (retv==NSS_STATUS_SUCCESS) \
NSS_ARGS(args)->returnval=NSS_ARGS(args)->buf.result;
#endif /* not HAVE_STRUCT_NSS_XBYY_ARGS_RETURNLEN */
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits
- nss-pam-ldapd commit: r1330 - nss-pam-ldapd-solaris/nss,
Commits of the nss-pam-ldapd project