Remove useless spaces inside of braces "( stuff )"

This was generated via the following command:

  cat <file> | \
  tr "\n" "€"| \
  sed -r 's/€[\t ]*\{€/ {€/g; s/\( */(/g; s/ *\)/)/g' | \
  tr "€" "\n"

Thanks to SilverLeo for producing this mess :P


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1029 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-04-20 13:00:19 +00:00
parent 0470977497
commit b0a1714b86
18 changed files with 1017 additions and 1018 deletions
+7 -8
View File
@@ -313,7 +313,7 @@ bool CFile::ReadLine(CString& sData, const CString & sDelimiter) {
return true;
}
if( bEOF && m_sBuffer.size() ) {
if (bEOF && m_sBuffer.size()) {
sData = m_sBuffer;
m_sBuffer.clear();
return true;
@@ -411,14 +411,13 @@ int CExecSock::popen2(int & iReadFD, int & iWriteFD, const CString & sCommand) {
}
void CExecSock::close2(int iPid, int iReadFD, int iWriteFD) {
close( iReadFD );
close( iWriteFD );
u_int iNow = time( NULL );
while( waitpid( iPid, NULL, WNOHANG ) == 0 )
{
if ( ( time( NULL ) - iNow ) > 5 )
close(iReadFD);
close(iWriteFD);
u_int iNow = time(NULL);
while (waitpid(iPid, NULL, WNOHANG) == 0) {
if ((time(NULL) - iNow) > 5)
break; // giveup
usleep( 100 );
usleep(100);
}
return;
}