Re: glibc and getgrouplist

2005-07-22 Thread Jakub Jelinek
On Fri, Jul 22, 2005 at 10:07:11AM +0200, Koblinger Egmont wrote: On Fri, Jul 22, 2005 at 09:30:11AM +0200, Roland Illig wrote: Hmmm, you're right. As we are sure to have a glibc, there's also a function strverscmp, which we can use. I had known this issue, but as glibc-2.2 only got

Re: getgrouplist(3) vs. getgroups(3)

2005-07-22 Thread Jakub Jelinek
On Fri, Jul 22, 2005 at 10:23:27AM +0200, Roland Illig wrote: +/* Return the index of the permissions triplet */ +int +get_user_permissions (struct stat *buf) { +static gboolean initialized = FALSE; +static gid_t groups[NGROUPS_MAX]; NGROUPS_MAX can be fairly large, plus it is max

Re: cons.saver not suid root

2005-06-08 Thread Jakub Jelinek
On Wed, Jun 08, 2005 at 04:35:16PM +0200, Oswald Buddenhagen wrote: moin, for some time now, cons.saver is not installed suid root any more, making the whole thing sort of pointless. the attached patch makes it useful for me. comments? cons.saver should not be setuid root, it should be

Re: Fixing a long standing bug in view.c

2003-02-26 Thread Jakub Jelinek
On Wed, Feb 26, 2003 at 01:08:34PM -0500, Pavel Roskin wrote: Hello, Philipp! view.c erroneously assumes it can easily malloc a file if mmap failed and passes view-s.st_size to g_malloc. But if largefile support has been enabled, view-s.st_size is a 64 bit value and thus possibly exceeds

Re: [Debian BTS] ru_RU.UTF-8 locale

2003-02-25 Thread Jakub Jelinek
On Tue, Feb 25, 2003 at 11:13:54AM -0500, Pavel Roskin wrote: On Mon, Feb 24, 2003 at 11:49:14AM +0100, Adam Byrtek / alpha wrote: Hi, I know there are several people here which use the Russian locale. Could you please try to reproduce this bug report or tell me whether I can close it?

Re: [Debian BTS] ru_RU.UTF-8 locale

2003-02-24 Thread Jakub Jelinek
On Mon, Feb 24, 2003 at 11:49:14AM +0100, Adam Byrtek / alpha wrote: Hi, I know there are several people here which use the Russian locale. Could you please try to reproduce this bug report or tell me whether I can close it? Maybe this guy just doesn't know how to configure UTF-8 terminal

Re: [Debian BTS] ru_RU.UTF-8 locale

2003-02-24 Thread Jakub Jelinek
On Mon, Feb 24, 2003 at 04:07:57PM +0200, Andrew V. Samoilov wrote: Jakub Jelinek wrote: On Mon, Feb 24, 2003 at 11:49:14AM +0100, Adam Byrtek / alpha wrote: Hi, I know there are several people here which use the Russian locale. Could you please try to reproduce this bug report or tell me

Re: [PING] was Re: [PATCH] Dynamically load XOpenDisplay, XQueryPointer and XCloseDisplay (2nd try)

2003-02-23 Thread Jakub Jelinek
On Sun, Feb 23, 2003 at 12:29:10AM -0500, Pavel Roskin wrote: Hello! I just looked at your patch, and it looks good, but it needs testing with both glib-1.2 and glib-2.0, which would take some time. JFYI, I've tested the patch with both versions. On Cygwin, OpenBSD and Solaris I