Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
x11-input-evtouch
evtouch-20090125-memset.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File evtouch-20090125-memset.diff of Package x11-input-evtouch
diff -u -p ../xf86-input-evtouch-0.8.7.orig//evtouch.c ./evtouch.c --- ../xf86-input-evtouch-0.8.7.orig//evtouch.c 2009-01-04 04:55:53.670631562 +0100 +++ ./evtouch.c 2009-01-04 04:57:37.295229014 +0100 @@ -616,7 +616,7 @@ DeviceInit (DeviceIntPtr dev) DBGOUT(2, "EVTouch: %s btn_count=%d\n", __FUNCTION__, priv->btn_count); priv->btn_actions = xcalloc(priv->btn_count, sizeof(BtnAction)); - xf86memset(priv->btn_actions, 0, + memset(priv->btn_actions, 0, priv->btn_count * sizeof(BtnAction)); DBGOUT(2, "EVTouch: %s btn_count=%d\n", __FUNCTION__, @@ -708,7 +708,7 @@ DeviceControl (DeviceIntPtr dev, static void EVTouchNewPacket (EVTouchPrivatePtr priv) { - xf86memset(&priv->ev, 0, sizeof(struct input_event)); + memset(&priv->ev, 0, sizeof(struct input_event)); priv->packeti = 0; priv->binary_pkt = FALSE; } diff -u -p ../xf86-input-evtouch-0.8.7.orig//libtouch.c ./libtouch.c --- ../xf86-input-evtouch-0.8.7.orig//libtouch.c 2009-01-04 04:55:53.826638484 +0100 +++ ./libtouch.c 2009-01-04 04:58:07.416565426 +0100 @@ -27,6 +27,7 @@ #include "config.h" #endif +#include <string.h> #include <misc.h> #include <os.h> @@ -187,7 +188,7 @@ void libtouchInit(LibTouchRecPtr libtouc char *str; - xf86memset(libtouch, 0, sizeof(LibTouchRec)); + memset(libtouch, 0, sizeof(LibTouchRec)); libtouch->now = GetTimeInMillis(); libtouch->past = libtouch->now;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor