114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
-
+
-
+
|
static int CopyHostent(struct hostent *tgtPtr, char *buf,
int buflen);
static int CopyString(const char *src, char *buf, int buflen);
#endif
#ifdef NEED_PW_CLEANER
static void FreePwBuf(ClientData dummy);
static void FreePwBuf(void *dummy);
#endif
#ifdef NEED_GR_CLEANER
static void FreeGrBuf(ClientData dummy);
static void FreeGrBuf(void *dummy);
#endif
#endif /* TCL_THREADS */
/*
*---------------------------------------------------------------------------
*
* TclUnixSetBlockingMode --
|
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
|
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
|
-
+
|
*
*---------------------------------------------------------------------------
*/
#ifdef NEED_PW_CLEANER
static void
FreePwBuf(
TCL_UNUSED(ClientData))
TCL_UNUSED(void *))
{
ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&dataKey);
ckfree(tsdPtr->pbuf);
}
#endif /* NEED_PW_CLEANER */
|
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
|
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
|
-
+
|
*
*---------------------------------------------------------------------------
*/
#ifdef NEED_GR_CLEANER
static void
FreeGrBuf(
TCL_UNUSED(ClientData))
TCL_UNUSED(void *))
{
ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&dataKey);
ckfree(tsdPtr->gbuf);
}
#endif /* NEED_GR_CLEANER */
|