Rev 6347 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6347 | Rev 6386 | ||
---|---|---|---|
Line 113... | Line 113... | ||
113 | printf("failed\n"); |
113 | printf("failed\n"); |
114 | } |
114 | } |
115 | printf("Setting FIRST=VALUE1 in the environment... "); |
115 | printf("Setting FIRST=VALUE1 in the environment... "); |
116 | fflush(stdout); |
116 | fflush(stdout); |
117 | if ( sdlputenv("FIRST=VALUE1") == 0 ) { |
117 | if ( putenv("FIRST=VALUE1") == 0 ) { |
118 | printf("okay\n"); |
118 | printf("okay\n"); |
119 | } else { |
119 | } else { |
120 | printf("failed\n"); |
120 | printf("failed\n"); |
121 | } |
121 | } |
122 | printf("Getting FIRST from the environment... "); |
122 | printf("Getting FIRST from the environment... "); |
123 | fflush(stdout); |
123 | fflush(stdout); |
Line 128... | Line 128... | ||
128 | printf("failed\n"); |
128 | printf("failed\n"); |
129 | } |
129 | } |
130 | printf("Setting SECOND=VALUE2 in the environment... "); |
130 | printf("Setting SECOND=VALUE2 in the environment... "); |
131 | fflush(stdout); |
131 | fflush(stdout); |
132 | if ( sdlputenv("SECOND=VALUE2") == 0 ) { |
132 | if ( putenv("SECOND=VALUE2") == 0 ) { |
133 | printf("okay\n"); |
133 | printf("okay\n"); |
134 | } else { |
134 | } else { |
135 | printf("failed\n"); |
135 | printf("failed\n"); |
136 | } |
136 | } |
137 | printf("Getting SECOND from the environment... "); |
137 | printf("Getting SECOND from the environment... "); |
138 | fflush(stdout); |
138 | fflush(stdout); |
Line 143... | Line 143... | ||
143 | printf("failed\n"); |
143 | printf("failed\n"); |
144 | } |
144 | } |
145 | printf("Setting FIRST=NOVALUE in the environment... "); |
145 | printf("Setting FIRST=NOVALUE in the environment... "); |
146 | fflush(stdout); |
146 | fflush(stdout); |
147 | if ( sdlputenv("FIRST=NOVALUE") == 0 ) { |
147 | if ( putenv("FIRST=NOVALUE") == 0 ) { |
148 | printf("okay\n"); |
148 | printf("okay\n"); |
149 | } else { |
149 | } else { |
150 | printf("failed\n"); |
150 | printf("failed\n"); |
151 | } |
151 | } |
152 | printf("Getting FIRST from the environment... "); |
152 | printf("Getting FIRST from the environment... "); |
153 | fflush(stdout); |
153 | fflush(stdout); |