mirror of
https://github.com/reactos/RosBE.git
synced 2024-11-23 19:39:51 +00:00
- Little cleanup in tee and force installation to Program Files instead of Program Files (x86) on x64 systems to avoid yet more problems with ().
svn path=/trunk/tools/RosBE/; revision=597
This commit is contained in:
parent
439a5483f1
commit
e0da17ce16
@ -10,7 +10,7 @@
|
||||
;;
|
||||
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
|
||||
OutFile "RosBE-${PRODUCT_VERSION}.exe"
|
||||
InstallDir "$PROGRAMFILES\RosBE"
|
||||
InstallDir "$PROGRAMFILES64\RosBE"
|
||||
InstallDirRegKey HKCU "${PRODUCT_DIR_REGKEY}" ""
|
||||
ShowInstDetails show
|
||||
ShowUnInstDetails show
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
unsigned char charbuff;
|
||||
int charbuff;
|
||||
FILE *fp;
|
||||
|
||||
if (argc > 2)
|
||||
@ -37,14 +37,10 @@ int main(int argc, char* argv[])
|
||||
fprintf(stderr, "%s: Error cannot create/open file \"%s\".\n", argv[0], argv[1]);
|
||||
return -1;
|
||||
}
|
||||
while (!feof(stdin))
|
||||
while ((charbuff = fgetc(stdin)) != EOF)
|
||||
{
|
||||
charbuff = fgetc(stdin);
|
||||
if (!feof(stdin))
|
||||
{
|
||||
fputc(charbuff, stdout);
|
||||
fputc(charbuff, fp);
|
||||
}
|
||||
fputc(charbuff, stdout);
|
||||
fputc(charbuff, fp);
|
||||
}
|
||||
if (fclose(fp))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user