WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: appbrowser-cli patch  (Read 3180 times)

Offline batnas

  • Full Member
  • ***
  • Posts: 122
appbrowser-cli patch
« on: March 26, 2010, 12:46:46 PM »
Hi

I found a bug in appbrowser-cli; it cant search.

The problem is on line 498:
Code: [Select]
snprintf(tmppath,PATH_MAX,"/usr/bin/search.sh tcz %s 2>/dev/null",searchmsg);
I have fixed  it by changing the line to:
Code: [Select]
snprintf(tmppath,PATH_MAX,"/usr/bin/search.sh %s >>/dev/null",searchmsg); 8)

It works. I have compiled it using the build-app-cli.sh script after installed compiletc.tcz

It would be cool if it could be submitted, as i use appbrowser-cli a lot on MC, and missing a search function is very annoying ;)

\\Batnas
« Last Edit: April 02, 2010, 10:58:59 AM by batnas »

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: appbrowser-cli patch
« Reply #1 on: March 26, 2010, 01:18:41 PM »
there is a cli version of appbrowser in tc base, it's called ab
dCore user

Offline batnas

  • Full Member
  • ***
  • Posts: 122
Re: appbrowser-cli patch
« Reply #2 on: March 26, 2010, 01:24:07 PM »
yes, but i like the layout of appbrowser-cli. Can you read Files and Dep's in ab??

And i'm running MC


\\Batnas

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11047
Re: appbrowser-cli patch
« Reply #3 on: March 26, 2010, 02:54:26 PM »
Hi, confirmed and fixed, thanks for reporting.
The only barriers that can stop you are the ones you create yourself.

Offline batnas

  • Full Member
  • ***
  • Posts: 122
Re: appbrowser-cli patch
« Reply #4 on: March 26, 2010, 04:22:59 PM »
Your welcome ;)