- Timestamp:
- Dec 18, 2005 12:28:07 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gmake/kmkbuiltin.c
r376 r377 162 162 { 163 163 const char *pszCmd = argv[0]; 164 int iumask; 164 165 int rc; 165 166 … … 177 178 * String switch on the command. 178 179 */ 180 iumask = umask(0); 181 umask(iumask); 179 182 if (!strcmp(pszCmd, "append")) 180 183 rc = kmk_builtin_append(argc, argv, environ); … … 202 205 } 203 206 g_progname = "kmk"; /* paranoia, make sure it's not pointing at a freed argv[0]. */ 207 umask(iumask); 204 208 return rc; 205 209 }
Note:
See TracChangeset
for help on using the changeset viewer.