]> git.pld-linux.org Git - packages/bsd-games.git/commitdiff
- struct utmpx tv can differ from struct timeval (on 64-bit archs with 32-bit compat)
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 30 Apr 2005 22:50:36 +0000 (22:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bsd-games-types.patch -> 1.1

bsd-games-types.patch [new file with mode: 0644]

diff --git a/bsd-games-types.patch b/bsd-games-types.patch
new file mode 100644 (file)
index 0000000..6e22b93
--- /dev/null
@@ -0,0 +1,12 @@
+--- bsd-games-2.16/dm/utmpentry.c.orig 2004-01-27 22:33:19.000000000 +0100
++++ bsd-games-2.16/dm/utmpentry.c      2005-05-01 00:32:16.000000000 +0200
+@@ -272,7 +272,8 @@
+       e->line[sizeof(e->line) - 1] = '\0';
+       (void)strncpy(e->host, up->ut_host, sizeof(up->ut_host));
+       e->name[sizeof(e->host) - 1] = '\0';
+-      e->tv = up->ut_tv;
++      e->tv.tv_sec = up->ut_tv.tv_sec;
++      e->tv.tv_usec = up->ut_tv.tv_usec;
+       adjust_size(e);
+ }
+ #endif
This page took 0.052212 seconds and 4 git commands to generate.