Commit Graph

26 Commits

Author SHA1 Message Date
Stefan Seyfried
d77e54fcd6 my_system: return errno, silence trivial error message 2013-03-09 18:08:23 +01:00
Stefan Seyfried
96650cdd45 helpers: improve my_system function
Instead of hardcoding the maximum number of arguments to the
my_system helper, pass a variable argument list.
The function is deliberately source-incompatible with the old
implementation (as opposed to a variant with a sentinel NULL
argument, which would be compatible) to find all users and to
make sure that new future users of this function are not
overlooked during merges with other branches.
2013-03-03 19:18:13 +01:00
Stefan Seyfried
b37a778012 my_system/my_popen: detach the children from neutrino's terminal 2013-03-02 20:01:24 +01:00
Stefan Seyfried
5b72a7fe3c make the extupdate build conditional
extupdate is not very useful for most platforms, so only
build it if --enable-extupdate is passed to configure
2013-02-22 17:14:38 +01:00
Stefan Seyfried
c83a35ebfc my_popen: close filedescriptors before exec 2013-02-20 15:20:55 +01:00
Stefan Seyfried
7e701bfefc Merge branch 'uncool/dvbsi++' commit 1320462626
Conflicts:
	src/eitd/SIevents.cpp
2013-01-29 21:27:41 +01:00
Thilo Graf
9939fc9197 extended update: move ext_update.* to update_ext.*
Beware the canonical order of filenames.
2013-01-14 15:31:43 +01:00
Stefan Seyfried
8d69036be5 Merge branch 'uncool/dvbsi++' commit 3bbaddec39
Conflicts:
	src/driver/framebuffer.cpp
2013-01-03 09:46:11 +01:00
micha-bbg
6e1a2dc9cd * system/helpers.cpp: Adding value 'bsize' as a possible return value 2013-01-01 15:05:21 +01:00
Stefan Seyfried
e5e7d52fa1 Merge branch 'uncool/dvbsi++'
Conflicts:
	data/icons/border_lr.png
	data/icons/border_ul.png
	src/driver/rcinput.cpp
	src/driver/streamts.cpp
	src/system/setting_helpers.cpp
2012-11-23 18:45:22 +01:00
micha-bbg
cddf86725d * Software Update with apply the settings (Part10)
- Blacklist added to exclude files
- Files are marked by a prefixed '-' in the settingsupdate.conf
2012-11-11 08:11:49 +01:00
Stefan Seyfried
e0acbd3ddb neutrino: fix 32<->64bit format string warnings
use portable C99 format string macros for 64bit types to
fix many warnings when compiling for 64bit architectures,
add some (int) casts for size_t
2012-11-03 14:05:48 +01:00
satbaby
a03445fe40 src/system/helpers.cpp: fix resource leak ,use new instead of malloc 2012-10-26 23:16:30 +02:00
micha-bbg
37c4b21ac3 * Fix compiler warning
"missing sentinel functions call" in src/system/helpers.cpp
2012-10-25 01:10:35 +01:00
micha-bbg
690786c37c * Add file/directory functions to src/system/helpers.cpp
- Required for 'update with settings'
2012-10-25 01:10:35 +01:00
svenhoefer
7c01980e94 - system/helpers: rework get_fs_usage()
also comment some unuses variables in src/infoviever_bb.{h,cpp}
2012-09-27 12:22:33 +02:00
[CST] Focus
108ee92618 system/helpers.cpp: fix check_dir - we use it to check for record, last change allow recording to jffs2 2012-09-21 18:44:47 +04:00
[CST] Focus
5dc2656b8e system/helpers.cpp: add function to get total/free mem without cached/buffers 2012-09-21 17:41:28 +04:00
svenhoefer
87f7a224f7 - infoviewerbb: determination of hdd-percentage in a seperate thread 2012-09-19 21:23:50 +02:00
svenhoefer
acaf807bbb - helpers.cpp: fix errorlevel of child-process; whitespace cleanup 2012-09-15 21:26:12 +02:00
satbaby
bf1f9afc8d oops 2012-09-15 15:33:50 +02:00
satbaby
87342fd0d9 my_system fix 2012-09-15 11:20:49 +02:00
satbaby
c6ae7255ac -add wakeup_hdd & file_exists to system-helpers 2012-09-11 20:35:47 +02:00
satbaby
dfa3231469 move safe_mkdir & check_dir to system-helpers 2012-09-11 20:34:53 +02:00
svenhoefer
ae73a950eb - system/helpers.h|cpp: change header 2012-08-30 09:30:14 +02:00
FlatTV
b92660259c Add global helpers my_system() and my_popen() 2012-08-30 09:28:54 +02:00