public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo commit in src/patchsets/termcap/2.0.8: 002_all_termcap-setuid.patch
@ 2011-08-20  4:32 Mike Frysinger (vapier)
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2011-08-20  4:32 UTC (permalink / raw
  To: gentoo-commits

vapier      11/08/20 04:32:44

  Modified:             002_all_termcap-setuid.patch
  Log:
  fix implicit func warnings with setfsuid()

Revision  Changes    Path
1.2                  src/patchsets/termcap/2.0.8/002_all_termcap-setuid.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/termcap/2.0.8/002_all_termcap-setuid.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/termcap/2.0.8/002_all_termcap-setuid.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/termcap/2.0.8/002_all_termcap-setuid.patch?r1=1.1&r2=1.2

Index: 002_all_termcap-setuid.patch
===================================================================
RCS file: /var/cvsroot/gentoo/src/patchsets/termcap/2.0.8/002_all_termcap-setuid.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- 002_all_termcap-setuid.patch	23 Sep 2006 09:52:24 -0000	1.1
+++ 002_all_termcap-setuid.patch	20 Aug 2011 04:32:44 -0000	1.2
@@ -1,5 +1,15 @@
 --- termcap-2.0.8/termcap.c~
 +++ termcap-2.0.8/termcap.c
+@@ -24,6 +24,9 @@
+ #include <string.h>
+ #include <sys/ioctl.h>
+ #include <termios.h>
++#ifdef __GLIBC__
++#include <sys/fsuid.h>
++#endif
+ #include <termcap.h>
+ 
+ /* Escape sequences we know about. */
 @@ -339,13 +339,17 @@
    struct tc_ent *l = NULL;
    int first = 1;






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-20  4:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-20  4:32 [gentoo-commits] gentoo commit in src/patchsets/termcap/2.0.8: 002_all_termcap-setuid.patch Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox