You've already forked fuse-utils
mirror of
https://git.code.sf.net/p/fuse-emulator/fuse-utils
synced 2025-08-07 13:42:58 +03:00
On Solaris, uname() returns 1 to indicate success.
Legacy-ID: 1700
This commit is contained in:
@@ -48,3 +48,4 @@
|
|||||||
20031006 rzxcheck.c: return 1 if no signature or unknown key.
|
20031006 rzxcheck.c: return 1 if no signature or unknown key.
|
||||||
20031007 tapeconv.c: remove double-free bug if tape reading fails.
|
20031007 tapeconv.c: remove double-free bug if tape reading fails.
|
||||||
20031009 utils.c: add information from uname() into creator custom data.
|
20031009 utils.c: add information from uname() into creator custom data.
|
||||||
|
20031010 utils.c: on Solaris, uname() returns 1 to indicate success.
|
||||||
|
2
utils.c
2
utils.c
@@ -48,7 +48,7 @@ get_creator( libspectrum_creator **creator, const char *program )
|
|||||||
libspectrum_error error; int sys_error;
|
libspectrum_error error; int sys_error;
|
||||||
|
|
||||||
sys_error = uname( &buf );
|
sys_error = uname( &buf );
|
||||||
if( sys_error ) {
|
if( sys_error == -1 ) {
|
||||||
fprintf( stderr, "%s: error getting system information: %s\n", progname,
|
fprintf( stderr, "%s: error getting system information: %s\n", progname,
|
||||||
strerror( errno ) );
|
strerror( errno ) );
|
||||||
return 1;
|
return 1;
|
||||||
|
Reference in New Issue
Block a user