2a24 patch number 2 revised

---------

From: Daniel Stenberg (Daniel.Stenberg@frontec.se)
Date: Tue Aug 10 1999 - 06:19:07 CDT


Well

Ok. I'm very sorry for flooding you all, but I am such a silly person so I've
posted my previous patch a little too fast. You'll be much happier with this
patch instead of the previous one. Forget the previous one!

--- parse.c 1999/08/10 06:25:19 1.24
+++ parse.c 1999/08/10 11:06:17
@@ -1871,6 +1871,11 @@
                           dir, PATH_SEPARATOR, newdir);
 
                   mkdir(checkpath, set_dirmode);
+ if (chmod(checkpath, set_dirmode) == -1) {
+ sprintf(errmsg,"%s \"%s\" to %o.",
+ lang[MSG_CANNOT_CHMOD], checkpath, set_dirmode);
+ progerr(errmsg);
+ }
 
                   fprintf(stderr, "\nCreated dir %s\n", checkpath);

 

-- 
             Daniel Stenberg - http://www.fts.frontec.se/~dast
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol

---------

This archive was generated by hypermail 2.1.5.