merge
This commit is contained in:
commit
98640950d7
2 changed files with 5 additions and 3 deletions
|
@ -41,7 +41,10 @@ setcursor(Cursor*)
|
|||
void
|
||||
flushmemscreen(Rectangle r)
|
||||
{
|
||||
combinerect(&fbscreen.rect, r);
|
||||
if(badrect(fbscreen.rect))
|
||||
fbscreen.rect = r;
|
||||
else
|
||||
combinerect(&fbscreen.rect, r);
|
||||
wakeup(&fbscreen);
|
||||
}
|
||||
|
||||
|
@ -117,7 +120,6 @@ flushproc(void *arg)
|
|||
|
||||
fbscreen.proc = up;
|
||||
if(waserror()){
|
||||
print("flushproc: %s\n", up->errstr);
|
||||
fbscreen.addr = 0;
|
||||
fbscreen.proc = nil;
|
||||
return;
|
||||
|
|
|
@ -659,7 +659,7 @@ smbrename(Req *r, uchar *h, uchar *p, uchar *e)
|
|||
r->respond(r, smbmkerror());
|
||||
goto out;
|
||||
}
|
||||
if(!matchattr(d, sattr) || (dosfileattr(d) & ATTR_READONLY)){
|
||||
if(!matchattr(d, sattr)){
|
||||
r->respond(r, STATUS_NO_SUCH_FILE);
|
||||
goto out;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue