Fix minor typos in code comments

darcs-hash:20060605004201-ac50b-66c51908cd1f23307042991b32ccbed487685500.gz
This commit is contained in:
axel 2006-06-05 10:42:01 +10:00
parent 04b142208d
commit d2bd3e4919
2 changed files with 8 additions and 6 deletions

View file

@ -1363,8 +1363,10 @@ static void parse_job_main_loop( process_t *p,
/* /*
Test if this is the 'count' command. We need to special case Test if this is the 'count' command. We need to special case
count, since it should display a help message on 'count .h', count in the shell, since it should display a help message on
but not on 'set foo -h; count $foo'. 'count -h', but not on 'set foo -h; count $foo'. This is an ugly
workaround and a huge hack, but as near as I can tell, the
alternatives are worse.
*/ */
if( p->actual_cmd ) if( p->actual_cmd )
{ {
@ -2810,7 +2812,7 @@ int parser_test_args(const wchar_t * buff,
int parser_test( const wchar_t * buff, int parser_test( const wchar_t * buff,
string_buffer_t *out, string_buffer_t *out,
const wchar_t *prefix) const wchar_t *prefix )
{ {
tokenizer tok; tokenizer tok;
/* /*

6
proc.h
View file

@ -291,15 +291,15 @@ int job_is_completed( const job_t *j );
void job_continue( job_t *j, int cont ); void job_continue( job_t *j, int cont );
/** /**
Notify user of nog events. Notify the user about stopped or Notify the user about stopped or terminated jobs. Delete terminated
terminated jobs. Delete terminated jobs from the active job list. jobs from the job list.
\param interactive whether interactive jobs should be reaped as well \param interactive whether interactive jobs should be reaped as well
*/ */
int job_reap( int interactive ); int job_reap( int interactive );
/** /**
Signal handler for SIGCHLD. Mark any processes with relevant Signal handler for SIGCHLD. Mark any processes with relevant
information. information.
*/ */
void job_handle_signal( int signal, siginfo_t *info, void *con ); void job_handle_signal( int signal, siginfo_t *info, void *con );