mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
I send you a attach of my modified refint.c that
works with a new policy in cascade mode . Please Read README.MAX . I do not know if you are the author of refint.c , but if not please tell me who is . Thank you ( excuse me for my bad english) . Massimo Lambertini massimo.lambertini@everex.it
This commit is contained in:
24
contrib/spi/preprocessor/step1.c
Normal file
24
contrib/spi/preprocessor/step1.c
Normal file
@ -0,0 +1,24 @@
|
||||
#include <stdio.h>
|
||||
|
||||
char *strtoupper(char *string)
|
||||
{
|
||||
int i ;
|
||||
for (i=0;i<strlen(string);i++)
|
||||
{
|
||||
string[i]=toupper(string[i]);
|
||||
}
|
||||
return string;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void main ( char argc , char **argv )
|
||||
{
|
||||
char str[250];
|
||||
int sw = 0 ;
|
||||
while ( fgets (str,240,stdin) )
|
||||
{
|
||||
if ( sw == 0 ) printf("%s",strtoupper(str));
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user