mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
3103ffad6e
Submitted by: taguchi@tohoku.iij.ad.jp Approved (in spirit) by: jmz (XFree86 port maintainer)
14 lines
346 B
Plaintext
14 lines
346 B
Plaintext
--- programs/Xserver/xkb/xkbInit.c.orig Mon Oct 5 05:02:55 1998
|
|
+++ programs/Xserver/xkb/xkbInit.c Tue May 23 16:52:19 2000
|
|
@@ -910,7 +910,8 @@
|
|
return 1;
|
|
}
|
|
else if (strncmp(argv[i], "-xkbmap", 7) == 0) {
|
|
- if(++i < argc) {
|
|
+ i++;
|
|
+ if ((i < argc) && (strlen(argv[i]) < PATH_MAX)) {
|
|
XkbInitialMap= argv[i];
|
|
return 2;
|
|
}
|
|
|