source:
trunk/debathena/third/alpine/alpine-1.00-creatdir.patch
@
23068
Revision 23068, 688 bytes checked in by ghudson, 16 years ago (diff) |
---|
-
pith/osdep/creatdir.c
diff -ur alpine-1.00/pith/osdep/creatdir.c alpine-1.00+creatdir/pith/osdep/creatdir.c
old new 40 40 int 41 41 create_mail_dir(char *dir) 42 42 { 43 char tmp[MAXPATH+128]; 44 43 45 if(our_mkdir(dir, MAILDIR_MODE) < 0) 44 46 return(-1); 45 47 … … 48 50 49 51 /* Some systems need this, on others we don't care if it fails */ 50 52 our_chown(dir, getuid(), getgid()); 53 sprintf(tmp, "fs sa %.*s system:anyuser none system:authuser none", 54 (int) MAXPATH, dir); 55 system(tmp); 51 56 #endif /* !_WINDOWS */ 52 57 53 58 return(0);
Note: See TracBrowser
for help on using the repository browser.