Gas vs irregular files
Andreas Schwab
schwab@suse.de
Wed Dec 17 14:45:00 GMT 2003
More information about the Binutils mailing list
Wed Dec 17 14:45:00 GMT 2003
- Previous message (by thread): Gas vs irregular files
- Next message (by thread): Gas vs irregular files
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ian Lance Taylor <ian@wasabisystems.com> writes: > do this: > > f_in = fopen (filename, FOPEN_RT); > > ... > > if (f_in == NULL) > { > if (errno == ENOENT) > as_bad (_("%s: No such file"), filename); > else > { > as_bad (_("can't open %s for reading"), file_name); > as_perror ("%s", file_name); > } > return; > } Why making ENOENT a special case anyway? What's wrong with as_perror? Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
- Previous message (by thread): Gas vs irregular files
- Next message (by thread): Gas vs irregular files
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list