mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
add vim modelines
This commit is contained in:
parent
a233af16b9
commit
a6190359ad
11 changed files with 96 additions and 0 deletions
|
@ -196,3 +196,12 @@ rangematch(const char *pattern, char test, int flags)
|
||||||
}
|
}
|
||||||
return (ok == negate ? NULL : pattern);
|
return (ok == negate ? NULL : pattern);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Local variables:
|
||||||
|
* tab-width: 4
|
||||||
|
* c-basic-offset: 4
|
||||||
|
* End:
|
||||||
|
* vim600: sw=4 ts=4 fdm=marker
|
||||||
|
* vim<600: sw=4 ts=4
|
||||||
|
*/
|
||||||
|
|
|
@ -929,3 +929,12 @@ qprintf(str, s)
|
||||||
(void)printf("\n");
|
(void)printf("\n");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Local variables:
|
||||||
|
* tab-width: 4
|
||||||
|
* c-basic-offset: 4
|
||||||
|
* End:
|
||||||
|
* vim600: sw=4 ts=4 fdm=marker
|
||||||
|
* vim<600: sw=4 ts=4
|
||||||
|
*/
|
||||||
|
|
|
@ -78,3 +78,11 @@ PHP_RSHUTDOWN_FUNCTION(win32_core_globals)
|
||||||
return SUCCESS;
|
return SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Local variables:
|
||||||
|
* tab-width: 4
|
||||||
|
* c-basic-offset: 4
|
||||||
|
* End:
|
||||||
|
* vim600: sw=4 ts=4 fdm=marker
|
||||||
|
* vim<600: sw=4 ts=4
|
||||||
|
*/
|
||||||
|
|
|
@ -9,3 +9,12 @@ int inet_aton(const char *cp, struct in_addr *inp) {
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Local variables:
|
||||||
|
* tab-width: 4
|
||||||
|
* c-basic-offset: 4
|
||||||
|
* End:
|
||||||
|
* vim600: sw=4 ts=4 fdm=marker
|
||||||
|
* vim<600: sw=4 ts=4
|
||||||
|
*/
|
||||||
|
|
|
@ -166,3 +166,12 @@ int rewinddir(DIR *dp)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Local variables:
|
||||||
|
* tab-width: 4
|
||||||
|
* c-basic-offset: 4
|
||||||
|
* End:
|
||||||
|
* vim600: sw=4 ts=4 fdm=marker
|
||||||
|
* vim<600: sw=4 ts=4
|
||||||
|
*/
|
||||||
|
|
|
@ -281,3 +281,12 @@ char *GetIniPathFromRegistry()
|
||||||
}
|
}
|
||||||
return reg_location;
|
return reg_location;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Local variables:
|
||||||
|
* tab-width: 4
|
||||||
|
* c-basic-offset: 4
|
||||||
|
* End:
|
||||||
|
* vim600: sw=4 ts=4 fdm=marker
|
||||||
|
* vim<600: sw=4 ts=4
|
||||||
|
*/
|
||||||
|
|
|
@ -977,3 +977,12 @@ static int FormatEmailAddress(char* Buf, char* EmailAddress, char* FormatString)
|
||||||
}
|
}
|
||||||
return snprintf(Buf, MAIL_BUFFER_SIZE , FormatString , EmailAddress );
|
return snprintf(Buf, MAIL_BUFFER_SIZE , FormatString , EmailAddress );
|
||||||
} /* end FormatEmailAddress() */
|
} /* end FormatEmailAddress() */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Local variables:
|
||||||
|
* tab-width: 4
|
||||||
|
* c-basic-offset: 4
|
||||||
|
* End:
|
||||||
|
* vim600: sw=4 ts=4 fdm=marker
|
||||||
|
* vim<600: sw=4 ts=4
|
||||||
|
*/
|
||||||
|
|
|
@ -90,3 +90,12 @@ error:
|
||||||
WSASetLastError(WSAECONNABORTED);
|
WSASetLastError(WSAECONNABORTED);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Local variables:
|
||||||
|
* tab-width: 4
|
||||||
|
* c-basic-offset: 4
|
||||||
|
* End:
|
||||||
|
* vim600: sw=4 ts=4 fdm=marker
|
||||||
|
* vim<600: sw=4 ts=4
|
||||||
|
*/
|
||||||
|
|
|
@ -200,3 +200,11 @@ PHPAPI int setitimer(int which, const struct itimerval *value, struct itimerval
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Local variables:
|
||||||
|
* tab-width: 4
|
||||||
|
* c-basic-offset: 4
|
||||||
|
* End:
|
||||||
|
* vim600: sw=4 ts=4 fdm=marker
|
||||||
|
* vim<600: sw=4 ts=4
|
||||||
|
*/
|
||||||
|
|
|
@ -123,3 +123,11 @@ PHPAPI int php_win32_get_random_bytes(unsigned char *buf, size_t size) { /* {{{
|
||||||
}
|
}
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Local variables:
|
||||||
|
* tab-width: 4
|
||||||
|
* c-basic-offset: 4
|
||||||
|
* End:
|
||||||
|
* vim600: sw=4 ts=4 fdm=marker
|
||||||
|
* vim<600: sw=4 ts=4
|
||||||
|
*/
|
||||||
|
|
|
@ -127,3 +127,12 @@ void openlog(const char *ident, int logopt, int facility)
|
||||||
PW32G(log_source) = RegisterEventSource(NULL, "PHP-" PHP_VERSION);
|
PW32G(log_source) = RegisterEventSource(NULL, "PHP-" PHP_VERSION);
|
||||||
spprintf(&PW32G(log_header), 0, (logopt & LOG_PID) ? "%s[%d]" : "%s", ident, getpid());
|
spprintf(&PW32G(log_header), 0, (logopt & LOG_PID) ? "%s[%d]" : "%s", ident, getpid());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Local variables:
|
||||||
|
* tab-width: 4
|
||||||
|
* c-basic-offset: 4
|
||||||
|
* End:
|
||||||
|
* vim600: sw=4 ts=4 fdm=marker
|
||||||
|
* vim<600: sw=4 ts=4
|
||||||
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue