Re: Making a DVD Install CD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> I certainly doubt it, as the original iso was 1.5GB.  When I added 7.2, 
> it grew over 2 GB.

If it has source on it too...

The RHL 7.3 CDs amount to 3 Gbytes.


forrestx.taylor@xxxxxxxxx said:
> There were no instances of size_t in the file.  I did, however, find
> this:

>      isofd = open(fname, O_RDWR);

>      if (isofd < 0) {
>          fprintf(stderr, "Error - Unable to open file %s\n\n", fname);
>          exit(1);
>      }

> I am not yet proficient at C, so I'm not sure what this means.  It
> looks  like isofd is less than 0, whatever that means. 

Shoddy code. I'm not proficient in C either, but it needs a call to perror() to 
tell you what the error is.


Something akin to this I should think:
fprintf(stderr, "Error - Unable to open file %s: %s\n\n", 
	fname,
	strerror(errno));

You will need this among the includes:
#include <errno.h>


-- 
Cheers
John Summerfield

Microsoft's most solid OS: http://www.geocities.com/rcwoolley/

Note: mail delivered to me is deemed to be intended for me, for my disposition.

==============================
If you don't like being told you're wrong,
	be right!







[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux