Skip to content

Commit

Permalink
Append vim modeline to not expand tabs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Donnelly committed Oct 30, 2013
1 parent 1567e27 commit b450542
Show file tree
Hide file tree
Showing 261 changed files with 510 additions and 24 deletions.
2 changes: 2 additions & 0 deletions allpairs/src.tpds/allpairs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1438,3 +1438,5 @@ int main(int argc, char** argv)

/* condor_wait -num $jobcount $dir/$fname.logfile #wait again, just for the fun of it. */


/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions allpairs/src.tpds/allpairs_cleanup.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,3 +306,5 @@ int main(int argc, char** argv) {
return 0;

}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions allpairs/src.tpds/allpairs_status.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,5 @@ int main(int argc, char** argv) {
}
return 0;
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions allpairs/src.tpds/allpairs_wait.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ int main(int argc, char** argv) {
system(command);
return 0;
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions allpairs/src.tpds/allpairs_wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,5 @@ rm -rf ./parrotdir


exit $retval

# vim: set noexpandtab tabstop=4:
2 changes: 2 additions & 0 deletions allpairs/src/allpairs_compare.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,3 +215,5 @@ allpairs_compare_t allpairs_compare_function_get( const char *name )
}
}


/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions allpairs/src/allpairs_master.c
Original file line number Diff line number Diff line change
Expand Up @@ -448,3 +448,5 @@ int main(int argc, char **argv)

return 0;
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions allpairs/src/allpairs_multicore.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,3 +358,5 @@ int main(int argc, char *argv[])

return result;
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions allpairs/test/TR_allpairs_bitwise.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,5 @@ clean()
}

dispatch $@

# vim: set noexpandtab tabstop=4:
2 changes: 2 additions & 0 deletions allpairs/test/TR_allpairs_composite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,5 @@ clean()
}

dispatch $@

# vim: set noexpandtab tabstop=4:
2 changes: 2 additions & 0 deletions allpairs/test/divisible.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ else
fi

exit 0

# vim: set noexpandtab tabstop=4:
2 changes: 2 additions & 0 deletions allpairs/test/gen_ints.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ while [ $I -lt $N ]; do
I=$((I+1))
done


# vim: set noexpandtab tabstop=4:
2 changes: 2 additions & 0 deletions allpairs/test/lc_compare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ lc_b=$(wc -l "$2" | awk '{print $1}')

echo $(($lc_a - $lc_b))
exit 0

# vim: set noexpandtab tabstop=4:
2 changes: 2 additions & 0 deletions apps/atlas/atlas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ JOBOPTSEARCHPATH=/cvmfs/atlas.cern.ch/repo/sw/Generators/MC12JobOptions/latest/s
echo "running simulation"
Generate_trf.py ecmEnergy=8000. runNumber=105144 firstEvent=1 maxEvents=10 randomSeed=1324354657 jobConfig=MC12.147816.Pythia8_AU2CTEQ6L1_Zee.py outputEVNTFile=pythia.EVNT.pool.root


# vim: set noexpandtab tabstop=4:
2 changes: 2 additions & 0 deletions apps/atlas/parrot.atlas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ export HTTP_PROXY=http://cache01.hep.wisc.edu:3128
export PARROT_CVMFS_REPO='*.cern.ch:pubkey=<BUILTIN-cern.ch.pub>,url=http://cvmfs-stratum-one.cern.ch/opt/*;http://cernvmfs.gridpp.rl.ac.uk/opt/*;http://cvmfs.racf.bnl.gov/opt/* atlas-nightlies.cern.ch:url=http://cvmfs-atlas-nightlies.cern.ch/cvmfs/atlas-nightlies.cern.ch,pubkey=<BUILTIN-cern.ch.pub>'

parrot_run ./atlas.sh

