projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1d894c
)
Protect Edition against construction with NULL pointer.
author
Michael Andres
<ma@suse.de>
Thu, 5 Feb 2009 23:20:23 +0000
(
00:20
+0100)
committer
Michael Andres
<ma@suse.de>
Fri, 6 Feb 2009 11:02:08 +0000
(12:02 +0100)
zypp/Edition.cc
patch
|
blob
|
history
diff --git
a/zypp/Edition.cc
b/zypp/Edition.cc
index
ca66296
..
e3c3bb3
100644
(file)
--- a/
zypp/Edition.cc
+++ b/
zypp/Edition.cc
@@
-40,6
+40,13
@@
namespace zypp
: ret );
}
+ inline std::string makeevrstr( const char * version_r,
+ const char * release_r,
+ Edition::epoch_t epoch_r )
+ { return makeevrstr( std::string(version_r?version_r:""),
+ std::string(release_r?release_r:""),
+ epoch_r );
+ }
/////////////////////////////////////////////////////////////////
} // namespace
///////////////////////////////////////////////////////////////////