[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New version of function mkdirhier()



On Fri, Jan 13, 2012 at 03:33:57PM +0100, Svante Signell wrote:
> Like this?
> int fcn(char *path)
> {
>   char *src, *src_ptr;
>   src = strdup(path);
>   src_ptr = src;
>   <modify pointer src>
>   free(src_ptr);
>   ...
> }

That's a good example. I'd suggest declaring path as const too.

> > I value quality more than quantity. But I disagree about the "worth" of
> > such types of work. Porting is as valuable (I'd tend to say even more
> > considering the current state of the project) as system functionality.
> 
> Why, there is still much basic functionality missing for the Hurd.

For wheezy.

> Of course, but porting varying quality code is different from writing
> new "perfect" code.

The idea here is to write "perfect" _patches_.

> Thank you for your time.

You're welcome. Keep up the good work.

-- 
Richard Braun


Reply to: