Can we please increase the size of MAXCMDLINE? I'm seeing truncated cmd
lines being logged now, due to the number of options I'm using.


Code:
--------------------
    
  --- squeezelite-1.8.0-159325a/main.c~ 2015-01-22 12:22:07.000000000 +0000
  +++ squeezelite-1.8.0-159325a/main.c  2015-01-23 11:25:31.203190917 +0000
  @@ -237,7 +237,7 @@
        int optind = 1;
        int i;
  
  -#define MAXCMDLINE 256
  +#define MAXCMDLINE 512
        char cmdline[MAXCMDLINE] = "";
  
        get_mac(mac);
  
  
--------------------


------------------------------------------------------------------------
JackOfAll's Profile: http://forums.slimdevices.com/member.php?userid=3069
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to