Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.os2.programmer.misc > #1435

Re: Change of string parsing in libc066

From KO Myung-Hun <komh@chollian.net>
Newsgroups comp.os.os2.programmer.misc
Subject Re: Change of string parsing in libc066
Date 2014-11-04 14:50 +0900
Organization hanarotelecom
Message-ID <54586928.6050803@chollian.net> (permalink)
References <bKudnfeu496PWsrJnZ2dnUU7-b-dnZ2d@giganews.com>

Show all headers | View raw


Hi/2.

James Moe wrote:
> 
> Hello,
>   I installed libc066.dll and its supporting referrers. It has broken
> important parts of PMMail, and, I suspect, other programs.
>   In particular lib functions like system() and remove() process the
> input string differently. Previously, a string like
> 
> D:\usr\bin\gpg.exe --version 1> gpg.ver
> 
> was passed through unchanged. Now it becomes
> 
> D:usrbingpg.exe --version 1> gpg.ver
> 
>   Obviously a problem. I could, of course, write wrappers for all of
> those lib functions affected, but why should I?
>   Is the modified parsing intentional?
> 

libc066 changed the way to find a default shell. If you set UNIXROOT,
libc066 find /bin/sh first.

To avoid, there are two ways.

First, unset UNIXROOT in your program.
Second, prepend "cmd /c " to your string.

If you think this is wrong, open a ticket for kLIBC. And see
http://trac.netlabs.org/libc/ticket/287 first.

Back to comp.os.os2.programmer.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Change of string parsing in libc066 James Moe <jimoeDESPAM@sohnen-moe.com> - 2014-11-03 11:18 -0700
  Re: Change of string parsing in libc066 KO Myung-Hun <komh@chollian.net> - 2014-11-04 14:50 +0900
    Re: Change of string parsing in libc066 James Moe <jimoeDESPAM@sohnen-moe.com> - 2014-11-03 23:44 -0700
      Re: Change of string parsing in libc066 "A.D. Fundum" <what.ever@neverm.ind> - 2014-11-04 13:14 +0100
      Re: Change of string parsing in libc066 KO Myung-Hun <komh@chollian.net> - 2014-11-05 00:43 +0900
    Re: Change of string parsing in libc066 James Moe <jimoeDESPAM@sohnen-moe.com> - 2014-11-04 10:28 -0700
      Re: Change of string parsing in libc066 "Doug Bissett" <dougb007!SPAM@telus.net> - 2014-11-04 18:58 +0000
        Re: Change of string parsing in libc066 James Moe <jimoeDESPAM@sohnen-moe.com> - 2014-11-04 14:14 -0700
      Re: Change of string parsing in libc066 KO Myung-Hun <komh@chollian.net> - 2014-11-05 10:03 +0900
    Re: Change of string parsing in libc066 James Moe <jimoeDESPAM@sohnen-moe.com> - 2014-11-05 18:09 -0700
      Re: Change of string parsing in libc066 KO Myung-Hun <komh@chollian.net> - 2014-11-06 13:05 +0900
      Re: Change of string parsing in libc066 James Moe <jimoeDESPAM@sohnen-moe.com> - 2014-11-06 13:37 -0700
      Re: Change of string parsing in libc066 Dave Yeo <dave.r.yeo@gmail.com> - 2014-11-06 20:35 -0800

csiph-web