diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2017-04-20 22:46:50 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2017-04-20 22:46:50 +0000 |
commit | ba0b4e1aa239457bcf5d99aa694fb803d3cc80a3 (patch) | |
tree | 7a54d34a99febb6ff52485f22e3ded8f61c73748 /lib/libsystem_dummy.c | |
parent | a35cb3047edcfb17d6b45275a38a51cb38c81158 (diff) | |
download | netpbm-mirror-ba0b4e1aa239457bcf5d99aa694fb803d3cc80a3.tar.gz netpbm-mirror-ba0b4e1aa239457bcf5d99aa694fb803d3cc80a3.tar.xz netpbm-mirror-ba0b4e1aa239457bcf5d99aa694fb803d3cc80a3.zip |
Fix silent failure of pm_system_lp, pm_system_vp on Windows
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2959 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/libsystem_dummy.c')
-rw-r--r-- | lib/libsystem_dummy.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/lib/libsystem_dummy.c b/lib/libsystem_dummy.c index c89b4d5d..97dd8984 100644 --- a/lib/libsystem_dummy.c +++ b/lib/libsystem_dummy.c @@ -21,6 +21,12 @@ pm_system_vp(const char * const progName, void * const feederParm, void stdoutAccepter(int, void *), void * const accepterParm) { + + pm_error("This program wants to run another program using pm_system_vp() " + "in the libnetpbm library, but libnetpbm was built without " + "the pm_system_vp() facility -- probably because this system " + "doesn't have the process management facilities pm_system() " + "requires."); } void @@ -30,6 +36,12 @@ pm_system_lp(const char * const progName, void stdoutAccepter(int, void *), void * const accepterParm, ...) { + + pm_error("This program wants to run another program using pm_system_lp() " + "in the libnetpbm library, but libnetpbm was built without " + "the pm_system_lp() facility -- probably because this system " + "doesn't have the process management facilities pm_system() " + "requires."); } void @@ -39,8 +51,8 @@ pm_system(void stdinFeeder(int, void *), void * const accepterParm, const char * const shellCommand) { - pm_error("This program wants to run another program using pm_system() in " - "the libnetpbm library, but libnetpbm was built without " + pm_error("This program wants to run another program using pm_system() " + "in the libnetpbm library, but libnetpbm was built without " "the pm_system() facility -- probably because this system " "doesn't have the process management facilities pm_system() " "requires."); |