glib or not glib? (was: Re: [Midnight Commander] #150: [PATCH] More FHS-compliant install directories)

2009-01-07 Thread Andrew Borodin
On Wed, 7 Jan 2009 09:35:25 +0100 Enrico Weigelt wrote:
 * MC Ticket System tick...@midnight-commander.org schrieb:
 
   Why the _strcatdup() function is used instead of g_strconcat() one?
 
 First tiny step to get rid if glib.

It's very strange. Do you think than mc must be free of glib?

glib or not glib?

-- 
Regards.
Andrew.
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: glib or not glib?

2009-01-07 Thread Roland Illig
Andrew Borodin schrieb:
 On Wed, 7 Jan 2009 09:35:25 +0100 Enrico Weigelt wrote:
 * MC Ticket System tick...@midnight-commander.org schrieb:

  Why the _strcatdup() function is used instead of g_strconcat() one?
 First tiny step to get rid if glib.
 
 It's very strange. Do you think than mc must be free of glib?
 
 glib or not glib?

I want to keep it. If we got rid of it, we would have to do everything
glib does by hand. It comes very handy when dealing with data structures
like lists, strings and so on.

Roland
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: glib or not glib? (was: Re: [Midnight Commander] #150: [PATCH] More FHS-compliant install directories)

2009-01-07 Thread Enrico Weigelt
* Andrew Borodin aboro...@vmail.ru schrieb:

Hi,

  First tiny step to get rid if glib.
 
 It's very strange. Do you think than mc must be free of glib?

Yes, because glib is a fat blob we don't really need (the few
things we currently use can be easily done w/ a bunch of 
macros or inline's).

Isn't it rather absurd to maintain an stripped-down branch of
slang for embedded systems, but at the same time import glib ? ;-O


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: glib or not glib?

2009-01-07 Thread Slava Zanko
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Roland Illig wrote:
 glib or not glib?
 I want to keep it.
+1

In source code some functions (part of functions) is a duplicate of
glib-functional... I think, we need to review source code for more using
of glib functions...

BTW, is we need to keep compatibility with glib-1.2?


WBR, Slavaz.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAklknGYACgkQb3oGR6aVLpqeQQCeL+PGxPCKK3ZcoQbfxOBP1yMr
YSEAnjNNRYbBeeIzceKblMhbmCi6V40t
=2Q//
-END PGP SIGNATURE-
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


problems with http://www.midnight-commander.org

2009-01-07 Thread Sergei Trofimovich
Any URL on site gives following error:


Trac detected an internal error:

OSError: [Errno 24] Zu viele offene Dateien
^^

(Too many open files?)

Is that OK?

-- 

  Sergei


signature.asc
Description: PGP signature
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: glib or not glib?

2009-01-07 Thread Andrew Borodin
On Wed, 7 Jan 2009 13:11:56 +0100 Enrico Weigelt wrote:
 * Andrew Borodin  schrieb:
   First tiny step to get rid if glib.
  
  It's very strange. Do you think than mc must be free of glib?
 
 Yes, because glib is a fat blob we don't really need (the few
 things we currently use can be easily done w/ a bunch of 
 macros or inline's).

Other developers are disagree with you. glib provides many useful
functions and data structures and allows us do not reinvent the wheel.
And glib is portable library.

 Isn't it rather absurd to maintain an stripped-down branch of
 slang for embedded systems, but at the same time import glib ? ;-O

mc for embedded systems can be linked statically.

-- 
Regards,
Andrew.
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: problems with http://www.midnight-commander.org

2009-01-07 Thread Patrick Winnertz
Am Mittwoch 07 Januar 2009 15:16:16 schrieb Sergei Trofimovich:
 Any URL on site gives following error:

 
 Trac detected an internal error:

 OSError: [Errno 24] Zu viele offene Dateien
 ^^

 (Too many open files?)

 Is that OK?
Nope.. this is yet again a bug in trac.. 
There are several 0.11.1 instances in the net which shows this error. For the 
moment I increased the filehandles for the www-data user to 4096.. If this 
doesn't fix it the issue I'll report a bug on edgewall.org. (There is a bug 
already about this issue but this issue has solved somehow for the reporter 
after some time.)

Greetings
Winnie

-- 
 . '' ` .   Patrick Winnertz win...@debian.org
:  :'   :   proud Debian developer, author, administrator, and user
`. `'` http://people.debian.org/~winnie - http://www.der-winnie.de
  `-  Debian - when you have better things to do than fixing systems


signature.asc
Description: This is a digitally signed message part.
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel