]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- patch also c++ version of the rpmqv.c
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 15 Nov 2013 11:48:44 +0000 (12:48 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 15 Nov 2013 11:48:44 +0000 (12:48 +0100)
rpm-nosetproctitle.patch

index 1dd0f55cf9b28bb6fa6d369f622d9c2fa85ca3bd..71d463871c04adce1218c292d2c9cb77400698bc 100644 (file)
      (void) finiproctitle();
  #endif
  
+--- rpm-5.4.14/rpmqv.cc.orig   2012-07-06 17:39:16.000000000 +0200
++++ rpm-5.4.14/rpmqv.cc        2013-04-06 21:52:12.351905402 +0200
+@@ -450,7 +450,7 @@ int main(int argc, const char ** argv)
+     environ = envp;
+ #else
+ /* XXX limit the fiddle up to linux for now. */
+-#if !defined(HAVE_SETPROCTITLE) && defined(__linux__)
++#if 0 && !defined(HAVE_SETPROCTITLE) && defined(__linux__)
+     (void) initproctitle(argc, (char **)argv, environ);
+ #endif
+ #endif  
+@@ -1117,7 +1117,7 @@ exit:
+     optCon = rpmcliFini(optCon);
+ /* XXX limit the fiddle up to linux for now. */
+-#if !defined(HAVE_SETPROCTITLE) && defined(__linux__)
++#if 0 && !defined(HAVE_SETPROCTITLE) && defined(__linux__)
+     (void) finiproctitle();
+ #endif
This page took 0.031597 seconds and 4 git commands to generate.