It was brought to my attention that starting halrun with the -f option
but no file name is broken in master.
This will break pncconf and stepconf live testing and any other
program that does something like this: (in python)
 self.halrun = os.popen("halrun -sf > /dev/null", "w") 

the reason seems to be the upgrade Dewey added to halrun.in
 a snipit:

INTERACTIVE=""
inifile=""
theargs=""
while getopts "f:hi:kqsvIRQTUV" opt ; do
  case $opt in
    h) help; exit 0;;

    U) halcmd -R
       halcmd stop
       halcmd unload all
       $REALTIME stop
       exit 0;;

    f) filename=$OPTARG;;
    i) inifile=$OPTARG;;

by using getopts with f:  halrun now requires the -f option to always have
a file name.

Is there a way to fix this?
Or do we need to fix the other programs (and what is the fix)

Chris M
                                          
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to