Re: The patch of glibc which allows the user to override the pfinet server

2008-08-17 Thread Samuel Thibault
zhengda, le Sun 17 Aug 2008 13:40:59 +0200, a écrit : > I wonder how I return ENOMEM? Does asprintf() write the errno itself? Yes. > Should the function returns immediately after __asprintf() returns error? It has to clean its mess first of course. Samuel

Re: The patch of glibc which allows the user to override the pfinet server

2008-08-17 Thread Samuel Thibault
zhengda, le Sun 17 Aug 2008 13:57:18 +0200, a écrit : > My first C language teacher told me to initialize all local variables, > especially the pointers, That's probably some rule of the thumb for beginners, but we're not supposed to be beginners (hey, that's the C library! ;) ) Samuel

Help me in testing please

2008-08-17 Thread Madhusudan C.S
Hi all, I request any of you to help me in testing the procfs translator and procps tools and htop. I have uploaded the binaries of procps and htop in my blog and have written a small how-to do things. If anyone can help me it will be of great use to me :-) http://madhusudancs.info/proc

Re: A bug of subhurd?

2008-08-17 Thread zhengda
[EMAIL PROTECTED] wrote: Hi, On Sat, Aug 16, 2008 at 11:10:50PM +0200, zhengda wrote: I run subhurd. When I try to exit it by running 'halt', I get the error message as follow: init: notifying ext2fs.static hd1s1 of shutdown...init: Killing pid 64 memory_object_data_request(0x0,

Re: The patch of glibc which allows the user to override the pfinet server

2008-08-17 Thread zhengda
[EMAIL PROTECTED] wrote: It really depends on the context. In some cases -- if the pointer is dereferenced -- NULL will create an obvious failure, while some random uninitialized pointer might be harder to track down. In other cases -- if it's used as argument to realloc(), free() etc.; or if i

Re: The patch of glibc which allows the user to override the pfinet server

2008-08-17 Thread zhengda
Samuel Thibault wrote: zhengda, le Fri 15 Aug 2008 20:05:53 +0200, a écrit : Samuel Thibault wrote: zhengda, le Fri 15 Aug 2008 19:05:49 +0200, a écrit : Samuel Thibault wrote: zhengda, le Fri 15 Aug 2008 18:27:00 +0200, a écrit : + if (__