# vim: set noexpandtab tabstop=4:
2 changes: 2 additions & 0 deletions apps/cms/cmsjob.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ cd ${CMS_VERSION}
eval `scram runtime -sh`
cd ..
cmsDriver.py TTbar_Tauola_7TeV_cfi --conditions auto:startup -s GEN,SIM --datatier GEN-SIM -n 0 --relval 9000,50 --eventcontent RAWSIM --no_output

# vim: set noexpandtab tabstop=4:
2 changes: 2 additions & 0 deletions apps/cms/parrot.cmsjob.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ export CMS_VERSION=CMSSW_5_3_11
export SCRAM_ARCH=slc5_amd64_gcc462

parrot_run -M /cvmfs/cms.cern.ch/SITECONF/local=`pwd`/SITECONF/local ./cmsjob.sh

# vim: set noexpandtab tabstop=4:
2 changes: 2 additions & 0 deletions biotools/wq_sort.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,3 +312,5 @@ int main(int argc, char *argv[])
work_queue_delete(q);
return 0;
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/auth.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,3 +204,5 @@ void auth_clear()
list = n;
}
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/auth_address.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,5 @@ int auth_address_register(void)
debug(D_AUTH, "address: registered");
return auth_register("address", auth_address_assert, auth_address_accept);
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/auth_all.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ int auth_register_all(void)
{
return auth_kerberos_register() + auth_globus_register() + auth_unix_register() + auth_ticket_register() + auth_hostname_register() + auth_address_register();
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/auth_globus.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,3 +205,5 @@ void auth_globus_use_delegated_credential(int yesno)
}

#endif

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/auth_hostname.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,5 @@ int auth_hostname_register(void)
debug(D_AUTH, "hostname: registered");
return auth_register("hostname", auth_hostname_assert, auth_hostname_accept);
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/auth_kerberos.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,3 +222,5 @@ int auth_kerberos_register(void)
}

#endif

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/auth_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,5 @@ int main(int argc, char *argv[])

return 0;
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/auth_ticket.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,3 +295,5 @@ void auth_ticket_load(const char *tickets)
sort_dir_free(list);
}
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/auth_unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,3 +224,5 @@ int auth_unix_register(void)
debug(D_AUTH, "unix: registered");
return auth_register("unix", auth_unix_assert, auth_unix_accept);
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/b64_encode.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@ int b64_encode(const char *input, int len, char *output, int buf_len)

return 0;
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/benchmark.master.location.sh
Original file line number Diff line number Diff line change
Expand Up @@ -336,3 +336,5 @@ run_experiment "remote"

mv *.makeflow $projresult/


# vim: set noexpandtab tabstop=4:
3 changes: 2 additions & 1 deletion dttools/src/bitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -707,5 +707,6 @@ int bitmap_save_jpeg(struct bitmap *m, const char *path)
return 1;
}


#endif /* */

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,3 +163,5 @@ void buffer_rewind(buffer_t * b, size_t n)
b->end = b->buf+n;
b->end[0] = '\0';
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/catalog_query.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ void catalog_query_delete(struct catalog_query *q)
link_close(q->link);
free(q);
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/catalog_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -713,3 +713,5 @@ int main(int argc, char *argv[])

return 1;
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 1 addition & 1 deletion dttools/src/catalog_update.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,4 @@ int main(int argc, char *argv[]) {
return EXIT_SUCCESS;
}

/* vim: set sts=8 sw=8 ts=8 ft=c: */
/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/cctools.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ void cctools_version_debug (int type, const char *cmd)
debug(type, "System: %s", CCTOOLS_SYSTEM_INFORMATION);
debug(type, "Configuration: %s", CCTOOLS_CONFIGURE_ARGUMENTS);
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/change_process_title.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,5 @@ void change_process_title(char *fmt, ...)
}

