formatting
This commit is contained in:
@ -173,8 +173,10 @@ static bool check_for_assignment(void) {
|
||||
if(((asgn_char[0] == '<') || (asgn_char[0] == '>')) &&
|
||||
(asgn_char[1] == asgn_char[0]) &&
|
||||
((asgn_char[2] == '=') ||
|
||||
((asgn_char[2] & 0x80) && (dichar1[(asgn_char[2] & 0177) / 8] == '='))))
|
||||
((asgn_char[2] & 0x80) && (dichar1[(asgn_char[2] & 0177) / 8] == '=')))) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -41,7 +41,6 @@
|
||||
#define RDR 0
|
||||
#define WTR 1
|
||||
|
||||
/* HBB 20010312: make this a bit safer --- don't blindly assume it's 1 */
|
||||
#ifdef FD_CLOEXEC
|
||||
# define CLOSE_ON_EXEC FD_CLOEXEC
|
||||
#else
|
||||
|
@ -42,8 +42,8 @@ FILE *vpfopen(char *filename, char *type) {
|
||||
FILE *returncode;
|
||||
int i;
|
||||
|
||||
if((returncode = myfopen(filename, type)) == NULL &&
|
||||
filename[0] != '/'
|
||||
if((returncode = myfopen(filename, type)) == NULL
|
||||
&& filename[0] != '/'
|
||||
/* && strcmp(type, "r") == 0 */ /* HBB: this breaks if type=="rb" */
|
||||
&& type[0] == 'r') {
|
||||
vpinit(NULL);
|
||||
@ -52,5 +52,5 @@ FILE *vpfopen(char *filename, char *type) {
|
||||
if((returncode = myfopen(buf, type)) != NULL) { break; }
|
||||
}
|
||||
}
|
||||
return (returncode);
|
||||
return returncode;
|
||||
}
|
||||
|
Reference in New Issue
Block a user