projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
292f0fe
)
only allow readConfigFiles() once
author
ewt
<devnull@localhost>
Thu, 22 Aug 1996 20:25:46 +0000
(20:25 +0000)
committer
ewt
<devnull@localhost>
Thu, 22 Aug 1996 20:25:46 +0000
(20:25 +0000)
CVS patchset: 982
CVS date: 1996/08/22 20:25:46
lib/rpmrc.c
patch
|
blob
|
history
diff --git
a/lib/rpmrc.c
b/lib/rpmrc.c
index
19f8fd1
..
d97ed44
100644
(file)
--- a/
lib/rpmrc.c
+++ b/
lib/rpmrc.c
@@
-611,6
+611,11
@@
int rpmReadConfigFiles(char * file, char * arch, char * os, int building)
int rc = 0;
int tc;
char *tcs, *tcse;
+ static int alreadyInit = 0;
+
+ if (alreadyInit)
+ return 1;
+ alreadyInit = 1;
setDefaults();