Bug 39867 - apr_env_* methods should return APR_ENOTIMPL for WinCE
Summary: apr_env_* methods should return APR_ENOTIMPL for WinCE
Status: RESOLVED FIXED
Alias: None
Product: APR
Classification: Unclassified
Component: APR (show other bugs)
Version: HEAD
Hardware: Other Windows CE
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache Portable Runtime bugs mailinglist
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2006-06-22 16:44 UTC by Curt Arnold
Modified: 2007-05-31 17:05 UTC (History)
0 users



Attachments
Return APR_ENOTIMPL for apr_env_get, set, delete on WinCE (1.36 KB, patch)
2006-06-22 16:46 UTC, Curt Arnold
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Curt Arnold 2006-06-22 16:44:58 UTC
Windows CE does not have the concept of environment variables or the Win32 API
methods of GetEnvironmentVariable and SetEnvironmentVariable.  The attached
patch causes apr_env_get, apr_env_set and apr_env_delete to return APR_ENOTIMPL
on Windows CE.
Comment 1 Curt Arnold 2006-06-22 16:46:08 UTC
Created attachment 18505 [details]
Return APR_ENOTIMPL for apr_env_get, set, delete on WinCE
Comment 2 William A. Rowe Jr. 2006-09-19 19:54:43 UTC
Mass reassign the 44 open apr-bugs to apr bug list
Comment 3 Davi Arnaut 2007-04-29 15:00:49 UTC
It compiles and builds fine on VS C++ 6.0
Comment 4 William A. Rowe Jr. 2007-05-31 17:05:58 UTC
Committing this as 543329.  My only question - should we accept the _get flavor 
and simply return APR_ENOENT or similar (since there is nothing to search?)

It seems like this would be less painful to porters.