Hi,

  The attached patch has some changes to savemixer:
      1. Don't leak mixer fd.
      2. Use getopt. Output usage when wrong switches are used.
      3. Use default '/usr/lib/oss/etc' if reading /etc/oss.conf doesn't work.
      4. Add '-f' option to specify different settings file instead 
of '$OSSLIBDIR/etc/mixer.save' or '/etc/oss/mixer.save'.
      5. Check existence of mixers in system before trying to load_config 
when '-L' is used.
      6. Update manpage (didn't mention /etc/oss/mixer.save though).
      7. Various other changes (fgets doesn't need sizeof - 1, but can do with 
sizeof, sprint -> snprintf, change message to point to ossdevlinks rather 
than ossctl, etc.).

Yours,
        Yair K.

Attachment: oss-savemixer.diff.gz
Description: GNU Zip compressed data

_______________________________________________
oss-devel mailing list
oss-devel@mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel

Reply via email to