Skip to content

Commit 4089619

Browse files
committed
Fix typos
1 parent 15846ff commit 4089619

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/standard/basic_functions.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ PHP_FUNCTION(getenv)
757757
/* SAPI method returns an emalloc()'d string */
758758
ptr = sapi_getenv(str, str_len);
759759
if (ptr) {
760-
// TODO: avoid realocation ???
760+
// TODO: avoid reallocation ???
761761
RETVAL_STRING(ptr);
762762
efree(ptr);
763763
return;
@@ -775,7 +775,7 @@ PHP_FUNCTION(getenv)
775775
}
776776

777777
SetLastError(0);
778-
/*If the given bugger is not large enough to hold the data, the return value is
778+
/*If the given buffer is not large enough to hold the data, the return value is
779779
the buffer size, in characters, required to hold the string and its terminating
780780
null character. We use this return value to alloc the final buffer. */
781781
size = GetEnvironmentVariableW(keyw, &dummybuf, 0);

0 commit comments

Comments
 (0)