#endif

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/chunk.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,3 +197,5 @@ int chunk_concat(const char *new_name, const char * const *filenames, int num_fi

return 1;
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/clean_dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,5 @@ int clean_dir(const char *dirname, const char *delete_pattern)

return 1;
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/console_login.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,5 @@ int console_input(const char *prompt, char *buf, int buflen)
{
return do_getline(prompt, buf, buflen, 0);
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/copy_stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,3 +277,5 @@ int copy_file_to_buffer(const char *filename, char **buffer)

return count;
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/create_dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,5 @@ int create_dir(const char *path, int mode)
free(temp);
return 1;
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/daemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,5 @@ void daemonize (int cdroot, const char *pidfile)
exit(EXIT_FAILURE);
}
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/datagram.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,3 +163,5 @@ int datagram_fd(struct datagram *d)
{
return d->fd;
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,3 +316,5 @@ void debug_flags_restore(INT64_T fl)
{
debug_flags = fl;
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/delete_dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,5 @@ int delete_dir_contents(const char *dirname) {
closedir(dir);
return result;
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/disk_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,5 @@ int disk_info_get(const char *path, UINT64_T * avail, UINT64_T * total)
return 0;
#endif
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/display_size.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ char * human_readable_size(UINT64_T size){
strcpy(result, "0");
return result;
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/domain_name.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,5 @@ int domain_name_lookup(const char *name, char *addr)

return 1;
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/domain_name_cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,3 +185,5 @@ int domain_name_cache_guess_short(char *name)

return 1;
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/dpopen.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,5 @@ int dpclose(FILE * in, FILE * out, pid_t pid)
}
}
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/envtools.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@ int find_executable(const char *exe_name, const char *env_path_var, char *exe_pa

return cur_path != NULL;
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/fast_popen.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,5 @@ int fast_pclose(FILE * file)
errno = ECHILD;
return -1;
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/file_cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,3 +279,5 @@ int file_cache_commit(struct file_cache *f, const char *path, const char *txn)
debug(D_CACHE, "commit failed: %s", strerror(errno));
return result;
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/full_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,3 +293,5 @@ ssize_t full_fwrite(FILE * file, const void *buf, size_t count)
}
}
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/get_canonical_path.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,5 @@ int get_canonical_path(const char *path, char *canonical, int length)
errno = save_errno;
return result;
}

/* vim: set noexpandtab tabstop=4: */
3 changes: 1 addition & 2 deletions dttools/src/get_line.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,4 @@ char *get_line(FILE * fp)
}
}



/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/getopt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1174,3 +1174,5 @@ main (int argc, char **argv)
#endif /* TEST */

#endif /* ! CCTOOLS_OPSYS_DARWIN */

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/getopt_aux.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ void opts_write_port_file(const char *port_file, const int port)
fclose(file);
}
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/hash_cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,5 @@ int hash_cache_nextkey(struct hash_cache *cache, char **key, void **item)

return 0;
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/hash_table.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,3 +369,5 @@ unsigned hash_string(const char *s)
{
return jenkins_hash((const ub1 *) s, strlen(s), 0);
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/hmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,5 @@ int hmac_sha1(const char *text, int text_len, const char *in_key, int in_key_len
{
return hmac(text, text_len, in_key, in_key_len, digest, SHA1_DIGEST_LENGTH, SHA1_BLOCK_SIZE, &sha1_buffer);
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/http_query.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,3 +229,5 @@ INT64_T http_fetch_to_file(const char *url, const char *filename, time_t stoptim
}

}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/itable.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,3 +233,5 @@ int itable_nextkey(struct itable *h, UINT64_T * key, void **value)
return 0;
}
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/link.c
Original file line number Diff line number Diff line change
Expand Up @@ -1128,3 +1128,5 @@ int link_poll(struct link_info *links, int nlinks, int msec)

return result;
}

/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/link_auth.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,5 @@ int link_auth_password( struct link *link, const char *password, time_t stoptime
return 0;
}


/* vim: set noexpandtab tabstop=4: */
2 changes: 2 additions & 0 deletions dttools/src/link_nvpair.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,5 @@ void link_nvpair_write( struct link *l, struct nvpair *nv, time_t stoptime )
link_write(l,"\n",1,stoptime);
free(text);
}

/* vim: set noexpandtab tabstop=4: */
Loading

0 comments on commit b450542

Please sign in to comment.