FreeBSD Bugzilla – Attachment 17755 Details for
Bug 32139
[maintainer patch] update of audio/ecasound
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.76 KB, created by
AnarCat
on 2001-11-20 17:20:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
AnarCat
Created:
2001-11-20 17:20:00 UTC
Size:
1.76 KB
patch
obsolete
>--- kvutils/temporary_file_directory.cpp.orig Thu Mar 22 13:08:50 2001 >+++ kvutils/temporary_file_directory.cpp Tue Nov 20 03:42:09 2001 >@@ -64,7 +64,7 @@ > } > } > else { >-// cerr << "(kvutils) " << "mkdir(" << tdir_rep << ") failed" << endl; >+ cerr << "(kvutils) " << "mkdir(" << tdir_rep << ") failed" << endl; > valid_rep = false; > } > } >@@ -97,32 +97,32 @@ > > if (statbuf.st_uid != geteuid()) { > valid_rep = false; >-// cerr << "(kvutils) " << "st_uid doesn't match." << endl; >+ cerr << "(kvutils) " << "st_uid doesn't match." << endl; > } > >- if (statbuf.st_gid != getegid()) { >- valid_rep = false; >-// cerr << "(kvutils) " << "st_gid doesn't match." << endl; >- } >+ //if (statbuf.st_gid != getegid()) { >+ //valid_rep = false; >+ //cerr << "(kvutils) " << "st_gid doesn't match." << endl; >+ //} > > if (!S_ISDIR(statbuf.st_mode)) { > valid_rep = false; >-// cerr << "(kvutils) " << "st_mode - not a directory." << endl; >+ cerr << "(kvutils) " << "st_mode - not a directory." << endl; > } > > if (S_ISLNK(statbuf.st_mode)) { > valid_rep = false; >-// cerr << "(kvutils) " << "st_mode - a symbolic link." << endl; >+ cerr << "(kvutils) " << "st_mode - a symbolic link." << endl; > } > > if ((statbuf.st_mode & S_IRWXG) > 0) { > valid_rep = false; >-// cerr << "(kvutils) " << "st_mode - group has access." << endl; >+ cerr << "(kvutils) " << "st_mode - group has access." << endl; > } > > if ((statbuf.st_mode & S_IRWXO) > 0) { > valid_rep = false; >-// cerr << "(kvutils) " << "st_mode - others have access." << endl; >+ cerr << "(kvutils) " << "st_mode - others have access." << endl; > } > } > >That second one is a bit long but will help in case of future problems >with temporary dir handling.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 32139
:
17753
|
17754
| 17755