Re: [PATCH setxkbmap] Eliminate limitations on path length.

2011-02-24 Thread Peter Hutterer
, Van de Bugger wrote: From 0aaae5b3c0d6183e2791c30155bae40132a0c779 Mon Sep 17 00:00:00 2001 From: Van de Bugger van.de.bug...@gmail.com Date: Tue, 15 Feb 2011 23:55:28 +0300 Subject: [PATCH setxkbmap] Eliminate limitations on path length. ...by using dynamically allocated

Re: [PATCH setxkbmap] Eliminate limitations on path length.

2011-02-17 Thread olafBuddenhagen
Hi, On Wed, Feb 16, 2011 at 09:07:46AM +0100, Mark Kettenis wrote: From: Van de Bugger van.de.bug...@gmail.com Date: Wed, 16 Feb 2011 00:15:52 +0300 ...by using dynamically allocated buffers. No need in PATH_MAX, MAXPATHLEN. No more Path too long errors. Not really. Instead fopen(3)

Re: [PATCH setxkbmap] Eliminate limitations on path length.

2011-02-17 Thread Alan Coopersmith
On 02/17/11 07:25 AM, olafbuddenha...@gmx.net wrote: In short, using dynamic allocation and checking for error returns is actually the *pragmatic* approach. I'd think the pragmatic approach would be to tell anyone putting a XKB config file in a path longer than 1024 characters to stop being an

Re: [PATCH setxkbmap] Eliminate limitations on path length.

2011-02-17 Thread Daniel Stone
On Thu, Feb 17, 2011 at 10:01:37AM -0800, Alan Coopersmith wrote: On 02/17/11 07:25 AM, olafbuddenha...@gmx.net wrote: In short, using dynamic allocation and checking for error returns is actually the *pragmatic* approach. I'd think the pragmatic approach would be to tell anyone putting a

Re: [PATCH setxkbmap] Eliminate limitations on path length.

2011-02-17 Thread Van de Bugger
0aaae5b3c0d6183e2791c30155bae40132a0c779 Mon Sep 17 00:00:00 2001 From: Van de Bugger van.de.bug...@gmail.com Date: Tue, 15 Feb 2011 23:55:28 +0300 Subject: [PATCH setxkbmap] Eliminate limitations on path length. ...by using dynamically allocated buffers. No need in PATH_MAX, MAXPATHLEN

Re: [PATCH setxkbmap] Eliminate limitations on path length.

2011-02-17 Thread Van de Bugger
Hi, guys, if you are happy with /usr/share/xkb it does not mean that everybody should be happy too. I started looking into keyboard stuff because I am not satisfied with system-provided configuration. I want to customize keyboard a bit and keep my customizations in my private directory, not in

Re: [PATCH setxkbmap] Eliminate limitations on path length.

2011-02-17 Thread Daniel Stone
On Thu, Feb 17, 2011 at 11:28:19PM +0300, Van de Bugger wrote: Thus, I want my keyboard stuff to be located in a place of my choice. Probably, I like very-very-very-long directory and file names, and my names are not in Latin alphabet, so 1024 bytes may actually mean just 512 characters or

Re: [PATCH setxkbmap] Eliminate limitations on path length.

2011-02-17 Thread Alan Coopersmith
On 02/17/11 04:36 PM, Daniel Stone wrote: On Thu, Feb 17, 2011 at 11:28:19PM +0300, Van de Bugger wrote: Thus, I want my keyboard stuff to be located in a place of my choice. Probably, I like very-very-very-long directory and file names, and my names are not in Latin alphabet, so 1024 bytes

Re: [PATCH setxkbmap] Eliminate limitations on path length.

2011-02-16 Thread Mark Kettenis
From: Van de Bugger van.de.bug...@gmail.com Date: Wed, 16 Feb 2011 00:15:52 +0300 From 0aaae5b3c0d6183e2791c30155bae40132a0c779 Mon Sep 17 00:00:00 2001 From: Van de Bugger van.de.bug...@gmail.com Date: Tue, 15 Feb 2011 23:55:28 +0300 Subject: [PATCH setxkbmap] Eliminate limitations

[PATCH setxkbmap] Eliminate limitations on path length.

2011-02-15 Thread Van de Bugger
From 0aaae5b3c0d6183e2791c30155bae40132a0c779 Mon Sep 17 00:00:00 2001 From: Van de Bugger van.de.bug...@gmail.com Date: Tue, 15 Feb 2011 23:55:28 +0300 Subject: [PATCH setxkbmap] Eliminate limitations on path length. ...by using dynamically allocated buffers. No need in PATH_MAX, MAXPATHLEN

Re: [PATCH setxkbmap] Eliminate limitations on path length.

2011-02-15 Thread Alan Coopersmith
...@gmail.com Date: Tue, 15 Feb 2011 23:55:28 +0300 Subject: [PATCH setxkbmap] Eliminate limitations on path length. ...by using dynamically allocated buffers. No need in PATH_MAX, MAXPATHLEN. No more Path too long errors. --- setxkbmap.c | 72

Re: [PATCH setxkbmap] Eliminate limitations on path length.

2011-02-15 Thread Peter Hutterer
On Wed, Feb 16, 2011 at 12:15:52AM +0300, Van de Bugger wrote: From 0aaae5b3c0d6183e2791c30155bae40132a0c779 Mon Sep 17 00:00:00 2001 From: Van de Bugger van.de.bug...@gmail.com Date: Tue, 15 Feb 2011 23:55:28 +0300 Subject: [PATCH setxkbmap] Eliminate limitations on path length

Re: [PATCH setxkbmap] Eliminate limitations on path length.

2011-02-15 Thread Alexandr Shadchin
: Tue, 15 Feb 2011 23:55:28 +0300 Subject: [PATCH setxkbmap] Eliminate limitations on path length. ...by using dynamically allocated buffers. No need in PATH_MAX, MAXPATHLEN. No more Path too long errors. --- setxkbmap.c | 72 -- 1

Re: [PATCH setxkbmap] Eliminate limitations on path length.

2011-02-15 Thread Van de Bugger
. Ok, here is the attempt #2: From 528c30b04c815bc2b091072fd2b2c32354b6083f Mon Sep 17 00:00:00 2001 From: Van de Bugger van.de.bug...@gmail.com Date: Tue, 15 Feb 2011 23:55:28 +0300 Subject: [PATCH setxkbmap] Eliminate limitations on path length. ...by using dynamically allocated buffers. No need

Re: [PATCH setxkbmap] Eliminate limitations on path length.

2011-02-15 Thread Van de Bugger
: Tue, 15 Feb 2011 23:55:28 +0300 Subject: [PATCH setxkbmap] Eliminate limitations on path length. ...by using dynamically allocated buffers. No need in PATH_MAX, MAXPATHLEN. No more Path too long errors. --- setxkbmap.c | 72

Re: [PATCH setxkbmap] Eliminate limitations on path length.

2011-02-15 Thread Alexandr Shadchin
, Van de Bugger wrote: From 0aaae5b3c0d6183e2791c30155bae40132a0c779 Mon Sep 17 00:00:00 2001 From: Van de Bugger van.de.bug...@gmail.com Date: Tue, 15 Feb 2011 23:55:28 +0300 Subject: [PATCH setxkbmap] Eliminate limitations on path length. ...by using dynamically allocated buffers