/[antiright]/antiright/src/arshell/arguments.c
ViewVC logotype

Diff of /antiright/src/arshell/arguments.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by jefbed, Wed Dec 22 02:46:55 2004 UTC revision 1.16 by jefbed, Fri Jan 21 22:36:35 2005 UTC
# Line 81  void Line 81  void
81  arshell_handle_long_options(int *counter_int, char **argv)  arshell_handle_long_options(int *counter_int, char **argv)
82  {  {
83    int length=strlen(argv[(*counter_int)]), counter;    int length=strlen(argv[(*counter_int)]), counter;
84    char *option=(char*)malloc(length-1);    char *option=(char*)xmalloc(length-1);
85    for(counter=2; counter <= length; counter++)    for(counter=2; counter <= length; counter++)
86      {      {
87        option[counter-2]=argv[(*counter_int)][counter];        option[counter-2]=argv[(*counter_int)][counter];

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26