search for: pathstr

Displaying 4 results from an estimated 4 matches for "pathstr".

Did you mean: path_str
2001 Feb 26
0
Problems with OpenSSH 2.5.1p1 on Solaris 8
...ed(S_UFSIZE_HARD) && defined(S_UFSIZE) # define S_UFSIZE_HARD S_UFSIZE "_hard" @@ -1173,6 +1177,12 @@ #endif if (!options.use_login) { +#ifdef HAVE_ETC_DEFAULT_LOGIN + int fd, pagesize; + struct stat inode; + char *onemore = MAP_FAILED, *logstr = MAP_FAILED; + char *pathstr; +#endif /* Set basic environment. */ child_set_env(&env, &envsize, "USER", pw->pw_name); child_set_env(&env, &envsize, "LOGNAME", pw->pw_name); @@ -1188,7 +1198,83 @@ * needed for loading shared libraries. So the path better * remains inta...
2011 Sep 01
3
[LLVMdev] [cfe-dev] Unicode path handling on Windows
...e "wmain(argc, wchar_t **argv)". mingw does not have one. Then, argv must be presented as the default codepage. - A few codepage (eg. cp932 Japanese shift jis) might contain 0x5C(\) in 2nd (leading) octet. Win32 ANSI (****A) APIs assume local codepage. We should do in llvm; - Treat pathstring in argv as blackbox. Never parse (char*)pathstring without any knowledge. - UTF8 would be useless on win32. Win32 does not manipulate utf8 implicitly in anywhere. - Path API should hold pathstring as API-native form (bytestream on unix, UCS2 wchar_t on win32). - Path should be manipulated...
2011 Sep 01
0
[LLVMdev] [cfe-dev] Unicode path handling on Windows
...rt for wmain (but of course it would be better to shift this to strict API functions) > - A few codepage (eg. cp932 Japanese shift jis) might contain > 0x5C(\) in 2nd (leading) octet. > > Win32 ANSI (****A) APIs assume local codepage. > > We should do in llvm; > > - Treat pathstring in argv as blackbox. Never parse > (char*)pathstring without any knowledge. > - UTF8 would be useless on win32. Win32 does not manipulate utf8 > implicitly in anywhere. > - Path API should hold pathstring as API-native form (bytestream on > unix, UCS2 wchar_t on win32). > -...
2009 Jul 17
3
[LLVMdev] [PATCH 1/2] Trailing whitespace.
...specific portion of the Program class. @@ -51,10 +51,10 @@ Program::FindProgramByName(const std::string& progName) { return temp; // At this point, the file name is valid and its not executable - + // Get the path. If its empty, we can't do anything to find it. const char *PathStr = getenv("PATH"); - if (PathStr == 0) + if (PathStr == 0) return Path(); // Now we have a colon separated list of directories to search; try them. @@ -142,14 +142,14 @@ static void SetMemoryLimits (unsigned size) #endif } -int -Program::ExecuteAndWait(const Path& pat...