Ignore:
Timestamp:
Sep 16, 2006, 5:36:20 AM (18 years ago)
Author:
andree
Message:

newt-specific.c:
Fixed compile error by removing superfluous quotes in
kill_anything_like_this().

libmondo-fork.c:
Fixed compiler warning on 64bit platforms regarding the output of the
result of ftello() by casting it to long long (and it's actually
signed).

libmondo-fifo.c:
Added %s for ps_options in kill_buffer(). Also fixes compiler warning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/mondo/common/newt-specific.c

    r792 r797  
    348348char *tmp = NULL;
    349349
    350 asprintf(&tmp,"kill `ps %s | grep \"" %s "\" | awk '{print $1;}' | grep -vx \"\\?\"`", ps_options, str);
     350asprintf(&tmp,"kill `ps %s | grep \" %s \" | awk '{print $1;}' | grep -vx \"\\?\"`", ps_options, str);
    351351run_program_and_log_output(tmp, TRUE);
    352352paranoid_free(tmp);
Note: See TracChangeset for help on using the changeset viewer.