Searched refs:newatts (Results 1 - 2 of 2) sorted by relevance

/macosx-10.10/ksh-23/ksh/src/cmd/ksh93/sh/
H A Dname.c2982 * Give <np> the attributes <newatts,> and change its current
2983 * value to conform to <newatts>. The <size> of left and right
2986 void nv_newattr (register Namval_t *np, unsigned newatts, int size) argument
2995 Namfun_t *fp= (newatts&NV_NODISC)?np->nvfun:0;
2997 newatts &= ~NV_NODISC;
3005 if(newatts&NV_EXPORT)
3007 if(((n^newatts)&NV_EXPORT))
3020 if((n^newatts)==NV_EXPORT)
3024 if((size==oldsize|| (n&NV_INTEGER)) && !trans && ((n^newatts)&~NV_NOCHANGE)==0)
3029 nv_onattr(np, newatts);
[all...]
/macosx-10.10/ruby-106/ruby/win32/
H A Dwin32.c4337 int newatts; local
4340 newatts = GetFileAttributesW(newpath);
4348 if (newatts != -1 && newatts & FILE_ATTRIBUTE_READONLY)
4349 SetFileAttributesW(newpath, newatts & ~ FILE_ATTRIBUTE_READONLY);

Completed in 186 milliseconds