[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/resgen resgen.c,1.4,1.5
From: |
Gopal.V <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/resgen resgen.c,1.4,1.5 |
Date: |
Sun, 01 Dec 2002 13:40:46 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet/resgen
In directory subversions:/tmp/cvs-serv16148/resgen
Modified Files:
resgen.c
Log Message:
ddawkin's patches
Index: resgen.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/resgen/resgen.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** resgen.c 15 Jan 2002 23:49:01 -0000 1.4
--- resgen.c 1 Dec 2002 18:40:44 -0000 1.5
***************
*** 324,331 ****
{
/* Write binary resources to a specified file */
! if((file = fopen(outputFile, "w")) == NULL)
{
! perror(outputFile);
! return 1;
}
ILResWriteBinary(file);
--- 324,335 ----
{
/* Write binary resources to a specified file */
! /* BUG 1841: Support Cygwin/text-mode file
systems */
! if((file = fopen(outputFile, "wb")) == NULL)
{
! if((file = fopen(outputFile, "w")) ==
NULL)
! {
! perror(outputFile);
! return 1;
! }
}
ILResWriteBinary(file);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/resgen resgen.c,1.4,1.5,
Gopal.V <address@hidden> <=