diff options
author | Bruce Momjian <bruce@momjian.us> | 1999-05-10 15:12:29 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1999-05-10 15:12:29 +0000 |
commit | d489fdfc7f4ccf0010fe0397e7272bdfc257e8f2 (patch) | |
tree | 085a81e0c91d2ec1b59a56b4876f3c4905388238 /contrib/spi/preprocessor/step1.c | |
parent | 9e4e33c996b6027391f2cf8b1e47d75c3e5a8c23 (diff) | |
download | postgresql-d489fdfc7f4ccf0010fe0397e7272bdfc257e8f2.tar.gz postgresql-d489fdfc7f4ccf0010fe0397e7272bdfc257e8f2.zip |
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
Diffstat (limited to 'contrib/spi/preprocessor/step1.c')
-rw-r--r-- | contrib/spi/preprocessor/step1.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/contrib/spi/preprocessor/step1.c b/contrib/spi/preprocessor/step1.c new file mode 100644 index 00000000000..9d59c47edd8 --- /dev/null +++ b/contrib/spi/preprocessor/step1.c @@ -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)); + } + +} |